/* Kho voucher – Figma 438:7077 (desktop) / 440:4311 (mobile), card component 461:7641. Markup: [ldp_vc_page]. */
.ldp-pgx--vc { max-width: calc(1122px + 2 * var(--gutter)); }
.ldp-vc { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 24px; align-items: start; }

/* Left account card */
.ldp-vc__side { border-radius: 16px; background: #fff; overflow: hidden; }
.ldp-vc__user { padding: 18px 16px 34px; background: linear-gradient(160deg, #1f6fc5, #134a8a); color: #fff; }
.ldp-vc__who { display: flex; flex-direction: column; gap: 2px; padding: 0 0 14px; }
.ldp-vc__who b { font: 700 22px/1.3 var(--font); color: #fff; }
.ldp-vc__who span { font-size: 15px; opacity: .92; }
.ldp-vc__promo { padding: 14px 14px 14px; border-radius: 10px; background: #fff; color: var(--n-900); }
.ldp-vc__count { margin: 0 0 10px; padding-bottom: 10px; border-bottom: 1px solid var(--n-200); font: 600 14px/1.4 var(--font); }
.ldp-vc__count b { font-weight: 700; }
.ldp-vc__hot { margin: 0 0 8px; font: 700 15px/1.3 var(--font); color: var(--red-500); }
.ldp-vc__note { margin: 0 0 12px; font-size: 12px; line-height: 1.5; color: #5b6b82; }
.ldp-vc__btns { display: flex; gap: 8px; }
.ldp-vc__btns .ldp-sbtn { flex: 1; min-height: 36px; padding: 0 10px; border-radius: 6px; font-size: 14px; }
.ldp-vc__nav { position: relative; margin-top: -18px; padding: 18px 16px 20px; border-radius: 18px 18px 0 0; background: #fff; display: flex; flex-direction: column; gap: 8px; }
.ldp-vc__nav a { display: flex; align-items: center; gap: 14px; height: 72px; padding: 0 16px; border-radius: 10px; font: 500 16px/1.3 var(--font); color: var(--n-900); }
.ldp-vc__nav a:hover { background: var(--n-100); }
.ldp-vc__nav a.is-active { background: var(--blue-50); color: var(--blue-600); }
.ldp-vc__nav i { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 50%; }
.ldp-vc__nav i.is-green { background: #e8f6ee; color: #16a34a; }
.ldp-vc__nav i.is-purple { background: #f1e8fd; color: #8b5cf6; }
.ldp-vc__nav i.is-blue { background: #e6f1fc; color: var(--blue-600); }
.ldp-vc__nav a.ldp-vc__out { justify-content: center; height: 48px; margin-top: 8px; font-weight: 600; color: var(--red-500); gap: 8px; }
.ldp-vc__nav a.ldp-vc__out--in { color: var(--blue-600); }

/* Right panel */
.ldp-vc__main { padding: 20px 16px 24px; border-radius: 16px; background: #fff; }
.ldp-pgx .ldp-vc__title { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; padding: 0 8px; font: 500 22px/1.3 var(--font); color: var(--n-900); }
.ldp-vc__title a { display: grid; place-items: center; color: var(--n-900); }
.ldp-vc__tabs { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 18px; border-bottom: 1px solid var(--n-200); }
.ldp-vc__tabs button { height: 44px; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; background: none; font: 400 17px/1 var(--font); color: var(--n-900); cursor: pointer; }
.ldp-vc__tabs button.is-active { border-color: var(--red-500); color: var(--red-500); }
.ldp-vc__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ldp-vcard { display: flex; min-height: 96px; border: 1px solid #dfe5ec; border-radius: 6px; background: #fff; overflow: hidden; box-shadow: 0 1px 2px rgba(15, 33, 64, .06); }
.ldp-vcard[hidden] { display: none; }
.ldp-vcard__side { flex: 0 0 44px; display: grid; place-items: center; background: var(--blue-600); }
.ldp-vc .ldp-vcard__side img { width: 30px; height: 30px !important; max-width: none; border-radius: 50%; object-fit: cover; object-position: 6% 50%; background: #fff; border: 2px solid #fff; }
.ldp-vcard__body { flex: 1; min-width: 0; display: flex; flex-direction: column; padding: 8px 10px 8px 10px; }
.ldp-vcard h3 { margin: 0 0 4px; font: 700 15px/1.35 var(--font); color: var(--n-900); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ldp-vcard p { margin: 0; font-size: 11px; line-height: 1.4; color: #6b7b8f; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ldp-vcard__foot { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-top: auto; padding-top: 4px; }
.ldp-vcard code { display: none; padding: 2px 6px; border: 1px dashed var(--blue-500); border-radius: 4px; background: var(--blue-50); font: 700 12px/1.4 var(--font); color: var(--blue-700); letter-spacing: .4px; }
.ldp-vcard.is-taken code { display: inline-block; margin-right: auto; }
.ldp-vcard__btn { height: 22px; padding: 0 9px; border: 1px solid var(--blue-600); border-radius: 3px; background: #fff; font: 500 13px/1 var(--font); color: var(--blue-600); cursor: pointer; }
.ldp-vcard__btn:hover { background: var(--blue-600); color: #fff; }
.ldp-vc__empty { margin: 8px 0 0; padding: 28px 12px; border: 1px dashed var(--n-250); border-radius: 10px; font-size: 14px; color: #5b6b82; text-align: center; }
.ldp-vc__hint { margin: 14px 0 0; font-size: 12px; color: #5b6b82; }
.ldp-vc__toast { margin: 6px 0 0; min-height: 18px; font: 600 13px/1.4 var(--font); color: var(--green); }

@media (max-width: 1100px) {
	.ldp-vc { grid-template-columns: 280px minmax(0, 1fr); }
	.ldp-vc__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 991px) {
	.ldp-vc { grid-template-columns: 1fr; gap: 16px; }
	.ldp-vc__side { border-radius: 16px; }
	.ldp-vc__user { padding: 14px 14px 14px; }
	.ldp-vc__who { flex-direction: row; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; padding-bottom: 10px; }
	.ldp-vc__who b { font-size: 19px; }
	.ldp-vc__who span { font-size: 14px; }
	.ldp-vc__promo { padding: 10px 12px 12px; }
	.ldp-vc__hot { font-size: 13px; margin-bottom: 10px; }
	.ldp-vc__nav { display: none; }
	.ldp-vc__main { padding: 16px 12px 20px; }
	.ldp-pgx .ldp-vc__title { font-size: 19px; padding: 0 4px; }
	.ldp-vc__tabs button { font-size: 16px; }
	.ldp-vc__grid { grid-template-columns: 1fr; gap: 12px; }
	.ldp-vcard__side { flex-basis: 46px; }
	.ldp-vcard__body { padding: 10px 10px 8px 10px; }
	.ldp-vcard h3 { white-space: normal; font-size: 14px; }
	.ldp-vcard p { font-size: 12px; }
	.ldp-vcard__btn { height: 26px; font-size: 13px; }
}
