/* =========================================================
   HỖ TRỢ KHÁCH HÀNG BY DATTK + CLAUDE
   File được tải tự động trên các trang dùng mẫu "Hỗ trợ khách hàng".
   Mọi thuộc tính có !important để không bị CSS của theme ghi đè.
   ========================================================= */

.trang-ho-tro-khach-hang{--xc-green:#4DA766;--xc-green-dark:#2F7A45;--xc-green-soft:#EDF6F0;--xc-on-green:#10241A;--xc-accent-on-dark:#4DA766;--xc-ink:#1A1A1A;--xc-text:#333333;--xc-dark:#1F2421;--xc-muted:#5A5F5C;--xc-line:#E2E7E3;--xc-bg:#F3F5F4;--xc-radius:14px;display:block !important;width:100% !important;background:var(--xc-bg) !important;padding:28px 0 64px !important;margin:0 !important;font-size:15px !important;line-height:1.6 !important;color:var(--xc-text) !important;text-align:left !important}
.trang-ho-tro-khach-hang .xc-container{max-width:1240px !important;margin:0 auto !important;padding:0 15px !important}

/* ---------- Reset nhẹ chống CSS theme ---------- */
.trang-ho-tro-khach-hang *,
.trang-ho-tro-khach-hang *::before,
.trang-ho-tro-khach-hang *::after{box-sizing:border-box !important}
.trang-ho-tro-khach-hang h1,.trang-ho-tro-khach-hang h2,.trang-ho-tro-khach-hang h3,.trang-ho-tro-khach-hang h4{margin:0 !important;padding:0 !important;border:0 !important;background:none !important;color:var(--xc-ink) !important;font-family:inherit !important;font-weight:700 !important;line-height:1.3 !important;text-transform:none !important;letter-spacing:normal !important}
.trang-ho-tro-khach-hang p,.trang-ho-tro-khach-hang ul,.trang-ho-tro-khach-hang ol,.trang-ho-tro-khach-hang li{margin:0 !important;padding:0 !important}
.trang-ho-tro-khach-hang td,.trang-ho-tro-khach-hang th{text-transform:none !important;letter-spacing:normal !important}
.trang-ho-tro-khach-hang a{text-decoration:none !important;color:var(--xc-green-dark) !important}
.trang-ho-tro-khach-hang svg{display:block !important;flex:none !important;max-width:none !important}
.trang-ho-tro-khach-hang [hidden]{display:none !important}
.trang-ho-tro-khach-hang .xc-line{display:block !important}
.trang-ho-tro-khach-hang a:focus-visible{outline:3px solid var(--xc-green) !important;outline-offset:2px !important;border-radius:6px !important}

/* ---------- Banner ---------- */
.trang-ho-tro-khach-hang .xc-hero{background:var(--xc-dark) !important;color:#FFFFFF !important;border-radius:var(--xc-radius) !important;padding:38px 44px 42px !important;box-shadow:inset 0 -5px 0 var(--xc-green) !important}
.trang-ho-tro-khach-hang .xc-crumb{display:flex !important;flex-wrap:wrap !important;align-items:center !important;gap:8px !important;font-size:13px !important;line-height:1.5 !important;color:#B9BFBB !important}
.trang-ho-tro-khach-hang .xc-crumb a{color:#B9BFBB !important}
.trang-ho-tro-khach-hang .xc-crumb a:hover{color:#FFFFFF !important}
.trang-ho-tro-khach-hang .xc-crumb .xc-here{color:#FFFFFF !important}
.trang-ho-tro-khach-hang .xc-hero h1{margin-top:14px !important;font-size:38px !important;line-height:1.15 !important;color:#FFFFFF !important}
.trang-ho-tro-khach-hang .xc-hero .xc-lead{margin-top:12px !important;max-width:640px !important;font-size:16px !important;line-height:1.65 !important;color:#D9DDDA !important}
.trang-ho-tro-khach-hang .xc-hero .xc-date{margin-top:16px !important;font-size:13px !important;color:#A3AAA6 !important}

/* ---------- Bố cục ---------- */
.trang-ho-tro-khach-hang .xc-main{display:grid !important;grid-template-columns:270px minmax(0,1fr) !important;gap:28px !important;align-items:start !important;margin-top:28px !important}
.trang-ho-tro-khach-hang .xc-side{display:flex !important;flex-direction:column !important;gap:16px !important;position:sticky !important;top:100px !important}
.trang-ho-tro-khach-hang .xc-content{display:flex !important;flex-direction:column !important;gap:24px !important;min-width:0 !important}

.trang-ho-tro-khach-hang .xc-box{background:#FFFFFF !important;border:1px solid var(--xc-line) !important;border-radius:var(--xc-radius) !important;padding:22px 16px 16px !important}
.trang-ho-tro-khach-hang .xc-box-title{font-size:18px !important;padding:0 8px !important}
.trang-ho-tro-khach-hang .xc-bar{width:36px !important;height:3px !important;background:var(--xc-green) !important;margin:10px 8px 12px !important;border-radius:2px !important}

/* Menu hỗ trợ */
.trang-ho-tro-khach-hang .xc-menu,.trang-ho-tro-khach-hang .xc-toc{list-style:none !important;margin:0 !important;padding:0 !important}
.trang-ho-tro-khach-hang .xc-menu li,.trang-ho-tro-khach-hang .xc-toc li{list-style:none !important;margin:0 !important;padding:0 !important}
.trang-ho-tro-khach-hang .xc-menu li::before,.trang-ho-tro-khach-hang .xc-toc li::before{content:none !important}
.trang-ho-tro-khach-hang .xc-menu{display:flex !important;flex-direction:column !important;gap:2px !important}
.trang-ho-tro-khach-hang .xc-menu a{display:flex !important;justify-content:space-between !important;align-items:center !important;gap:8px !important;min-height:44px !important;padding:10px 12px !important;border-radius:8px !important;color:#333333 !important;font-size:14.5px !important;font-weight:500 !important;line-height:1.35 !important;white-space:nowrap !important}
.trang-ho-tro-khach-hang .xc-menu a:hover{background:var(--xc-green-soft) !important;color:var(--xc-green-dark) !important}
.trang-ho-tro-khach-hang .xc-menu a[aria-current="page"]{background:var(--xc-green) !important;color:var(--xc-on-green) !important;font-weight:700 !important}
.trang-ho-tro-khach-hang .xc-menu a svg{opacity:.55 !important}
.trang-ho-tro-khach-hang .xc-menu a[aria-current="page"] svg{opacity:1 !important}

/* Mục lục */
.trang-ho-tro-khach-hang .xc-toc{display:flex !important;flex-direction:column !important;gap:2px !important;max-height:calc(100vh - 420px) !important;min-height:120px !important;overflow-y:auto !important}
.trang-ho-tro-khach-hang .xc-toc a{display:block !important;padding:6px 8px 6px 10px !important;border-radius:6px !important;border-left:2px solid transparent !important;color:#4A4F4C !important;font-size:14px !important;line-height:1.45 !important}
.trang-ho-tro-khach-hang .xc-toc a:hover{color:var(--xc-green-dark) !important;background:var(--xc-green-soft) !important}
.trang-ho-tro-khach-hang .xc-toc a.is-active{color:var(--xc-green-dark) !important;font-weight:600 !important;background:var(--xc-green-soft) !important;border-left-color:var(--xc-green) !important}

/* Hotline */
.trang-ho-tro-khach-hang .xc-hotline{background:var(--xc-dark) !important;color:#FFFFFF !important;border-radius:var(--xc-radius) !important;padding:20px 22px !important}
.trang-ho-tro-khach-hang .xc-hotline .xc-label{display:block !important;font-size:13px !important;color:#B9BFBB !important}
.trang-ho-tro-khach-hang .xc-hotline .xc-phone{display:block !important;margin-top:2px !important;font-size:24px !important;font-weight:700 !important;line-height:1.3 !important;color:var(--xc-accent-on-dark) !important}
.trang-ho-tro-khach-hang .xc-hotline p{margin-top:10px !important;font-size:13px !important;line-height:1.6 !important;color:#D9DDDA !important}

/* ---------- Khung nội dung mặc định ---------- */
.trang-ho-tro-khach-hang .xc-card{background:#FFFFFF !important;border:1px solid var(--xc-line) !important;border-radius:var(--xc-radius) !important;box-shadow:0 1px 2px rgba(16,36,26,.04) !important}
.trang-ho-tro-khach-hang .xc-entry{padding:36px 40px 40px !important;font-size:15.5px !important;line-height:1.75 !important;color:var(--xc-text) !important;overflow-wrap:break-word !important}
.trang-ho-tro-khach-hang .xc-entry > :first-child{margin-top:0 !important}
.trang-ho-tro-khach-hang .xc-entry > :last-child{margin-bottom:0 !important}
.trang-ho-tro-khach-hang .xc-entry [style*="font-size"]{font-size:inherit !important}
.trang-ho-tro-khach-hang .xc-entry [style*="font-family"]{font-family:inherit !important}
.trang-ho-tro-khach-hang .xc-entry p:empty{display:none !important}

.trang-ho-tro-khach-hang .xc-entry h2{display:flex !important;align-items:center !important;gap:12px !important;margin:40px 0 16px !important;padding-top:34px !important;border-top:1px solid var(--xc-line) !important;font-size:22px !important;line-height:1.35 !important;color:var(--xc-ink) !important;scroll-margin-top:110px !important}
.trang-ho-tro-khach-hang .xc-entry h2::before{content:"" !important;flex:none !important;width:4px !important;height:22px !important;border-radius:2px !important;background:var(--xc-green) !important}
.trang-ho-tro-khach-hang .xc-entry > h2:first-child{margin-top:0 !important;padding-top:0 !important;border-top:0 !important}
.trang-ho-tro-khach-hang .xc-entry h3{margin:26px 0 10px !important;font-size:18px !important;color:var(--xc-ink) !important;scroll-margin-top:110px !important}
.trang-ho-tro-khach-hang .xc-entry h4{margin:22px 0 8px !important;font-size:16px !important;color:var(--xc-ink) !important}
.trang-ho-tro-khach-hang .xc-entry p{margin:0 0 14px !important}
.trang-ho-tro-khach-hang .xc-entry strong,.trang-ho-tro-khach-hang .xc-entry b{font-weight:700 !important;color:var(--xc-ink) !important}
.trang-ho-tro-khach-hang .xc-entry a{color:var(--xc-green-dark) !important;text-decoration:underline !important;text-underline-offset:3px !important;text-decoration-thickness:1px !important}
.trang-ho-tro-khach-hang .xc-entry a:hover{color:var(--xc-green) !important;text-decoration-thickness:2px !important}

.trang-ho-tro-khach-hang .xc-entry ul{list-style:none !important;margin:0 0 16px !important;padding:0 !important}
.trang-ho-tro-khach-hang .xc-entry ul > li{position:relative !important;list-style:none !important;margin:0 0 8px !important;padding:0 0 0 22px !important}
.trang-ho-tro-khach-hang .xc-entry ul > li::before{content:"" !important;position:absolute !important;left:5px !important;top:.72em !important;width:7px !important;height:7px !important;border-radius:50% !important;background:var(--xc-green) !important}
.trang-ho-tro-khach-hang .xc-entry ol{list-style:decimal !important;margin:0 0 16px !important;padding:0 0 0 24px !important}
.trang-ho-tro-khach-hang .xc-entry ol > li{list-style:decimal !important;margin:0 0 8px !important;padding:0 0 0 4px !important}
.trang-ho-tro-khach-hang .xc-entry ol > li::before{content:none !important}
.trang-ho-tro-khach-hang .xc-entry ol > li::marker{color:var(--xc-green-dark) !important;font-weight:700 !important}
.trang-ho-tro-khach-hang .xc-entry li > ul,.trang-ho-tro-khach-hang .xc-entry li > ol{margin:8px 0 0 !important}

.trang-ho-tro-khach-hang .xc-entry blockquote{margin:0 0 16px !important;padding:16px 20px !important;border:0 !important;border-radius:10px !important;background:var(--xc-green-soft) !important;color:var(--xc-text) !important;font-style:normal !important;font-size:15px !important}
.trang-ho-tro-khach-hang .xc-entry blockquote p:last-child{margin-bottom:0 !important}
.trang-ho-tro-khach-hang .xc-entry hr{margin:28px 0 !important;border:0 !important;border-top:1px solid var(--xc-line) !important;height:0 !important;background:none !important}
.trang-ho-tro-khach-hang .xc-entry img{max-width:100% !important;height:auto !important;border-radius:10px !important}
.trang-ho-tro-khach-hang .xc-entry figure,.trang-ho-tro-khach-hang .xc-entry .wp-caption{max-width:100% !important;margin:0 0 16px !important}
.trang-ho-tro-khach-hang .xc-entry .wp-caption-text,.trang-ho-tro-khach-hang .xc-entry figcaption{margin-top:6px !important;font-size:13px !important;color:var(--xc-muted) !important;text-align:center !important}

.trang-ho-tro-khach-hang .xc-entry .xc-table-wrap{margin:0 0 18px !important;overflow-x:auto !important;border:1px solid var(--xc-line) !important;border-radius:10px !important}
.trang-ho-tro-khach-hang .xc-entry table{width:100% !important;min-width:460px !important;margin:0 !important;border-collapse:collapse !important;border:0 !important;font-size:14.5px !important;line-height:1.5 !important}
.trang-ho-tro-khach-hang .xc-entry th{padding:12px 16px !important;border:0 !important;background:var(--xc-green-soft) !important;color:var(--xc-ink) !important;font-weight:700 !important;text-align:left !important;font-size:14px !important}
.trang-ho-tro-khach-hang .xc-entry td{padding:12px 16px !important;border:0 !important;border-top:1px solid var(--xc-line) !important;color:var(--xc-text) !important;vertical-align:top !important}
.trang-ho-tro-khach-hang .xc-entry tr:first-child td{border-top:0 !important}
.trang-ho-tro-khach-hang .xc-entry thead + tbody tr:first-child td{border-top:1px solid var(--xc-line) !important}

/* ---------- Liên hệ ---------- */
.trang-ho-tro-khach-hang .xc-cta{background:var(--xc-green) !important;border-radius:var(--xc-radius) !important;padding:26px 30px !important;display:flex !important;flex-wrap:wrap !important;gap:18px !important;align-items:center !important;justify-content:space-between !important}
.trang-ho-tro-khach-hang .xc-cta-text{flex:1 1 320px !important}
.trang-ho-tro-khach-hang .xc-cta h2{font-size:22px !important;color:var(--xc-on-green) !important}
.trang-ho-tro-khach-hang .xc-cta p{margin-top:4px !important;font-size:14.5px !important;line-height:1.6 !important;color:var(--xc-on-green) !important;opacity:.9 !important}
.trang-ho-tro-khach-hang .xc-btns{display:flex !important;flex-wrap:wrap !important;gap:10px !important}
.trang-ho-tro-khach-hang .xc-btn{min-height:46px !important;padding:0 20px !important;margin:0 !important;border-radius:8px !important;display:inline-flex !important;align-items:center !important;gap:8px !important;font-weight:700 !important;font-size:14.5px !important;line-height:1 !important;text-transform:none !important;letter-spacing:normal !important;transition:filter .15s !important}
.trang-ho-tro-khach-hang .xc-btn-dark{background:var(--xc-dark) !important;color:#FFFFFF !important}
.trang-ho-tro-khach-hang .xc-btn-light{background:#FFFFFF !important;color:var(--xc-ink) !important}
.trang-ho-tro-khach-hang .xc-btn-dark:hover{color:#FFFFFF !important;filter:brightness(1.25) !important}
.trang-ho-tro-khach-hang .xc-btn-light:hover{color:var(--xc-ink) !important;filter:brightness(.95) !important}

/* ---------- Responsive ---------- */
@media (max-width:849px){
  .trang-ho-tro-khach-hang{padding:16px 0 48px !important}
  .trang-ho-tro-khach-hang .xc-container{padding:0 12px !important}
  .trang-ho-tro-khach-hang .xc-hero{padding:26px 22px 30px !important}
  .trang-ho-tro-khach-hang .xc-hero h1{font-size:28px !important}
  .trang-ho-tro-khach-hang .xc-hero .xc-lead{font-size:15px !important}
  .trang-ho-tro-khach-hang .xc-main{grid-template-columns:minmax(0,1fr) !important;gap:16px !important;margin-top:16px !important}
  .trang-ho-tro-khach-hang .xc-side{position:static !important}
  .trang-ho-tro-khach-hang .xc-toc-box,.trang-ho-tro-khach-hang .xc-hotline{display:none !important}
  .trang-ho-tro-khach-hang .xc-box{padding:16px 12px 12px !important}
  .trang-ho-tro-khach-hang .xc-menu{flex-direction:row !important;overflow-x:auto !important;gap:8px !important;padding-bottom:4px !important}
  .trang-ho-tro-khach-hang .xc-menu a{min-height:40px !important;padding:8px 14px !important;border:1px solid var(--xc-line) !important;border-radius:999px !important;font-size:14px !important}
  .trang-ho-tro-khach-hang .xc-menu a[aria-current="page"]{border-color:var(--xc-green) !important}
  .trang-ho-tro-khach-hang .xc-menu a svg{display:none !important}
  .trang-ho-tro-khach-hang .xc-entry{padding:24px 18px 26px !important;font-size:15px !important}
  .trang-ho-tro-khach-hang .xc-entry h2{font-size:19px !important;margin-top:30px !important;padding-top:26px !important}
  .trang-ho-tro-khach-hang .xc-entry h3{font-size:17px !important}
  .trang-ho-tro-khach-hang .xc-cta{padding:22px 20px !important}
  .trang-ho-tro-khach-hang .xc-cta h2{font-size:20px !important}
}
@media (prefers-reduced-motion:reduce){
  .trang-ho-tro-khach-hang .xc-btn{transition:none !important}
}
