/* Thiệp quà Giao Duyên – trang tạo thiệp & nhận quà */

.gd-gc {
  --gg-wine: #7d2028;
  --gg-wine-dark: #5f141c;
  --gg-red: #6b1016;
  --gg-gold: #d1a24c;
  --gg-ink: #211b18;
  --gg-muted: #70655e;
  --gg-line: #e8ded0;
  --gg-cream: #fbf7ef;
  max-width: 1160px;
  margin: 0 auto;
  padding: 52px 20px 80px;
  color: var(--gg-ink);
  font-family: var(--gd-sans, "Be Vietnam Pro", sans-serif);
}

.gd-gc h1,
.gd-gc h2 {
  font-family: "Cormorant Garamond", var(--gd-display, "Playfair Display"), serif;
  font-weight: 600;
  letter-spacing: 0;
}

.gd-gc h2 {
  margin: 0 0 14px;
  color: var(--gg-wine);
  font-size: 26px;
  line-height: 1.25;
}

/* Hero */
.gd-gc-hero {
  max-width: 860px;
  margin: 0 auto 36px;
  text-align: center;
}

.gd-gc-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 14px;
  color: #9f2528;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.gd-gc-eyebrow > span {
  width: 28px;
  height: 1px;
  background: currentColor;
}

.gd-gc-hero h1 {
  margin: 0 0 14px;
  color: var(--gg-wine);
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.1;
}

.gd-gc-hero > p {
  margin: 0 auto 26px;
  max-width: 680px;
  color: var(--gg-muted);
  font-size: 15.5px;
  line-height: 1.75;
}

.gd-gc-how {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.gd-gc-how li {
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--gg-line);
  border-radius: 16px;
  background: #fff;
}

.gd-gc-how b {
  display: inline-flex;
  flex: 0 0 32px;
  align-items: center;
  justify-content: center;
  height: 32px;
  border-radius: 999px;
  background: var(--gg-red);
  color: #f5e3c3;
  font-size: 14px;
}

.gd-gc-how span {
  color: var(--gg-muted);
  font-size: 13px;
  line-height: 1.5;
}

.gd-gc-how strong {
  display: block;
  color: var(--gg-ink);
  font-size: 14.5px;
}

/* Khung form + các bước */
.gd-gc-form {
  padding: 28px 30px 30px;
  border: 1px solid var(--gg-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(63, 39, 25, .07);
  scroll-margin-top: 100px;
}

.gd-gc-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.gd-gc-steps {
  display: none;
  gap: 8px;
  margin: 0 0 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--gg-line);
}

.gd-gc-form.is-js .gd-gc-steps {
  display: flex;
}

.gd-gc-steps button {
  display: inline-flex;
  flex: 1 1 0;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid var(--gg-line) !important;
  border-radius: 12px;
  background: #fff !important;
  box-shadow: none !important;
  color: var(--gg-muted) !important;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
}

.gd-gc-steps button b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--gg-cream);
  color: var(--gg-muted);
  font-size: 12px;
}

.gd-gc-steps button.is-active {
  border-color: var(--gg-wine) !important;
  color: var(--gg-wine) !important;
}

.gd-gc-steps button.is-active b,
.gd-gc-steps button.is-done b {
  background: var(--gg-wine);
  color: #fff;
}

.gd-gc-form.is-js .gd-gc-panel {
  display: none;
}

.gd-gc-form.is-js .gd-gc-panel.is-active {
  display: block;
  animation: gd-gc-in .3s ease;
}

.gd-gc-form:not(.is-js) .gd-gc-panel + .gd-gc-panel {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--gg-line);
}

@keyframes gd-gc-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.gd-gc-help {
  margin: -6px 0 16px;
  color: var(--gg-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* Dịp tặng */
.gd-gc-occasions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 30px;
}

.gd-gc-occasion {
  margin: 0;
  cursor: pointer;
}

.gd-gc-occasion input,
.gd-gc-chip input,
.gd-gc-product input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.gd-gc-occasion__card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  min-height: 118px;
  padding: 16px;
  border: 2px solid transparent;
  border-radius: 16px;
  color: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
}

.gd-gc-occasion__card em {
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .85;
}

.gd-gc-occasion__card strong {
  font-family: "Cormorant Garamond", var(--gd-display, "Playfair Display"), serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.15;
}

.gd-gc-occasion input:checked + .gd-gc-occasion__card {
  border-color: var(--gg-gold);
  box-shadow: 0 0 0 3px rgba(209, 162, 76, .35), 0 12px 26px rgba(63, 39, 25, .18);
  transform: translateY(-2px);
}

.gd-gc-occasion input:focus-visible + .gd-gc-occasion__card {
  outline: 2px solid var(--gg-wine);
  outline-offset: 3px;
}

/* Màu thiệp theo dịp (dùng cho lựa chọn + xem trước + trang nhận) */
.gd-gc-occasion--tet .gd-gc-occasion__card,
.gd-gc-card--tet {
  background: radial-gradient(circle at 85% 15%, rgba(231, 180, 87, .35), transparent 45%), linear-gradient(145deg, #7a1219, #4f0a0f);
}

.gd-gc-occasion--cam-on .gd-gc-occasion__card,
.gd-gc-card--cam-on {
  background: radial-gradient(circle at 85% 15%, rgba(245, 227, 195, .3), transparent 45%), linear-gradient(145deg, #1f6f60, #134a40);
}

.gd-gc-occasion--sinh-nhat .gd-gc-occasion__card,
.gd-gc-card--sinh-nhat {
  background: radial-gradient(circle at 85% 15%, rgba(255, 214, 224, .35), transparent 45%), linear-gradient(145deg, #a8344f, #6d1f35);
}

.gd-gc-occasion--chuc-mung .gd-gc-occasion__card,
.gd-gc-card--chuc-mung {
  background: radial-gradient(circle at 85% 15%, rgba(255, 244, 214, .45), transparent 45%), linear-gradient(145deg, #b27a2a, #7a4f14);
}

/* Dịp khác – tự nhập: thẻ ngang cả hàng + ô nhập */
.gd-gc-occasion--khac {
  grid-column: 1 / -1;
}

.gd-gc-occasion--khac .gd-gc-occasion__card,
.gd-gc-card--khac {
  background: radial-gradient(circle at 85% 15%, rgba(214, 222, 255, .3), transparent 45%), linear-gradient(145deg, #3b4a7d, #222b4f);
}

.gd-gc-occasion--khac .gd-gc-occasion__card {
  flex-direction: row;
  align-items: baseline;
  justify-content: flex-start;
  gap: 14px;
  min-height: 0 !important;
  padding: 14px 18px;
}

.gd-gc-occasion-custom {
  margin: -16px 0 30px !important;
}

.gd-gc-occasion-custom[hidden] {
  display: none !important;
}

.gd-gc-occasion-custom small {
  color: var(--gg-muted);
  font-weight: 500;
}

/* Mức quà */
.gd-gc-budgets {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gd-gc-chip {
  margin: 0;
  cursor: pointer;
}

.gd-gc-chip span {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 20px;
  border: 1.5px solid var(--gg-line);
  border-radius: 999px;
  background: #fff;
  color: var(--gg-ink);
  font-size: 15px;
  font-weight: 700;
  transition: all .2s ease;
}

.gd-gc-chip input:checked + span {
  border-color: var(--gg-wine);
  background: var(--gg-wine);
  color: #fff;
}

.gd-gc-chip input:focus-visible + span {
  outline: 2px solid var(--gg-wine);
  outline-offset: 2px;
}

.gd-gc-custom {
  max-width: 320px;
  margin: 16px 0 0;
}

.gd-gc-custom label,
.gd-gc-field label {
  display: block;
  margin: 0 0 6px;
  color: var(--gg-ink);
  font-size: 13px;
  font-weight: 700;
}

.gd-gc-money-input {
  position: relative;
  display: block;
}

.gd-gc-money-input i {
  position: absolute;
  top: 50%;
  right: 14px;
  color: var(--gg-muted);
  font-style: normal;
  transform: translateY(-50%);
}

/* Trường nhập */
.gd-gc input[type="text"],
.gd-gc input[type="email"],
.gd-gc input[type="tel"],
.gd-gc textarea {
  width: 100%;
  height: 48px;
  margin: 0;
  padding: 0 14px;
  border: 1px solid var(--gg-line) !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: none !important;
  color: var(--gg-ink);
  font-family: inherit;
  font-size: 14.5px;
}

.gd-gc textarea {
  height: auto;
  min-height: 110px;
  padding: 12px 14px;
  line-height: 1.6;
  resize: vertical;
}

.gd-gc input:focus,
.gd-gc textarea:focus {
  border-color: var(--gg-wine) !important;
  box-shadow: 0 0 0 3px rgba(125, 32, 40, .1) !important;
  outline: none;
}

.gd-gc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
  margin-bottom: 26px;
}

.gd-gc-field {
  margin: 0;
}

.gd-gc-field--full {
  grid-column: 1 / -1;
}

.gd-gc-field b,
.gd-gc-custom b {
  color: var(--gg-wine);
}

/* Danh sách quà */
.gd-gc-products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 10px;
}

.gd-gc-product {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0;
  overflow: hidden;
  border: 2px solid var(--gg-line);
  border-radius: 16px;
  background: #fff;
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.gd-gc-product__img {
  display: block;
  aspect-ratio: 1 / 1;
  background: radial-gradient(circle at 50% 42%, #fffaf0 0, #f6ead3 78%);
}

.gd-gc-product__img img {
  display: block;
  width: 100%;
  height: 100%;
  padding: 8%;
  object-fit: contain;
}

.gd-gc-product__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 3px;
  padding: 12px 14px 14px;
}

.gd-gc-product__body small {
  color: var(--gg-muted);
  font-size: 10.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.gd-gc-product__body strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--gg-ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

.gd-gc-product__body em {
  margin-top: auto;
  padding-top: 4px;
  color: var(--gg-wine);
  font-size: 14px;
  font-style: normal;
  font-weight: 800;
}

.gd-gc-product__body a {
  margin-top: auto;
  padding-top: 6px;
  color: var(--gg-wine);
  font-size: 12.5px;
  font-weight: 700;
}

.gd-gc-product__tick {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: rgba(33, 27, 24, .18);
  color: transparent;
  font-size: 14px;
  font-weight: 800;
}

.gd-gc-product input:checked ~ .gd-gc-product__tick {
  background: var(--gg-wine);
  color: #fff;
}

.gd-gc-product:has(input:checked) {
  border-color: var(--gg-wine);
  box-shadow: 0 10px 24px rgba(125, 32, 40, .12);
}

.gd-gc-products:not(.gd-gc-products--pick) .gd-gc-product:has(input:not(:checked)) {
  opacity: .55;
}

.gd-gc-product:has(input:focus-visible) {
  outline: 2px solid var(--gg-wine);
  outline-offset: 2px;
}

.gd-gc-loading,
.gd-gc-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 36px 0;
  color: var(--gg-muted);
  text-align: center;
}

.gd-gc-count {
  margin: 0 0 6px;
  color: var(--gg-muted);
  font-size: 13.5px;
}

.gd-gc-hint {
  margin: 0 0 16px;
  padding: 12px 16px;
  border: 1px solid #f0dcae;
  border-radius: 12px;
  background: #fff8e6;
  color: #6b4a12;
  font-size: 14px;
}

.gd-gc-link {
  margin: 0 0 0 6px !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  color: var(--gg-wine) !important;
  font-weight: 800;
  text-decoration: underline;
  text-transform: none;
  cursor: pointer;
}

/* Bước 3: nhập + xem trước */
.gd-gc-compose {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.gd-gc-preview-wrap {
  position: sticky;
  top: 100px;
}

.gd-gc-preview-label {
  margin: 0 0 10px;
  color: var(--gg-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.gd-gc-card-preview {
  position: relative;
  padding: 30px 26px 26px;
  overflow: hidden;
  border-radius: 20px;
  color: #f5e3c3;
  text-align: center;
  box-shadow: 0 20px 44px rgba(63, 39, 25, .22);
}

.gd-gc-card-preview::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(245, 227, 195, .35);
  border-radius: 14px;
  pointer-events: none;
}

.gd-gc-card-preview p {
  position: relative;
  margin: 0;
}

.gd-gc-card-preview__brand {
  color: #e7b457;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.gd-gc-card-preview__title {
  margin: 10px 0 14px !important;
  color: #fff;
  font-family: "Cormorant Garamond", var(--gd-display, "Playfair Display"), serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.1;
}

.gd-gc-card-preview__to {
  font-size: 14px;
  opacity: .9;
}

.gd-gc-card-preview__msg {
  margin: 14px 0 !important;
  font-family: "Cormorant Garamond", var(--gd-display, "Playfair Display"), serif;
  font-size: 19px;
  font-style: italic;
  line-height: 1.5;
  white-space: pre-line;
  word-break: break-word;
}

.gd-gc-card-preview__from {
  font-size: 14px;
  font-weight: 700;
}

.gd-gc-card-preview__cta {
  position: relative;
  display: inline-block;
  margin-top: 18px;
  padding: 10px 18px;
  border-radius: 10px;
  background: #f5e3c3;
  color: #4f0a0f;
  font-size: 13px;
  font-weight: 800;
}

.gd-gc-summary {
  margin: 16px 0 0;
  padding: 14px 16px;
  border: 1px solid var(--gg-line);
  border-radius: 14px;
  background: var(--gg-cream);
}

.gd-gc-summary div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  font-size: 13.5px;
}

.gd-gc-summary dt {
  color: var(--gg-muted);
  font-weight: 500;
}

.gd-gc-summary dd {
  margin: 0;
  color: var(--gg-ink);
  font-weight: 700;
  text-align: right;
}

/* Nút */
.gd-gc-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--gg-line);
}

.gd-gc-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  height: 50px;
  margin: 0 !important;
  padding: 0 24px !important;
  border: 1.5px solid var(--gg-wine) !important;
  border-radius: 13px !important;
  background: var(--gg-wine) !important;
  box-shadow: none !important;
  color: #fff !important;
  font-family: inherit;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;
  text-transform: none !important;
  cursor: pointer;
}

.gd-gc-btn:hover {
  background: var(--gg-wine-dark) !important;
  color: #fff !important;
}

.gd-gc-btn--ghost {
  background: #fff !important;
  color: var(--gg-wine) !important;
}

.gd-gc-btn--ghost:hover {
  background: var(--gg-wine) !important;
  color: #fff !important;
}

.gd-gc-btn--block {
  width: 100%;
  height: 54px;
}

.gd-gc-btn[disabled] {
  opacity: .6;
  cursor: wait;
}

.gd-gc-note {
  margin: 12px 0 0;
  color: var(--gg-muted);
  font-size: 12.5px;
  line-height: 1.6;
  text-align: center;
}

.gd-gc-inline-error {
  margin: 14px 0 0;
  color: #b3261e;
  font-size: 14px;
  font-weight: 600;
}

.gd-gc-alert {
  margin: 0 0 20px;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.6;
}

.gd-gc-alert--error {
  border: 1px solid #f0c9c4;
  background: #fdf3f1;
  color: #8a2a1f;
}

.gd-gc-alert ul {
  margin: 4px 0 0 18px;
}

.gd-gc-age {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px dashed var(--gg-line);
  border-radius: 12px;
  font-size: 14px;
}

.gd-gc-age[hidden] {
  display: none;
}

/* Hoàn tất / trạng thái */
.gd-gc-done,
.gd-gc-state {
  max-width: 680px;
  margin: 0 auto;
  padding: 36px 32px;
  border: 1px solid var(--gg-line);
  border-radius: 22px;
  background: #fff;
  text-align: center;
  box-shadow: 0 18px 46px rgba(63, 39, 25, .07);
}

.gd-gc-done__icon,
.gd-gc-state__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: #f6ead3;
  color: var(--gg-wine);
  font-size: 26px;
  font-weight: 800;
}

.gd-gc-done h2,
.gd-gc-state h1,
.gd-gc-state h2 {
  margin: 0 0 12px;
  color: var(--gg-wine);
  font-size: 30px;
}

.gd-gc-done p,
.gd-gc-state p {
  color: var(--gg-muted);
  font-size: 15px;
  line-height: 1.7;
}

.gd-gc-done__next {
  margin: 18px 0;
  padding: 18px 18px 18px 38px;
  border-radius: 14px;
  background: var(--gg-cream);
  color: var(--gg-ink);
  font-size: 14.5px;
  line-height: 1.7;
  text-align: left;
}

.gd-gc-done__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.gd-gc-chosen {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 10px auto 16px;
  padding: 12px;
  max-width: 420px;
  border: 1px solid var(--gg-line);
  border-radius: 16px;
  text-align: left;
}

.gd-gc-chosen img {
  width: 84px;
  height: 84px;
  object-fit: contain;
  border-radius: 12px;
  background: #f8eedc;
}

.gd-gc-chosen small {
  display: block;
  color: var(--gg-muted);
  font-size: 12px;
}

.gd-gc-chosen strong {
  color: var(--gg-ink);
  font-size: 16px;
}

.gd-gc-state__thanks {
  font-family: "Cormorant Garamond", var(--gd-display, "Playfair Display"), serif;
  font-size: 20px !important;
  font-style: italic;
}

/* Trang nhận quà */
.gd-gc-open {
  max-width: 620px;
  margin: 0 auto 30px;
  text-align: center;
}

.gd-gc-card-preview--large {
  padding: 42px 32px 34px;
  animation: gd-gc-open .6s ease both;
}

.gd-gc-card-preview--large .gd-gc-card-preview__title {
  font-size: 40px;
}

@keyframes gd-gc-open {
  from { opacity: 0; transform: translateY(14px) scale(.97); }
  to { opacity: 1; transform: none; }
}

.gd-gc-open__lead {
  margin: 24px 0 8px;
  color: var(--gg-ink);
  font-size: 15.5px;
  line-height: 1.7;
}

.gd-gc-open__deadline {
  margin: 0;
  color: var(--gg-muted);
  font-size: 13.5px;
}

.gd-gc-redeem h2 {
  margin-top: 6px;
}

.gd-gc-products--pick {
  margin-bottom: 30px;
}

.gd-gc-redeem .gd-gc-help {
  margin: -6px 0 14px;
  color: var(--gg-muted);
  font-size: 14px;
}

.gd-gc-product__body em + a {
  margin-top: 0;
}

/* Thanh hạn mức khi người nhận chọn quà */
.gd-gc-meter {
  position: sticky;
  top: 86px;
  z-index: 5;
  margin: 0 0 16px;
  padding: 14px 16px;
  border: 1px solid var(--gg-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 8px 22px rgba(63, 39, 25, .06);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.gd-gc-meter__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 16px;
  margin-bottom: 9px;
  color: var(--gg-muted);
  font-size: 14px;
}

.gd-gc-meter__row strong {
  color: var(--gg-ink);
}

.gd-gc-meter__bar {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #f1e7d6;
}

.gd-gc-meter__bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gg-gold), var(--gg-wine));
  transition: width .25s ease;
}

.gd-gc-meter__full {
  margin: 10px 0 0;
  color: var(--gg-wine);
  font-size: 13.5px;
  font-weight: 700;
}

.gd-gc-meter.is-full {
  border-color: var(--gg-wine);
}

.gd-gc-meter.is-error {
  border-color: #b32d2e;
  box-shadow: 0 0 0 3px rgba(179, 45, 46, .12);
}

.gd-gc-meter.is-error .gd-gc-meter__row::after {
  content: "Vui lòng chọn ít nhất 1 món quà.";
  flex-basis: 100%;
  color: #b32d2e;
  font-weight: 700;
}

/* Món không còn vừa hạn mức: xám, không bấm được */
.gd-gc-product.is-disabled {
  border-color: var(--gg-line);
  cursor: not-allowed;
  filter: grayscale(1);
  opacity: .45;
}

.gd-gc-product.is-disabled .gd-gc-product__tick {
  display: none;
}

.gd-gc-product__over {
  display: none;
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(33, 27, 24, .78);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.gd-gc-product.is-disabled .gd-gc-product__over {
  display: block;
}

.gd-gc-field.is-invalid input,
.gd-gc-field.is-invalid textarea {
  border-color: #b32d2e !important;
}

.gd-gc-age.is-invalid {
  color: #b32d2e;
}

/* Danh sách quà đã chọn (trang trạng thái của người nhận) */
.gd-gc-chosen-list {
  display: grid;
  gap: 8px;
  max-width: 440px;
  margin: 10px auto 16px;
  padding: 0;
  list-style: none;
  text-align: left;
}

.gd-gc-chosen-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 8px;
  border: 1px solid var(--gg-line);
  border-radius: 14px;
}

.gd-gc-chosen-list img,
.gd-gc-pay__items img {
  flex: none;
  width: 60px;
  height: 60px;
  border-radius: 10px;
  background: #f8eedc;
  object-fit: contain;
}

.gd-gc-chosen-list strong {
  color: var(--gg-ink);
  font-size: 15px;
}

/* Trang thanh toán của người gửi */
.gd-gc-pay {
  max-width: 680px;
  margin: 0 auto;
}

.gd-gc-pay__title {
  margin: 6px 0 8px;
  color: var(--gg-wine);
  font-size: 34px;
}

.gd-gc-pay__lead {
  margin: 0 0 20px;
  color: var(--gg-muted);
  font-size: 15px;
  line-height: 1.7;
}

.gd-gc-pay__state {
  margin-bottom: 20px;
}

.gd-gc-pay__box,
.gd-gc-pay__how {
  margin-bottom: 18px;
  padding: 20px 22px;
  border: 1px solid var(--gg-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(63, 39, 25, .06);
}

.gd-gc-pay__items {
  margin: 0;
  padding: 0;
  list-style: none;
}

.gd-gc-pay__items li {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px solid var(--gg-line);
}

.gd-gc-pay__items span {
  flex: 1;
  font-size: 14.5px;
  font-weight: 600;
}

.gd-gc-pay__items strong {
  color: var(--gg-ink);
  white-space: nowrap;
}

.gd-gc-pay__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 14px 0 0;
  font-size: 15px;
  font-weight: 700;
}

.gd-gc-pay__total strong {
  color: var(--gg-wine);
  font-size: 24px;
}

.gd-gc-pay__ship {
  margin: 12px 0 0;
  color: var(--gg-muted);
  font-size: 14px;
}

.gd-gc-pay__ship small {
  display: block;
  font-size: 11.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.gd-gc-pay__how h2 {
  font-size: 22px;
}

.gd-gc-pay__how p {
  color: var(--gg-ink);
  font-size: 14.5px;
  line-height: 1.7;
}

.gd-gc-pay__bank {
  margin: 0 0 14px;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--gg-cream);
}

.gd-gc-pay__bank div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0;
}

.gd-gc-pay__bank dt {
  color: var(--gg-muted);
  font-weight: 400;
}

.gd-gc-pay__bank dd {
  margin: 0;
  text-align: right;
}

.gd-gc-pay__bankbox {
  margin: 0 0 14px;
}

.gd-gc-pay__bankbox.has-qr {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 14px;
  border: 1px solid var(--gg-line);
  border-radius: 16px;
}

.gd-gc-pay__bankbox.has-qr .gd-gc-pay__bank {
  margin: 0;
}

.gd-gc-pay__qr {
  margin: 0;
  text-align: center;
}

.gd-gc-pay__qr img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  background: #fff;
}

.gd-gc-pay__qr a {
  display: inline-block;
  margin-top: 6px;
  color: var(--gg-wine);
  font-size: 13px;
  font-weight: 700;
}

.gd-gc-copy {
  min-height: 0 !important;
  margin: 0 0 0 6px !important;
  padding: 2px 8px !important;
  border: 1px solid var(--gg-line) !important;
  border-radius: 6px !important;
  background: #fff !important;
  color: var(--gg-wine) !important;
  font-size: 11.5px !important;
  font-weight: 700;
  line-height: 1.6 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  box-shadow: none !important;
  cursor: pointer;
}

.gd-gc-pay__memo {
  padding: 1px 8px;
  border-radius: 6px;
  background: #f6ead3;
}

.gd-gc-pay__form {
  margin: 16px 0 6px;
}

/* Responsive */
@media (max-width: 1024px) {
  .gd-gc-products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gd-gc-compose {
    grid-template-columns: 1fr;
  }

  .gd-gc-preview-wrap {
    position: static;
    order: -1;
  }
}

@media (max-width: 720px) {
  .gd-gc {
    padding: 32px 14px 64px;
  }

  .gd-gc-how {
    grid-template-columns: 1fr;
  }

  .gd-gc-form {
    padding: 18px 16px 20px;
    border-radius: 18px;
  }

  .gd-gc-steps button {
    flex-direction: column;
    height: auto;
    padding: 8px 4px;
    font-size: 11.5px;
    gap: 4px;
  }

  .gd-gc-occasions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gd-gc-occasion__card {
    min-height: 96px;
  }

  .gd-gc-occasion__card strong {
    font-size: 19px;
  }

  .gd-gc-chip span {
    height: 44px;
    padding: 0 16px;
    font-size: 14px;
  }

  .gd-gc-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .gd-gc-grid {
    grid-template-columns: 1fr;
  }

  .gd-gc-nav {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .gd-gc-nav > span {
    display: none;
  }

  .gd-gc-btn {
    width: 100%;
  }

  .gd-gc-done,
  .gd-gc-state {
    padding: 26px 18px;
  }

  .gd-gc-card-preview--large {
    padding: 34px 22px 28px;
  }

  .gd-gc-card-preview--large .gd-gc-card-preview__title {
    font-size: 32px;
  }

  .gd-gc-meter {
    top: 64px;
    padding: 12px;
  }

  .gd-gc-pay__title {
    font-size: 28px;
  }

  .gd-gc-pay__bankbox.has-qr {
    grid-template-columns: 1fr;
  }

  .gd-gc-pay__qr img {
    max-width: 260px;
    margin: 0 auto;
  }

  .gd-gc-pay__box,
  .gd-gc-pay__how {
    padding: 16px;
  }
}

.gd-gc-summary dt,
.gd-gc-summary dd {
  text-transform: none !important;
  letter-spacing: 0 !important;
}

/* Bước 2 – Chọn quà: xếp theo đầu mục / danh mục như trang Sản phẩm (xem renderProducts trong gd-gift.js). */
.gd-gc-browse {
  margin-bottom: 10px;
}

.gd-gc-browse__bar {
  position: sticky;
  top: 72px;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
  margin: 0 -4px 18px;
  padding: 12px 4px;
  border-bottom: 1px solid var(--gg-line);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(6px);
}

.gd-gc-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gd-gc .gd-gc-filter__chip {
  min-height: 38px;
  margin: 0;
  padding: 0 16px;
  border: 1px solid var(--gg-line);
  border-radius: 999px;
  background: #fff;
  box-shadow: none;
  color: var(--gg-ink);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  text-transform: none;
  cursor: pointer;
}

.gd-gc .gd-gc-filter__chip small {
  margin-left: 4px;
  color: var(--gg-muted);
  font-size: 12px;
  font-weight: 600;
}

.gd-gc .gd-gc-filter__chip:hover {
  border-color: var(--gg-wine);
}

.gd-gc .gd-gc-filter__chip.is-active {
  border-color: var(--gg-wine);
  background: var(--gg-wine);
  color: #fff;
}

.gd-gc .gd-gc-filter__chip.is-active small {
  color: rgba(255, 255, 255, .8);
}

.gd-gc-browse__tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  color: var(--gg-muted);
  font-size: 13.5px;
}

.gd-gc-browse__tools b {
  color: var(--gg-wine);
  font-size: 15px;
}

.gd-gc-browse__tools .gd-gc-link {
  margin: 0 !important;
}

.gd-gc-group + .gd-gc-group {
  margin-top: 30px;
}

.gd-gc .gd-gc-group__title {
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gg-line);
  color: var(--gg-wine);
  font-family: "Cormorant Garamond", var(--gd-display, "Playfair Display"), serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.2;
}

.gd-gc-group__title small,
.gd-gc-cat__title small {
  color: var(--gg-muted);
  font-family: var(--gd-sans, "Be Vietnam Pro", sans-serif);
  font-size: 13px;
  font-weight: 500;
}

.gd-gc-cat + .gd-gc-cat {
  margin-top: 18px;
}

.gd-gc .gd-gc-cat__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  color: var(--gg-ink);
  font-family: var(--gd-sans, "Be Vietnam Pro", sans-serif);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.gd-gc-cat__title img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #f6ead3;
  object-fit: cover;
}

.gd-gc-products--browse {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

/* Danh sách duyệt: món chưa chọn vẫn hiển thị rõ, không làm mờ như danh sách gợi ý cũ. */
.gd-gc .gd-gc-products.gd-gc-products--browse .gd-gc-product:has(input:not(:checked)) {
  opacity: 1;
}

.gd-gc-products--browse .gd-gc-product:hover {
  border-color: rgba(125, 32, 40, .45);
}

.gd-gc .gd-gc-products.gd-gc-products--browse .gd-gc-product.is-locked:has(input) {
  cursor: not-allowed;
  opacity: .45;
}

.gd-gc-18 {
  margin-left: 4px;
  padding: 1px 6px;
  border-radius: 6px;
  background: #211b18;
  color: #fff;
  font-size: 10.5px;
  font-style: normal;
  font-weight: 700;
  vertical-align: 2px;
}

@media (max-width: 1024px) {
  .gd-gc-products--browse {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .gd-gc-browse__bar {
    top: 60px;
  }

  .gd-gc-filter {
    flex-wrap: nowrap;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .gd-gc-filter::-webkit-scrollbar {
    display: none;
  }

  .gd-gc .gd-gc-filter__chip {
    flex: none;
  }

  .gd-gc-products--browse {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .gd-gc .gd-gc-group__title {
    font-size: 22px;
  }
}

/* ------------------------------------------------------------------ Gửi thiệp qua Email / Zalo */
.gd-gc-channels {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.gd-gc-channels__label {
  flex: 0 0 100%;
  font-size: 13px;
  font-weight: 700;
  color: var(--gg-ink);
}

.gd-gc-channels__label b {
  color: var(--gg-wine);
}

.gd-gc-channel {
  position: relative;
  display: inline-flex;
  margin: 0;
  cursor: pointer;
}

.gd-gc-channel input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.gd-gc-channel span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1.5px solid var(--gg-line);
  border-radius: 999px;
  background: #fff;
  color: var(--gg-ink);
  font-size: 14px;
  font-weight: 700;
  transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}

.gd-gc-channel span::before {
  content: "";
  width: 16px;
  height: 16px;
  border: 1.5px solid currentColor;
  border-radius: 4px;
  opacity: .55;
}

.gd-gc-channel input:checked + span {
  border-color: var(--gg-wine);
  background: rgba(107, 16, 22, .06);
  color: var(--gg-wine);
}

.gd-gc-channel input:checked + span::before {
  border-color: var(--gg-wine);
  background: var(--gg-wine) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12l5 5 9-10' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
  opacity: 1;
}

.gd-gc-channel--zalo input:checked + span {
  border-color: #0068ff;
  background: rgba(0, 104, 255, .07);
  color: #0050c8;
}

.gd-gc-channel--zalo input:checked + span::before {
  border-color: #0068ff;
  background-color: #0068ff;
}

.gd-gc-channel input:focus-visible + span {
  outline: 2px solid var(--gg-wine);
  outline-offset: 2px;
}

.gd-gc-field[hidden] {
  display: none !important;
}

/* Khối gửi qua Zalo trên trang xác nhận */
.gd-gc-zalo {
  max-width: 640px;
  margin: 22px auto 26px;
  padding: 20px;
  border: 1.5px solid rgba(0, 104, 255, .25);
  border-radius: 18px;
  background: #f5f9ff;
  text-align: left;
}

.gd-gc-zalo__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.gd-gc-zalo__logo {
  flex: none;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #0068ff;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.gd-gc-zalo__head h3 {
  margin: 0 0 2px;
  font-size: 18px;
  color: var(--gg-ink);
}

.gd-gc-zalo__head p {
  margin: 0;
  font-size: 14px;
  color: #4a5568;
}

.gd-gc-zalo__label {
  display: block;
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gg-ink);
}

.gd-gc-zalo__text {
  width: 100%;
  min-height: 200px;
  margin: 0 0 14px;
  padding: 12px 14px;
  border: 1px solid rgba(0, 104, 255, .2);
  border-radius: 12px;
  background: #fff;
  color: var(--gg-ink);
  font-size: 14px;
  line-height: 1.6;
  resize: vertical;
}

.gd-gc-zalo__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gd-gc-zalo .gd-gc-zalo__open {
  border-color: #0068ff !important;
  background: #0068ff !important;
}

.gd-gc-zalo .gd-gc-zalo__open:hover {
  border-color: #0050c8 !important;
  background: #0050c8 !important;
}

.gd-gc-zalo__status {
  display: none;
  margin: 12px 0 0;
  padding: 10px 14px;
  border-radius: 10px;
  background: #e6f6ec;
  color: #1d6b3a;
  font-size: 14px;
  font-weight: 600;
}

.gd-gc-zalo__status.is-on {
  display: block;
}

.gd-gc-zalo__how {
  margin: 14px 0 8px;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.6;
  color: #4a5568;
}

.gd-gc-zalo__note {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: #718096;
}

@media (max-width: 549px) {
  .gd-gc-zalo {
    padding: 16px;
  }

  .gd-gc-zalo__actions .gd-gc-btn {
    width: 100%;
  }
}

/* WhatsApp */
.gd-gc-channel--wa input:checked + span {
  border-color: #25d366;
  background: rgba(37, 211, 102, .08);
  color: #128c4b;
}

.gd-gc-channel--wa input:checked + span::before {
  border-color: #25d366;
  background-color: #25d366;
}

.gd-gc-wa {
  border-color: rgba(37, 211, 102, .35);
  background: #f3fcf6;
}

.gd-gc-wa__logo {
  background: #25d366;
}

.gd-gc-wa .gd-gc-wa__open {
  border-color: #25d366 !important;
  background: #25d366 !important;
}

.gd-gc-wa .gd-gc-wa__open:hover {
  border-color: #1da851 !important;
  background: #1da851 !important;
}

.gd-gc-zalo__how-one {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: #4a5568;
}

/* Bước 1: chọn loại quà – vật lý (chọn món) hoặc số (thẻ quà, người nhận chọn tiền mặt / voucher) */
.gd-gc-kinds { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 6px 0 8px; }
.gd-gc-kind {
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  min-height: 100%; margin: 0 !important; padding: 20px 20px 18px !important;
  border: 1.5px solid rgba(122, 18, 25, .16) !important; border-radius: 20px !important;
  background: #fffaf3 !important; box-shadow: none !important;
  color: #3f2719 !important; text-align: left; text-decoration: none !important; text-transform: none !important;
  font: inherit !important; letter-spacing: 0 !important; line-height: 1.5 !important;
  cursor: pointer; transition: transform .15s ease, border-color .2s ease, box-shadow .2s ease;
}
.gd-gc-kind:hover { border-color: #7a1219 !important; box-shadow: 0 18px 36px -24px rgba(122, 18, 25, .55) !important; transform: translateY(-2px); }
.gd-gc-kind__ico { font-size: 34px; line-height: 1; }
.gd-gc-kind__card { display: block; width: 100%; max-width: 280px; }
.gd-gc-kind__card img { display: block; width: 100%; border-radius: 10px; box-shadow: 0 10px 22px -12px rgba(0, 0, 0, .45); }
.gd-gc-kind b { color: #7a1219; font-size: 19px; }
.gd-gc-kind small { color: #6b5145; font-size: 13.5px; }
.gd-gc-kind em { margin-top: auto; padding-top: 6px; color: #7a1219; font-style: normal; font-weight: 800; }
.gd-gc-kind--digital { background: linear-gradient(160deg, #fff4ea, #fde9ee) !important; }
.gd-gc-kind.is-off { opacity: .75; }
.gd-gc-digital-note { margin: 10px 0 0 !important; padding: 12px 14px; border-radius: 14px; background: #fff4e5; color: #6b4410; font-size: 14px; }
.gd-gc-digital-note .gd-gc-btn { margin: 6px 6px 0 0; }
@media (max-width: 640px) { .gd-gc-kinds { grid-template-columns: 1fr; } }

/* Quà tặng số: ẩn/hiện theo loại quà; bước 2 (chọn món) không dùng */
.gd-gc-form:not(.is-digital) .gd-gc-digital-only { display: none !important; }
.gd-gc-form.is-digital .gd-gc-physical-only { display: none !important; }
.gd-gc-form.is-digital [data-step-nav="2"] { display: none !important; }
.gd-gc-nav--step1:empty { display: none; }
.gd-tq-form--inline { margin: 0 !important; padding: 12px 14px !important; }
.gd-gc-so-link { display: flex; flex-wrap: wrap; gap: 8px; max-width: 640px; margin: 14px auto !important; }
.gd-gc-so-link input { flex: 1 1 260px; margin: 0 !important; }

/* Thêm người nhận (bước Viết thiệp) */
.gd-gc-more__row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 118px minmax(0, 1.3fr) 34px;
  gap: 8px;
  align-items: center;
  margin: 0 0 10px;
  padding: 10px;
  border: 1px dashed var(--gg-line);
  border-radius: 14px;
  background: #fffaf6;
}

.gd-gc-more__no,
.gd-gc-batch__no {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gg-wine);
  color: #fff;
  font-size: 12.5px;
  font-weight: 800;
}

.gd-gc .gd-gc-more__row input {
  height: 42px;
}

.gd-gc .gd-gc-more__row select {
  width: 100%;
  height: 42px;
  margin: 0;
  padding: 0 8px;
  border: 1px solid var(--gg-line);
  border-radius: 12px;
  background-color: #fff;
  box-shadow: none;
  font-size: 14px;
}

.gd-gc .gd-gc-more__del {
  width: 34px;
  height: 34px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--gg-muted);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.gd-gc .gd-gc-more__del:hover {
  background: #f6e3e0;
  color: var(--gg-wine);
}

.gd-gc .gd-gc-more__add {
  min-height: 0;
  margin: 0;
  padding: 10px 18px;
  border: 1.5px dashed var(--gg-wine);
  border-radius: 999px;
  background: transparent;
  color: var(--gg-wine);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: none;
  cursor: pointer;
}

.gd-gc .gd-gc-more__add:hover {
  background: rgba(125, 32, 40, .06);
}

.gd-gc .gd-gc-more__add[hidden] {
  display: none;
}

.gd-gc-more__hint {
  margin: 8px 0 0;
  color: var(--gg-muted);
  font-size: 13px;
}

@media (max-width: 640px) {
  .gd-gc-more__row {
    grid-template-columns: 26px 100px minmax(0, 1fr) 34px;
  }

  .gd-gc-more__no { grid-column: 1; grid-row: 1; }
  .gd-gc .gd-gc-more__row > input:first-of-type { grid-column: 2 / 4; grid-row: 1; }
  .gd-gc .gd-gc-more__del { grid-column: 4; grid-row: 1; }
  .gd-gc .gd-gc-more__row select { grid-column: 2; grid-row: 2; }
  .gd-gc .gd-gc-more__row [data-gd-more-contact] { grid-column: 3 / 5; grid-row: 2; }
}

/* Trang xác nhận nhiều người nhận */
.gd-gc-batch {
  margin: 18px 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.gd-gc-batch__item {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 10px 12px;
  align-items: center;
  margin: 0 0 10px;
  padding: 12px 14px;
  border: 1px solid var(--gg-line);
  border-radius: 14px;
  background: #fff;
}

.gd-gc-batch__who b {
  display: block;
  color: var(--gg-ink);
  font-size: 15px;
}

.gd-gc-batch__who small {
  color: var(--gg-muted);
  font-size: 12.5px;
  word-break: break-word;
}

.gd-gc-batch__act {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  justify-content: flex-end;
}

.gd-gc .gd-gc-batch__act .gd-gc-btn {
  flex: 0 1 auto;
  width: auto;
  height: 36px;
  min-height: 0;
  margin: 0;
  padding: 0 14px;
  font-size: 13px;
}

.gd-gc .gd-gc-batch__act .gd-gc-batch__zalo {
  border-color: #0068ff !important;
  background: #0068ff !important;
  color: #fff !important;
}

.gd-gc .gd-gc-batch__act .gd-gc-batch__wa {
  border-color: #25d366 !important;
  background: #25d366 !important;
  color: #fff !important;
}

.gd-gc-batch__sent {
  color: #1e7e34;
  font-size: 13px;
  font-weight: 700;
}

.gd-gc-batch__track {
  color: var(--gg-wine);
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
}

@media (max-width: 640px) {
  .gd-gc-batch__item {
    grid-template-columns: 26px minmax(0, 1fr);
  }

  .gd-gc-batch__act {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}
