:root {
  --brand:      #791C30;
  --brand-dark: #5E1425;
  --champagne:  #D5B783;
  --cream:      #FAF7F1;
  --white-warm: #FFFFFF;
  --ink:        #2b1a1a;
  --soft:       #77716F;
  --wash:       #FAF7F1;
  --hair:       #EAE2DB;
  --ok:         #17694a;
  --bad:        #9b1c2e;

  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans:  "Be Vietnam Pro", system-ui, sans-serif;

  --radius-card: 12px;
  --radius-btn:  999px;
  --shadow-card: 0 2px 12px rgba(43,26,26,.07);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html,
body {
  margin: 0;
  background: var(--wash);
  color: var(--ink);
  font-family: "Be Vietnam Pro", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  margin: 0;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 247, 241, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--hair);
  transition: box-shadow 0.2s;
}

header.scrolled {
  box-shadow: 0 2px 16px rgba(43,26,26,.08);
}

.nav {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  line-height: 1.2;
  color: var(--ink);
}

.brand-sub {
  display: block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  color: var(--soft);
  letter-spacing: 0.02em;
  margin-top: 1px;
}

.mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--brand);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  font-family: var(--font-sans);
}

.links a {
  color: var(--ink);
  font-weight: 500;
  position: relative;
  padding-bottom: 2px;
  transition: color 0.15s;
}

.links a:hover,
.links a.is-active {
  color: var(--brand);
}

.links a.is-active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--brand);
  border-radius: 1px;
}

.nav-search {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--soft);
  display: flex;
  align-items: center;
  transition: color 0.15s;
}

.nav-search:hover {
  color: var(--brand);
}

@media (max-width: 780px) {
  .nav {
    height: auto;
    min-height: 56px;
    flex-wrap: wrap;
    gap: 6px;
    padding: 9px 0;
  }

  .brand {
    font-size: 1.32rem;
  }

  .links {
    width: 100%;
    gap: 15px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .links::-webkit-scrollbar {
    display: none;
  }

  .links > * {
    flex: none;
    white-space: nowrap;
  }
}

.inline-form {
  display: inline;
}

.linklike {
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  padding: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-btn);
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  border: 1.5px solid transparent;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: background 0.18s, border-color 0.18s, color 0.18s, transform 0.12s;
  white-space: nowrap;
  text-decoration: none;
}

.btn:active {
  transform: scale(0.98);
}

.btn-p {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.btn-p:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
}

.btn-g {
  background: var(--white-warm);
  border-color: var(--hair);
  color: var(--ink);
}

.btn-g:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.btn-outline {
  background: transparent;
  border-color: var(--brand);
  color: var(--brand);
}

.btn-outline:hover {
  background: var(--brand);
  color: #fff;
}

.btn-danger {
  background: var(--white-warm);
  border-color: var(--hair);
  color: var(--bad);
}

.btn-danger:hover {
  border-color: var(--bad);
}

.btn[disabled],
.btn:disabled {
  opacity: 0.5;
  pointer-events: none;
}

.page {
  padding-top: 36px;
  padding-bottom: 64px;
}

.flash {
  margin: 0 0 18px;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  border: 1px solid var(--hair);
  background: #fff;
}

.flash--ok {
  border-color: rgba(23, 105, 74, 0.35);
  color: var(--ok);
}

.flash--bad {
  border-color: rgba(177, 14, 63, 0.35);
  color: var(--bad);
}

.auth {
  max-width: 420px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: 20px;
  padding: 28px;
}

.auth h1 {
  font-size: 2rem;
}

.auth .lead {
  margin: 8px 0 22px;
  color: var(--soft);
  font-size: 14px;
  line-height: 1.6;
}

.field {
  display: block;
  margin-bottom: 16px;
}

.field > span {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
}

.field .hint {
  display: block;
  font-size: 12px;
  color: var(--soft);
  font-weight: 400;
  margin-top: 4px;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="url"],
input[type="date"],
input[type="time"],
input[type="number"],
input[type="file"],
select,
textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--hair);
  border-radius: 12px;
  font: inherit;
  font-size: 14px;
  background: #fff;
  color: var(--ink);
}

textarea {
  min-height: 92px;
  resize: vertical;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 1px;
  border-color: var(--brand);
}

.field-error {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--bad);
}

.auth .btn {
  width: 100%;
  margin-top: 6px;
}

.auth .alt {
  margin: 18px 0 0;
  font-size: 14px;
  text-align: center;
  color: var(--soft);
}

.auth .alt a {
  color: var(--brand);
}

footer {
  background: var(--brand-dark);
  color: rgba(255,255,255,0.82);
  font-size: 13.5px;
  font-family: var(--font-sans);
}

footer .brand-sub {
  color: rgba(255,255,255,0.45);
}

footer .brand {
  color: #fff;
}

footer .mark {
  background: rgba(255,255,255,0.12);
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 52px 20px 32px;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 32px 48px;
}

.footer-brand .mark {
  background: rgba(255,255,255,0.15);
  margin-bottom: 14px;
}

.footer-brand .brand-name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 8px;
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255,255,255,0.65);
  margin: 0 0 16px;
  max-width: 240px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: grid;
  place-items: center;
  color: rgba(255,255,255,0.75);
  transition: background 0.15s;
}

.footer-social a:hover {
  background: rgba(255,255,255,0.22);
  color: #fff;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin: 0 0 14px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 9px;
}

.footer-col a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  max-width: 1160px;
  margin: 0 auto;
  padding: 18px 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .footer-inner {
    grid-template-columns: 1fr;
    padding: 36px 20px 24px;
    gap: 24px;
  }
}

.ban-quyen {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: rgba(255,255,255,0.45);
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.ban-quyen a {
  color: rgba(255,255,255,0.65);
}

.ban-quyen a:hover {
  color: #fff;
}

.dash-head {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
}

.dash-head h1 {
  font-size: 2.2rem;
}

.dash-head .lead {
  margin: 6px 0 0;
  color: var(--soft);
  font-size: 14px;
}

.theme-picker h2,
.inv-list h2 {
  font-size: 1.5rem;
  margin: 32px 0 14px;
}

.theme-grid {
  display: grid;
  gap: 18px;
}

@media (min-width: 700px) {
  .theme-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.theme-card {
  border: 1px solid var(--hair);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
}

.theme-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
  background: #f3eee8;
}

.theme-card__body {
  padding: 16px;
}

.theme-card__body h3 {
  font-size: 1.3rem;
}

.theme-card__actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--hair);
  border-radius: 16px;
  overflow: hidden;
  font-size: 14px;
}

.table th,
.table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--hair);
  vertical-align: top;
}

.table th {
  font-weight: 600;
  font-size: 13px;
  color: var(--soft);
  background: #fbfafa;
}

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

.muted {
  display: block;
  color: var(--soft);
  font-size: 12px;
  margin-top: 2px;
}

.pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  background: #f3eee8;
  color: var(--soft);
}

.pill--ok {
  background: rgba(23, 105, 74, 0.12);
  color: var(--ok);
}

.hd-muc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 26px;
}

.hd-muc a {
  padding: 7px 14px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  color: var(--soft);
}

.hd-muc a:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.hd {
  margin: 0 0 30px;
  padding: 22px 24px;
  border: 1px solid var(--hair);
  border-radius: 18px;
  background: #fff;
  scroll-margin-top: 82px;
}

.hd h2 {
  margin: 0 0 12px;
  font-size: 1.6rem;
  color: var(--brand);
}

.hd h3 {
  margin: 20px 0 4px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
}

.hd p,
.hd li {
  font-size: 14.5px;
  line-height: 1.75;
  color: #5f524e;
}

.hd ul,
.hd ol {
  margin: 10px 0;
  padding-left: 20px;
}

.hd li {
  margin-bottom: 7px;
}

.hd li b {
  color: var(--ink);
}

.hd .hint {
  display: block;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #faf6f5;
  font-size: 13.5px;
}

.hd-buoc li {
  margin-bottom: 11px;
}

.hd .table {
  margin: 12px 0 4px;
}

.khach-link {
  word-break: break-all;
}

td.row-actions {
  flex-wrap: nowrap;
  white-space: nowrap;
}

.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.row-actions .btn {
  padding: 7px 14px;
  font-size: 13px;
}

.editor {
  display: grid;
  gap: 20px;
}

.card {
  border: 1px solid var(--hair);
  border-radius: 16px;
  background: #fff;
  padding: 20px;
  margin: 0;
}

.card legend {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.4rem;
  padding: 0 8px;
}

.grid2 {
  display: grid;
  gap: 0 16px;
}

@media (min-width: 640px) {
  .grid2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid2__full {
    grid-column: 1 / -1;
  }
}

.row3 {
  display: grid;
  gap: 8px;
  margin-bottom: 10px;
}

@media (min-width: 640px) {
  .row3 {
    grid-template-columns: 130px 1fr 160px;
  }
}

.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.swatches .field {
  width: 110px;
}

input[type="color"] {
  width: 100%;
  height: 42px;
  padding: 4px;
  border: 1px solid var(--hair);
  border-radius: 12px;
  background: #fff;
}

.photo-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  margin-top: 8px;
}

.photo {
  border: 1px solid var(--hair);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.photo__act {
  display: flex;
  border-top: 1px solid var(--hair);
}

.photo__btn {
  flex: 1;
  padding: 7px 4px;
  border: 0;
  background: #fff;
  font: inherit;
  font-size: 12px;
  color: var(--ink);
  cursor: pointer;
}

.photo__btn + .photo__btn {
  border-left: 1px solid var(--hair);
}

.photo__btn:disabled {
  color: var(--soft);
  cursor: default;
}

.photo__btn--x {
  color: var(--bad);
}

.cover {
  display: grid;
  gap: 10px;
  justify-items: start;
  margin: 10px 0 14px;
}

.cover img {
  width: 100%;
  max-width: 240px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--hair);
}

.cover--ngang img {
  max-width: 320px;
  aspect-ratio: 3 / 2;
}

.cover .photo__btn {
  flex: none;
  padding: 7px 14px;
  border: 1px solid var(--hair);
  border-radius: 999px;
}

.nhac-dang {
  margin: 0;
  font-size: 13px;
  color: var(--ink);
}

.cover__trong {
  width: 100%;
  margin: 0;
  padding: 22px;
  border: 1px dashed var(--hair);
  border-radius: 12px;
  font-size: 13px;
  color: var(--soft);
  text-align: center;
}

.check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin-bottom: 16px;
}

.check input {
  width: auto;
}

.gift-row {
  padding-bottom: 6px;
  border-bottom: 1px solid var(--hair);
  margin-bottom: 14px;
}

.editor-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  position: sticky;
  bottom: 12px;
  background: rgba(252, 252, 252, 0.92);
  backdrop-filter: blur(10px);
  padding: 12px;
  border: 1px solid var(--hair);
  border-radius: 16px;
}

.hint {
  display: block;
  font-size: 12px;
  color: var(--soft);
  margin-top: 4px;
}

.hint--skip {
  color: var(--brand);
  opacity: 0.85;
}

.ed {
  display: grid;
  gap: 20px;
  align-items: start;
}

@media (min-width: 1100px) {
  .ed {
    grid-template-columns: minmax(0, 1fr) minmax(400px, 46%);
  }
}

.ed__form {
  display: grid;
  gap: 20px;
  min-width: 0;
}

.ed__preview {
  position: sticky;
  top: 84px;
  display: grid;
  gap: 10px;
  min-width: 0;
}

.ed__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.ed__bar .btn {
  padding: 7px 14px;
  font-size: 13px;
}

.ed__devices {
  display: inline-flex;
  border: 1px solid var(--hair);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}

.ed__devices button {
  border: 0;
  background: none;
  font: inherit;
  font-size: 13px;
  padding: 7px 16px;
  cursor: pointer;
  color: var(--soft);
}

.ed__devices button.on {
  background: var(--brand);
  color: #fff;
}

.ed__stage {
  border: 1px solid var(--hair);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 14px;
}

.ed__stage > * {
  grid-area: 1 / 1;
}

.ed__frame--moi {
  opacity: 0;
  pointer-events: none;
}

.ed__stage iframe {
  width: 100%;
  height: 72vh;
  min-height: 520px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  display: block;
}

.ed__stage--phone iframe {
  width: 390px;
  max-width: 100%;
  box-shadow: 0 10px 30px rgba(26, 26, 26, 0.12);
}

.ed__note {
  margin: 0;
  font-size: 12px;
  color: var(--soft);
}

.ed__state {
  margin-right: auto;
  font-size: 13px;
  color: var(--soft);
}

.ed__state--ok {
  color: var(--ok);
}

.ed__state--bad {
  color: var(--bad);
}

.editor-actions {
  align-items: center;
}

/* ---------- ví & nạp tiền ---------- */

.nap__tieu-de {
  margin: 28px 0 14px;
  font-size: 1.5rem;
}

.goi-list {
  display: grid;
  gap: 16px;
  margin-bottom: 20px;
}

@media (min-width: 800px) {
  .goi-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.goi-the {
  padding: 24px 22px;
  border-radius: 16px;
  border: 1px solid var(--hair);
  background: #fff;
  display: flex;
  flex-direction: column;
}

.goi-the--dang {
  border-color: var(--ok);
  background: rgba(23, 105, 74, 0.04);
}

.goi-the--noi-bat {
  border-color: var(--brand);
  border-width: 2px;
  position: relative;
}

.goi-the__badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 12px;
  background: var(--brand);
  color: #fff;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.goi-the h3 {
  margin: 0;
  font-size: 1.3rem;
}

.goi-the__tien {
  margin: 8px 0 16px;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--brand);
}

.goi-the ul {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 13.5px;
  flex: 1;
}

.goi-the li {
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}

.goi-the li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-size: 11px;
  font-weight: 700;
}

.goi-the .btn {
  width: 100%;
}

.goi-the__dang {
  margin: 0;
  padding: 11px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--ok);
  border-radius: 999px;
  background: rgba(23, 105, 74, 0.1);
}

.phai {
  text-align: right;
}

td.cong {
  color: var(--ok);
  font-weight: 600;
}

td.tru {
  color: var(--bad);
  font-weight: 600;
}

.btn-sm {
  padding: 8px 15px;
  font-size: 13px;
}

.qr-o__hien {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 6px 0 8px;
}

.qr-o__hien img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid var(--hair);
  background: #fff;
  padding: 4px;
}

.qr-o__trong {
  margin: 0;
  font-size: 13px;
  color: var(--soft);
}

.qr-o .photo__btn {
  flex: none;
  padding: 7px 14px;
  border: 1px solid var(--hair);
  border-radius: 999px;
}

.cs-moc {
  padding: 16px 16px 4px;
  margin-bottom: 14px;
  border: 1px solid var(--hair);
  border-radius: 14px;
  background: var(--wash);
}

.cs-moc__so {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}

.cs-anh__hien {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 6px 0 8px;
}

.cs-anh__hien img {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--hair);
}

.cs-anh__trong {
  margin: 0;
  font-size: 13px;
  color: var(--soft);
}

.cs-anh .photo__btn {
  flex: none;
  padding: 7px 14px;
  border: 1px solid var(--hair);
  border-radius: 999px;
}

/* ---------- bản dùng thử ---------- */

.thu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 18px;
  padding: 16px 18px;
  border: 1px solid rgba(212, 18, 76, 0.28);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 242, 239, 0.9), rgba(255, 233, 238, 0.9));
}

.thu b {
  font-size: 15px;
}

.thu p {
  margin: 5px 0 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--soft);
}

.thu code {
  padding: 1px 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.7);
  font-size: 12.5px;
}

.thu--het {
  border-color: rgba(177, 14, 63, 0.4);
  background: #fff;
}

.pill--thu {
  background: rgba(212, 18, 76, 0.12);
  color: var(--brand);
}

.pill--het {
  background: rgba(177, 14, 63, 0.12);
  color: var(--bad);
}

/* ---------- khu quản trị ---------- */

.qt-doi {
  display: grid;
  gap: 16px;
}

@media (min-width: 900px) {
  .qt-doi {
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
  }
}

.qt-hang {
  display: grid;
  gap: 10px;
  align-items: end;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--hair);
}

@media (min-width: 620px) {
  .qt-hang {
    grid-template-columns: 1fr 1fr auto;
  }
}

.qt-tim {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.qt-tim .input {
  min-width: 230px;
}

.qt-loc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.qt-loc .btn.on {
  border-color: var(--brand);
  color: var(--brand);
}

.qt-so-du {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.4rem;
  font-weight: 500;
  font-variant-numeric: lining-nums;
  color: var(--brand);
}

.table-cuon {
  overflow-x: auto;
}

/* ---------- ô nhập tiền ---------- */

.qt-tien-o {
  position: relative;
}

.qt-tien-o .input {
  padding-right: 42px;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.qt-tien-o::after {
  content: "đ";
  position: absolute;
  right: 14px;
  bottom: 11px;
  font-weight: 700;
  color: #7b8199;
  pointer-events: none;
}

.qt-doc {
  margin: 6px 0 0;
  min-height: 20px;
  font-size: 0.86rem;
  color: #7b8199;
  font-style: italic;
}

.qt-doc.on {
  color: #d4124c;
  font-style: normal;
  font-weight: 600;
}

.qt-nhanh {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 16px;
}

.qt-nhanh button {
  padding: 6px 11px;
  border: 1px solid #e6e8f0;
  border-radius: 999px;
  background: #fff;
  color: #2b2f45;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.qt-nhanh button:hover {
  border-color: #d4124c;
  color: #d4124c;
}

/* ---------- hộp thoại ---------- */

body.qt--khoa {
  overflow: hidden;
}

.qt-hop {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.18s ease;
}

.qt-hop.hien {
  opacity: 1;
}

.qt-hop[hidden] {
  display: none;
}

.qt-hop__nen {
  position: absolute;
  inset: 0;
  background: rgba(18, 20, 32, 0.55);
  backdrop-filter: blur(2px);
}

.qt-hop__o {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: calc(100vh - 32px);
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(16, 18, 30, 0.35);
  translate: 0 14px;
  scale: 0.985;
  transition: translate 0.2s ease, scale 0.2s ease;
}

.qt-hop.hien .qt-hop__o {
  translate: none;
  scale: none;
}

.qt-hop--rong .qt-hop__o {
  width: min(680px, 100%);
}

.qt-hop__dau {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 18px;
  border-radius: 16px 16px 0 0;
  background: #eef2ff;
  color: #3730a3;
}

.qt-hop__dau--xanh {
  background: #e7f6ed;
  color: #14683c;
}

.qt-hop__dau--do {
  background: #fdeaea;
  color: #a51d1d;
}

.qt-hop__dau h3 {
  flex: 1;
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.qt-hop__dau svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.qt-hop__x {
  border: 0;
  background: none;
  color: inherit;
  font-size: 1.5rem;
  line-height: 1;
  padding: 0 2px;
  cursor: pointer;
  opacity: 0.6;
}

.qt-hop__x:hover {
  opacity: 1;
}

.qt-hop__than {
  padding: 18px;
  overflow-y: auto;
}

.qt-hop__than .field {
  margin-bottom: 12px;
}

.qt-hop__chan {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 13px 18px;
  border-top: 1px solid #e6e8f0;
  background: #fafbfe;
  border-radius: 0 0 16px 16px;
}

.qt-hop p {
  margin: 0 0 12px;
  line-height: 1.6;
}

/* dòng tóm tắt trong hộp */

.qt-tom {
  display: grid;
  gap: 8px;
  margin-bottom: 15px;
  padding: 13px 15px;
  border-radius: 12px;
  background: #f4f6fb;
  font-size: 0.92rem;
}

.qt-tom div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.qt-tom span {
  color: #7b8199;
}

.qt-tom b {
  text-align: right;
  word-break: break-word;
}

/* ---------- thẻ số liệu có biểu tượng ---------- */

.qt-thong {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.qt-thong__o {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  padding: 16px;
  border: 1px solid #e6e8f0;
  border-radius: 14px;
  background: #fff;
}

.qt-thong__hinh {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: #eef2ff;
  color: #4338ca;
}

.qt-thong__o--xanh .qt-thong__hinh {
  background: #e7f6ed;
  color: #14683c;
}

.qt-thong__o--vang .qt-thong__hinh {
  background: #fdf3e0;
  color: #8a5a10;
}

.qt-thong__o--do .qt-thong__hinh {
  background: #fdeaea;
  color: #a51d1d;
}

.qt-thong__hinh svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.qt-thong__chu {
  min-width: 0;
}

.qt-thong__chu span {
  display: block;
  font-size: 0.79rem;
  color: #7b8199;
}

.qt-thong__chu b {
  display: block;
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.25;
  word-break: break-word;
}

.qt-thong__o--xanh .qt-thong__chu b {
  color: #14683c;
}

.qt-thong__o--do .qt-thong__chu b {
  color: #a51d1d;
}

/* ---------- nút có biểu tượng ---------- */

.btn svg {
  width: 16px;
  height: 16px;
  margin-right: 5px;
  vertical-align: -3px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn {
  white-space: nowrap;
}

/* ---------- khu tài khoản ---------- */

.tk {
  display: grid;
  gap: 16px;
  align-items: start;
  margin: 18px 0;
}

@media (min-width: 900px) {
  .tk {
    grid-template-columns: 236px minmax(0, 1fr);
  }
}

.tk__menu {
  display: grid;
  gap: 8px;
}

@media (max-width: 899px) {
  .tk__menu {
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .tk__menu::-webkit-scrollbar {
    display: none;
  }
}

.tk__menu a,
.tk__menu button {
  display: flex;
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--hair);
  border-radius: 11px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 13.5px;
  font-weight: 500;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
}

.tk__menu form {
  margin: 0;
}

.tk__menu svg {
  flex: none;
  width: 17px;
  height: 17px;
  stroke: var(--soft);
  fill: none;
  stroke-width: 1.7;
}

.tk__menu a:hover,
.tk__menu button:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.tk__menu a:hover svg,
.tk__menu button:hover svg {
  stroke: var(--brand);
}

.tk__menu a.dang {
  border-color: var(--brand);
  background: #fdf1f4;
  color: var(--brand);
  font-weight: 600;
}

.tk__menu a.dang svg {
  stroke: var(--brand);
}

.tk__noi {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.tk__noi > .card {
  min-width: 0;
  margin: 0;
}

.tk-hep {
  max-width: 520px;
}

.tk-vi__du {
  margin: 4px 0 0;
  color: var(--brand);
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.tk-vi__nhan {
  margin: 2px 0 16px;
  color: var(--soft);
  font-size: 13px;
}

.tk-vi__o {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 720px) {
  .tk-vi__o {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .tk-vi__o--ba {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.tk-vi__o > div {
  display: grid;
  gap: 4px;
  padding: 13px 14px;
  border: 1px solid var(--hair);
  border-radius: 11px;
  background: #fbfaf9;
}

.tk-vi__o span {
  color: var(--soft);
  font-size: 12px;
}

.tk-vi__o b {
  font-size: 15px;
  font-weight: 700;
}

.tk-vi__o b.cong {
  color: var(--ok);
}

.tk-vi__o b.tru {
  color: var(--bad);
}

.tk-ho-so {
  display: grid;
  gap: 0;
  margin: 0;
}

@media (min-width: 720px) {
  .tk-ho-so {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 26px;
  }
}

.tk-ho-so > div {
  display: grid;
  gap: 3px;
  padding: 11px 0;
  border-bottom: 1px solid var(--hair);
}

.tk-ho-so dt {
  color: var(--soft);
  font-size: 12.5px;
}

.tk-ho-so dd {
  margin: 0;
  font-weight: 600;
  word-break: break-word;
}

.tk-bm {
  display: grid;
  gap: 10px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.tk-bm li {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--hair);
  border-radius: 12px;
}

.tk-bm li > svg {
  flex: none;
  width: 20px;
  height: 20px;
  fill: none;
  stroke-width: 1.7;
}

.tk-bm span {
  display: grid;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.tk-bm b {
  font-size: 14px;
}

.tk-bm i {
  color: var(--soft);
  font-size: 12.5px;
  font-style: normal;
  line-height: 1.55;
}

.tk-bm--ok {
  background: #f4faf7;
}

.tk-bm--ok > svg {
  stroke: var(--ok);
}

.tk-bm--nhac {
  background: #fdf6ec;
  border-color: #efd9b8;
}

.tk-bm--nhac > svg {
  stroke: #d9750f;
}

/* ---------- khối dùng chung với khu quản trị ---------- */

/* ---------- đầu trang ---------- */

.qt-de {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}

.qt-de h1 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  font-weight: 500;
}

.qt-de p {
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--qt-soft);
}

.card > .qt-de {
  margin-bottom: 14px;
}

.card > .qt-de h2 {
  margin: 0;
}

/* ---------- lọc dạng thẻ ---------- */

.qt-loc-tab {
  display: flex;
  width: fit-content;
  max-width: 100%;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 16px;
  padding: 4px;
  border-radius: 12px;
  background: #ebedf4;
}

.qt-loc-tab a {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 9px;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--qt-soft);
}

.qt-loc-tab a:hover {
  color: var(--qt-ink);
}

.qt-loc-tab a.on {
  background: #fff;
  color: var(--qt-ink);
  box-shadow: 0 2px 8px rgba(24, 27, 44, 0.1);
}

.qt-loc-tab em {
  padding: 1px 7px;
  border-radius: 999px;
  background: #d9dcea;
  color: #4a4f6b;
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 700;
}

.qt-loc-tab a.on em {
  background: var(--qt-brand);
  color: #fff;
}

/* ---------- bảng ---------- */

.qt-tien-cot {
  font-size: 1.02rem;
  font-weight: 700;
  white-space: nowrap;
}

.qt-tien-cot small {
  display: block;
  font-size: 0.76rem;
  font-weight: 500;
  font-style: italic;
  color: var(--qt-soft);
}

/* ---------- trang nạp tiền của khách ---------- */

.nap {
  display: grid;
  gap: 16px;
  margin: 18px 0;
}

@media (min-width: 900px) {
  .nap {
    grid-template-columns: 1fr 1fr;
  }
}

.nap__the {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--hair);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(43, 35, 32, 0.04);
}

.nap__dau {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 18px;
  color: #fff;
}

.nap__dau--cam {
  background: linear-gradient(100deg, #d9750f, #c25c05);
}

.nap__dau--xanh {
  background: linear-gradient(100deg, #2b4a7d, #1e3a63);
}

.nap__dau--xam {
  background: linear-gradient(100deg, #6d6663, #55504d);
}

.nap__dau-hinh {
  display: grid;
  flex: none;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.18);
}

.nap__dau-hinh svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
}

.nap__dau-chu {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.nap__dau-chu b {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.nap__dau-chu i {
  font-size: 12.5px;
  font-style: normal;
  opacity: 0.82;
}

.nap__than {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.nap__luu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nap__luu li {
  position: relative;
  padding: 0 0 0 20px;
  margin-bottom: 10px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.55;
}

.nap__luu li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 4px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d9750f;
}

.nap__ho-tro {
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--hair);
  font-size: 13px;
  color: var(--soft);
}

.nap__the--luu {
  align-self: start;
}

.nap__ho-tro a {
  color: var(--brand);
  font-weight: 600;
  text-decoration: underline;
}

.nap__anh {
  width: 100%;
  max-width: 230px;
  margin: 16px auto 0;
}

.nap__qr {
  display: grid;
  justify-items: center;
  padding: 12px;
  margin-bottom: 16px;
  border: 1px solid var(--hair);
  border-radius: 12px;
  background: #fff;
}

.nap__qr img {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 1;
  height: auto;
}

.nap__qr--trong {
  gap: 10px;
  padding: 26px 18px;
  background: #faf8f7;
}

.nap__qr--trong svg {
  width: 30px;
  height: 30px;
  stroke: var(--soft);
  fill: none;
  stroke-width: 1.6;
}

.nap__qr--trong p {
  margin: 0;
  color: var(--soft);
  font-size: 13px;
  text-align: center;
}

.nap__nd {
  display: grid;
  gap: 8px;
  justify-items: center;
  padding: 14px;
  margin-bottom: 16px;
  border: 1.5px dashed #e8879f;
  border-radius: 12px;
  background: #fff5f7;
  text-align: center;
}

.nap__nd > span {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a8566c;
}

.nap__nd > b {
  display: flex;
  gap: 8px;
  align-items: center;
  min-width: 0;
}

.nap__nd i {
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--brand);
  word-break: break-all;
}

.nap__hang {
  margin: 0;
}

.nap__hang > div {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid var(--hair);
}

.nap__hang > div:last-child {
  border-bottom: 0;
}

.nap__hang dt {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: var(--soft);
}

.nap__hang dt svg {
  width: 16px;
  height: 16px;
  stroke: var(--soft);
  fill: none;
  stroke-width: 1.7;
}

.nap__hang dd {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 0;
  min-width: 0;
  font-weight: 700;
  text-align: right;
  word-break: break-word;
}

.nap__stk {
  font-style: normal;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: #17694a;
}

.nap__chep {
  display: grid;
  flex: none;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid var(--hair);
  border-radius: 7px;
  background: #fff;
  cursor: pointer;
}

.nap__chep svg {
  width: 14px;
  height: 14px;
  stroke: var(--soft);
  fill: none;
  stroke-width: 1.8;
}

.nap__chep:hover {
  border-color: var(--brand);
}

.nap__chep:hover svg {
  stroke: var(--brand);
}

.nap__chep--xong {
  border-color: var(--ok);
  background: #e7f4ee;
}

.nap__chep--xong svg {
  stroke: var(--ok);
}

.nap__chep--tay {
  border-color: #d9750f;
  background: #fdf3e7;
}

.nap__chep--tay svg {
  stroke: #d9750f;
}

.nap__chan {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 16px 0 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--soft);
}

.nap__chan svg {
  flex: none;
  width: 15px;
  height: 15px;
  margin-top: 1px;
  stroke: #d9750f;
  fill: none;
  stroke-width: 1.7;
}

.nap__bao h2 {
  margin: 0 0 4px;
}

.nap__bao-hang {
  display: grid;
  gap: 12px;
  align-items: end;
  margin-top: 12px;
}

@media (min-width: 760px) {
  .nap__bao-hang {
    grid-template-columns: 1fr 1fr auto;
  }
}

.nap__bao-hang .field {
  margin: 0;
}

/* ---------- lịch sử nạp tiền ---------- */

.nap-ls {
  overflow: hidden;
  margin: 18px 0;
  border: 1px solid var(--hair);
  border-radius: 14px;
  background: #fff;
}

.nap-ls__dau {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 13px 18px;
  background: linear-gradient(100deg, #6f7fd6, #63b7e8);
  color: #fff;
}

.nap-ls__dau svg {
  width: 19px;
  height: 19px;
  stroke: #fff;
  fill: none;
  stroke-width: 1.8;
}

.nap-ls__dau h2 {
  margin: 0;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nap-ls__than {
  padding: 16px 18px 18px;
}

.nap-ls__loc {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}

@media (min-width: 860px) {
  .nap-ls__loc {
    grid-template-columns: 1fr 1fr 1fr auto auto;
    align-items: center;
  }
}

.nap-ls__loc .btn {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.nap-ls__loc .btn svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

.nap-ls__tat {
  opacity: 0.45;
  pointer-events: none;
}

.nap-ls__chon {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.nap-ls__chon label {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12.5px;
  color: var(--soft);
}

.nap-ls__chon .input {
  width: auto;
  padding: 7px 10px;
  font-size: 13px;
}

.nap-ls__trong {
  margin: 0;
  padding: 22px 0;
  text-align: center;
}

.nap-ls__bang th,
.nap-ls__bang td {
  white-space: nowrap;
}

.nap-ls__bang td .muted {
  display: block;
  font-size: 11.5px;
  white-space: normal;
}

.nap-ls__ma {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: #2b4a7d;
}

.nap-ls__nd {
  display: inline-block;
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: bottom;
  font-size: 12.5px;
  white-space: nowrap;
}

.nap-ls__bang tfoot td {
  border-top: 2px solid var(--hair);
  font-weight: 700;
  color: var(--soft);
}

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

.nap-ls__chan p {
  margin: 0;
  font-size: 12.5px;
  color: var(--soft);
}

.nap-ls__so {
  display: flex;
  gap: 6px;
}

.nap-ls__so a {
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  padding: 0 9px;
  border: 1px solid var(--hair);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--soft);
}

.nap-ls__so a:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.nap-ls__so a.dang {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.nhac-chon {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid #e6e8f0;
  border-radius: 10px;
  background: #fff;
  color: #2b2f45;
  font: inherit;
}

.nhac-chon:focus {
  outline: 2px solid #d4124c;
  outline-offset: 1px;
}

.grid3 {
  display: grid;
  gap: 0 16px;
}

@media (min-width: 720px) {
  .grid3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gd-rieng {
  border-left: 2px solid var(--hair);
  padding-left: 14px;
  margin: 0 0 16px;
}

.gd-thu {
  display: block;
  margin-top: 6px;
  font-size: 19px;
  line-height: 1.5;
  font-weight: 400;
  color: var(--soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gd-thu--co {
  color: var(--ink);
}

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

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

.gd-nut span {
  display: block;
  padding: 8px 16px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  cursor: pointer;
}

.gd-nut input:checked + span {
  border-color: var(--brand);
  color: var(--brand);
  font-weight: 500;
}

.gd-nut input:focus-visible + span {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.gd-bang {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
}

.gd-o {
  display: block;
  cursor: pointer;
  text-align: center;
}

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

.gd-o__hinh {
  display: block;
  height: 44px;
  border: 1px solid var(--hair);
  border-radius: 12px;
}

.gd-o__hinh--giu {
  background: repeating-linear-gradient(135deg, #fff 0 6px, #f1eeed 6px 12px);
}

.gd-o__hinh--tu {
  background: conic-gradient(#d4124c, #d98f2f, #caa93a, #3c7a5a, #2f6f8f, #6b5b8e, #d4124c);
}

.gd-o__ten {
  display: block;
  margin-top: 5px;
  min-height: 2.7em;
  font-size: 12px;
  line-height: 1.35;
  color: var(--soft);
}

.gd-o input:checked ~ .gd-o__hinh {
  border-color: var(--brand);
  box-shadow: 0 0 0 2px var(--brand);
}

.gd-o input:checked ~ .gd-o__ten {
  color: var(--ink);
  font-weight: 500;
}

.gd-o input:focus-visible ~ .gd-o__hinh {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.chu-chon {
  position: relative;
}

.chu-chon__nut {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--hair);
  border-radius: 12px;
  background: #fff;
  font-size: 15px;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
}

.chu-chon__nut svg {
  flex: none;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--soft);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chu-chon__ten {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chu-chon__bang {
  position: absolute;
  z-index: 30;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  padding: 10px;
  border: 1px solid var(--hair);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(58, 46, 43, 0.16);
}

.chu-chon__tim {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--hair);
  border-radius: 10px;
  font: inherit;
  font-size: 14px;
}

.chu-chon__loc {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0;
}

.chu-chon__loc-o {
  padding: 5px 11px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  background: #fff;
  font-size: 12.5px;
  cursor: pointer;
}

.chu-chon__loc-o.on {
  border-color: var(--brand);
  color: var(--brand);
  font-weight: 500;
}

.chu-chon__ds {
  max-height: 300px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.chu-chon__o {
  display: block;
  width: 100%;
  padding: 9px 10px;
  border: 0;
  border-radius: 9px;
  background: none;
  font-size: 17px;
  line-height: 1.45;
  text-align: left;
  cursor: pointer;
}

.chu-chon__o:hover,
.chu-chon__o:focus-visible {
  background: #f6f2f1;
}

.chu-chon__o.on {
  background: #fdeef3;
  color: var(--brand);
}

.chu-chon__trong {
  margin: 12px 4px;
  font-size: 13px;
  color: var(--soft);
}

.gd-so {
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--brand);
}

.photo__btn--on {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.gd-sau {
  margin: 0 0 16px;
  border: 1px solid var(--hair);
  border-radius: 12px;
  background: #fff;
}

.gd-sau > summary {
  padding: 11px 14px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}

.gd-sau > summary::-webkit-details-marker {
  display: none;
}

.gd-sau > summary::before {
  content: "+ ";
  color: var(--soft);
}

.gd-sau[open] > summary::before {
  content: "– ";
}

.gd-sau > *:not(summary) {
  margin-left: 14px;
  margin-right: 14px;
}

.gd-sau[open] {
  padding-bottom: 8px;
}
