/**
 * Chamspace Báo giá Trọn gói Design & Build — CSS + Print
 * Trọn gói = Phần thô + Hoàn thiện (Thiết kế miễn phí)
 */

/* Cards (gói thiết kế) */
.tg-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
@media(max-width:600px){.tg-cards{grid-template-columns:1fr}}
.tg-card{background:#fff;border:2px solid #e8e8e8;border-radius:14px;padding:18px 16px;text-align:center;cursor:pointer;transition:all .25s;display:flex;flex-direction:column;position:relative}
.tg-card:hover{border-color:#ccc;transform:translateY(-2px);box-shadow:0 8px 24px rgba(0,0,0,0.06)}
.tg-card-active{border-color:#E20612!important;background:#fff8f8;box-shadow:0 0 0 4px rgba(226,6,18,0.1);transform:translateY(-2px)}
.tg-card-badge{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:0.06em;margin-bottom:6px;color:#E20612;height:16px}
.tg-card h3{font-size:16px;font-weight:800;margin:0 0 4px;letter-spacing:-0.01em;font-family:'Plus Jakarta Sans',sans-serif}
.tg-card-sub{font-size:11px;color:#999;margin:0 0 12px;font-family:'Plus Jakarta Sans',sans-serif;line-height:1.4}
.tg-card-price{font-size:15px;font-weight:800;color:#E20612;padding:8px 0 0;border-top:1px solid #eee;font-family:'Plus Jakarta Sans',sans-serif;margin-top:auto}
.tg-card-free{font-size:11px;font-weight:800;color:#fff;background:#22c55e;padding:4px 0;border-radius:6px;margin-top:6px;font-family:'Plus Jakarta Sans',sans-serif}

/* Sub label */
.tg-sub-label{font-size:12px;font-weight:700;color:#999;text-transform:uppercase;letter-spacing:0.05em;margin-bottom:10px;font-family:'Plus Jakarta Sans',sans-serif}

/* Style cards with thumbnails — LARGER, max 3 cols */
.tg-style-cards{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}
.tg-style-3col{grid-template-columns:repeat(3,1fr)}
@media(max-width:720px){.tg-style-cards{grid-template-columns:repeat(2,1fr)}.tg-style-3col{grid-template-columns:repeat(2,1fr)}}
@media(max-width:400px){.tg-style-cards{grid-template-columns:1fr}.tg-style-3col{grid-template-columns:1fr}}

.tg-style-card{background:#fff;border:2px solid #e8e8e8;border-radius:16px;padding:12px;text-align:center;cursor:pointer;transition:all .2s;display:flex;flex-direction:column;align-items:center;gap:10px;position:relative;overflow:hidden}
.tg-style-card:hover{border-color:#ccc;transform:translateY(-2px);box-shadow:0 8px 24px rgba(0,0,0,0.08)}
.tg-style-active{border-color:#E20612!important;box-shadow:0 0 0 4px rgba(226,6,18,0.1)}
.tg-style-thumb{width:100%;aspect-ratio:16/9;border-radius:12px;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#f5f5f5}
.tg-style-thumb img{width:100%;height:100%;object-fit:cover}
.tg-style-thumb svg{width:56px;height:40px;opacity:0.6}
.tg-style-card span{font-size:13px;font-weight:700;color:#333;font-family:'Plus Jakarta Sans',sans-serif}
.tg-style-active span{color:#E20612}

/* Result includes */
.tg-result-includes{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-bottom:18px;font-size:12px;color:rgba(255,255,255,0.7);font-family:'Plus Jakarta Sans',sans-serif}
.tg-result-includes span{display:inline-flex;align-items:center;gap:4px}

@media(max-width:600px){
  .tg-card{padding:14px 12px}
  .tg-card h3{font-size:14px}
  .tg-card-price{font-size:13px}
  .tg-card-free{font-size:10px}
  .tg-sub-label{font-size:11px}
  .tg-style-card span{font-size:11px}
  .tg-style-card{padding:10px;gap:8px}
  .tg-result-includes{flex-direction:column;align-items:center;gap:6px;font-size:11px}
}

/* ═══ 3 GOI D&B CARDS ═══ */
.tg-db-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.tg-db-card{position:relative;background:#fff;border:2px solid #e5e5e5;border-radius:16px;overflow:hidden;cursor:pointer;transition:transform .3s,box-shadow .3s,border-color .3s;display:flex;flex-direction:column}
.tg-db-card:hover{transform:translateY(-4px);box-shadow:0 16px 48px rgba(0,0,0,0.08)}
.tg-db-card--featured{background:#1a1a1a;border-color:#1a1a1a}
.tg-db-card--featured:hover{box-shadow:0 20px 56px rgba(0,0,0,0.25)}

/* ═══ TRỌN — Premium Luxury ═══ */
.tg-db-card--premium{background:linear-gradient(160deg,#faf8f5 0%,#f5f0e8 40%,#faf8f5 100%);border:2px solid #d4af37;background-clip:padding-box;position:relative}
.tg-db-card--premium:hover{transform:translateY(-6px);box-shadow:0 24px 64px rgba(0,0,0,0.12),0 8px 24px rgba(212,175,55,0.15)}
.tg-db-card--premium.tg-db-card--active{border-color:#d4af37!important;box-shadow:0 0 0 4px rgba(212,175,55,0.25)!important}

.tg-db-card--premium .tg-db-card-name{background:linear-gradient(135deg,#c9a84c 0%,#8b6914 50%,#b8941e 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
.tg-db-card--premium .tg-db-card-tag{color:#8b6914;background:rgba(201,168,76,0.15);border:1px solid rgba(201,168,76,0.3)}
.tg-db-card--premium .tg-db-card-div{background:linear-gradient(90deg,#c9a84c,#f0d78c,#c9a84c);width:48px;opacity:0.8}
.tg-db-card--premium .tg-db-checklist li{color:#4a4a4a;border-bottom-color:rgba(0,0,0,0.06)}
.tg-db-card--premium .tg-db-checklist .chk-wrap{background:linear-gradient(135deg,#c9a84c,#d4af37);box-shadow:0 2px 8px rgba(201,168,76,0.3)}
.tg-db-card--premium .tg-db-checklist .crs-wrap svg{stroke:#ccc}
.tg-db-card--premium .tg-db-card-price{color:#8b6914!important}
.tg-db-card--active{border-color:#E20612!important;box-shadow:0 0 0 4px rgba(226,6,18,0.12)!important}
.tg-db-card--featured.tg-db-card--active{border-color:#E20612!important}

.tg-db-card-head{padding:28px 24px 0;text-align:center}
.tg-db-card-icon{font-size:28px;margin:0 0 10px;line-height:1;color:#E20612}
.tg-db-card-name{font-size:clamp(22px,2.5vw,28px);font-weight:800;color:#1a1a1a;margin:0 0 2px;letter-spacing:-0.02em}
.tg-db-card--featured .tg-db-card-name{color:#fff}
.tg-db-card-tag{display:inline-block;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:0.1em;padding:3px 12px;border-radius:100px;margin:8px 0 4px;color:#999;background:#f0f0f0}
.tg-db-card--featured .tg-db-card-tag{color:#E20612;background:rgba(226,6,18,0.14)}

.tg-db-card-div{width:32px;height:2px;background:#E20612;margin:16px auto;border-radius:2px;opacity:0.3}
.tg-db-card--featured .tg-db-card-div{opacity:0.5}

.tg-db-checklist{list-style:none;margin:0;padding:0 24px;flex:1}
.tg-db-checklist li{font-size:12px;color:#555;padding:8px 0;display:flex;align-items:flex-start;gap:10px;line-height:1.5;border-bottom:1px solid #f0f0f0}
.tg-db-checklist li:last-child{border-bottom:none}
.tg-db-card--featured .tg-db-checklist li{color:rgba(255,255,255,0.7);border-bottom-color:rgba(255,255,255,0.1)}

.tg-db-checklist .chk-wrap{flex-shrink:0;width:16px;height:16px;margin-top:2px;border-radius:50%;background:#1a1a1a;display:inline-flex;align-items:center;justify-content:center}
.tg-db-checklist .chk-wrap svg{width:10px;height:10px;stroke:#fff}
.tg-db-card--featured .tg-db-checklist .chk-wrap{background:#E20612}
.tg-db-checklist .crs-wrap{flex-shrink:0;width:16px;height:16px;margin-top:2px;border-radius:50%;background:transparent;display:inline-flex;align-items:center;justify-content:center}
.tg-db-checklist .crs-wrap svg{width:8px;height:8px;stroke:#ccc}
.tg-db-card--featured .tg-db-checklist .crs-wrap svg{stroke:rgba(255,255,255,0.2)}

.tg-db-card-foot{padding:20px 24px 24px;text-align:center}
.tg-db-card-price{display:block;font-size:13px;font-weight:700;font-family:'Plus Jakarta Sans',sans-serif;color:#E20612}
.tg-db-card--featured .tg-db-card-price{color:#E20612}

@media(max-width:900px){.tg-db-cards{grid-template-columns:repeat(2,1fr);gap:12px}.tg-db-card--featured{grid-column:1/-1}}
@media(max-width:560px){.tg-db-cards{grid-template-columns:1fr;gap:12px}.tg-db-card--featured{grid-column:auto}.tg-db-card-name{font-size:20px}}

/* ═══ MOBILE: COMPACT 3 GOI D&B ═══ */
@media(max-width:768px){
  .tg-db-cards{display:flex;flex-direction:column;gap:8px}
  .tg-db-card{transition:all .3s}
  .tg-db-card:not(.tg-db-card--expanded) .tg-db-checklist,
  .tg-db-card:not(.tg-db-card--expanded) .tg-db-card-div,
  .tg-db-card:not(.tg-db-card--expanded) .tg-db-card-foot{display:none}
  .tg-db-card:not(.tg-db-card--expanded) .tg-db-card-head{padding:14px 16px;display:flex;align-items:center;gap:12px;text-align:left}
  .tg-db-card:not(.tg-db-card--expanded) .tg-db-card-icon{font-size:18px;margin:0}
  .tg-db-card:not(.tg-db-card--expanded) .tg-db-card-name{font-size:16px;margin:0}
  .tg-db-card:not(.tg-db-card--expanded) .tg-db-card-tag{margin:0;margin-left:auto}
  .tg-db-card.tg-db-card--expanded .tg-db-card-head{padding:20px 24px 0}
  .tg-db-card.tg-db-card--expanded .tg-db-card-name{font-size:20px}
  .tg-db-card--featured{order:0}
}

/* ═══ Ẩn cột Hệ số (bí mật Chamspace) ═══ */
.dt-table th:nth-child(3),
.dt-table td:nth-child(3) { display: none !important; }

