/* =====================================================================
   THIEN SON COMPUTER - Giao dien moi (2026-11)
   Tong mau: Do (chinh) + Xanh duong (phu). Font: Roboto.
   File nay duoc nap boi functions.php cua theme con.
   ===================================================================== */
:root {
  --tsc-red: #c8102e;
  --tsc-red-dark: #9e0b23;
  --tsc-red-soft: #fdecef;
  --tsc-blue: #1435c3;
  --tsc-blue-dark: #0d2491;
  --tsc-navy: #0d1b4c;
  --tsc-ink: #1a1f36;
  --tsc-muted: #6b7280;
  --tsc-line: #e6e9f2;
  --tsc-bg: #f4f6fb;
  --tsc-radius: 12px;
  --tsc-shadow: 0 4px 18px rgba(13, 27, 76, .08);
  --tsc-shadow-hover: 0 14px 32px rgba(13, 27, 76, .16);
}

body { color: var(--tsc-ink); }
a { color: var(--tsc-blue); }
a:hover { color: var(--tsc-red); }
::selection { background: var(--tsc-red); color: #fff; }

/* ---------- Nut bam ---------- */
.button, button.button, input[type="submit"], .single_add_to_cart_button {
  border-radius: 8px !important;
  font-weight: 700;
  letter-spacing: .2px;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.button.primary, .button.alt, input[type="submit"], .single_add_to_cart_button, .checkout-button {
  background-color: var(--tsc-red) !important;
  border-color: var(--tsc-red) !important;
  color: #fff !important;
}
.button.primary:hover, .button.alt:hover, input[type="submit"]:hover, .single_add_to_cart_button:hover, .checkout-button:hover {
  background-color: var(--tsc-red-dark) !important;
  box-shadow: 0 8px 18px -6px rgba(200, 16, 46, .55);
  transform: translateY(-1px);
}

/* =====================================================================
   HEADER
   ===================================================================== */
/* Thanh tren cung */
#top-bar.header-top {
  background: var(--tsc-navy) !important;
  border-bottom: 2px solid var(--tsc-red);
}
#top-bar .nav > li > a, #top-bar .html { color: rgba(255,255,255,.9) !important; font-size: 12px; letter-spacing: .5px; }
#top-bar .nav > li > a:hover { color: #fff !important; }

/* Banner do: giu nguyen anh, bo logo chen len robot */
body .header-main {
  background-color: #a90f16;
  background-image: url(https://thiensoncomputer.vn/wp-content/uploads/2024/03/THIEN-SON-COMPUTER2024.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 100% 100%;
  height: 200px;
}
@media (min-width: 850px) {
  body .header-main #logo { visibility: hidden; }
}

/* Khi cuon: an banner, chi giu thanh menu (het loi banner bi cat nua) */
.header-wrapper.stuck .header-main { display: none !important; }
.header-wrapper.stuck { box-shadow: 0 6px 20px rgba(13, 27, 76, .25); }

/* Thanh menu chinh */
body .header-bottom, body #wide-nav {
  background: linear-gradient(90deg, var(--tsc-blue-dark) 0%, var(--tsc-blue) 50%, var(--tsc-blue-dark) 100%) !important;
  border-bottom: 3px solid var(--tsc-red);
  min-height: 48px;
}
#wide-nav .header-nav > li { margin: 0; }
#wide-nav .header-nav > li > a.nav-top-link {
  position: relative;
  color: #fff !important;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .3px;
  padding: 15px 14px !important;
  transition: background-color .2s ease;
}
#wide-nav .nav-divided > li + li > a:after { display: none; }
#wide-nav .header-nav > li > a.nav-top-link::before {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 3px; border-radius: 3px;
  background: var(--tsc-red); transform: scaleX(0); transition: transform .25s ease;
}
#wide-nav .header-nav > li:hover > a.nav-top-link,
#wide-nav .header-nav > li.active > a.nav-top-link { background: rgba(255,255,255,.08); }
#wide-nav .header-nav > li:hover > a.nav-top-link::before,
#wide-nav .header-nav > li.active > a.nav-top-link::before { transform: scaleX(1); }

/* Menu xo xuong */
.nav-dropdown {
  border: 0 !important;
  border-top: 3px solid var(--tsc-red) !important;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 14px 30px rgba(13, 27, 76, .18) !important;
  padding: 8px 0 !important;
}
.nav-dropdown > li > a, .nav-dropdown .menu-item > a {
  color: var(--tsc-ink) !important;
  padding: 9px 20px !important;
  border: 0 !important;
  transition: background .2s ease, color .2s ease, padding .2s ease;
}
.nav-dropdown > li > a:hover, .nav-dropdown .menu-item > a:hover {
  background: var(--tsc-red-soft); color: var(--tsc-red) !important; padding-left: 26px !important;
}

/* Icon truoc cac muc menu xo xuong (desktop + menu dien thoai) */
.nav-dropdown .menu-item > a, .nav-sidebar .sub-menu .menu-item > a { display: flex !important; align-items: center; }
.nav-dropdown .menu-item > a::before, .nav-sidebar .sub-menu .menu-item > a::before {
  font-family: "Font Awesome 6 Free"; font-weight: 900; font-style: normal;
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 28px; width: 28px; height: 28px; margin-right: 12px; border-radius: 8px;
  background: var(--tsc-red-soft); color: var(--tsc-red); font-size: 13px; line-height: 1;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
#wide-nav .menu-item-609 > .nav-dropdown { min-width: 340px; }
#wide-nav .nav-dropdown { min-width: 240px; }
.nav-dropdown .menu-item > a:hover::before { background: var(--tsc-red); color: #fff; transform: scale(1.08); }
/* Dich vu */
.menu-item-605 > a::before { content: "\f7d9"; }   /* sua tai nha: co le + tua vit */
.menu-item-598 > a::before { content: "\f085"; }   /* bao tri: banh rang */
.menu-item-604 > a::before { content: "\f179"; font-family: "Font Awesome 6 Brands" !important; font-weight: 400 !important; } /* Macbook: Apple */
.menu-item-606 > a::before { content: "\f02f"; }   /* sua may in */
.menu-item-600 > a::before { content: "\f2b5"; }   /* cho thue: bat tay */
.menu-item-601 > a::before { content: "\f03d"; }   /* camera an ninh */
.menu-item-599 > a::before { content: "\f5fc"; }   /* cai phan mem */
.menu-item-603 > a::before { content: "\f02c"; }   /* may in cu: the gia */
.menu-item-602 > a::before { content: "\f109"; }   /* laptop, PC cu */
.menu-item-607 > a::before { content: "\f6ff"; }   /* he thong mang */
.menu-item-19575 > a::before, .menu-item-19576 > a::before, .menu-item-19577 > a::before, .menu-item-19578 > a::before, .menu-item-19579 > a::before,
.menu-item-19580 > a::before, .menu-item-19581 > a::before, .menu-item-19582 > a::before, .menu-item-19583 > a::before, .menu-item-19584 > a::before { content: "\f3c5"; } /* khu vuc */
/* San pham */
.menu-item-631 > a::before { content: "\f109"; }   /* Laptop */
.menu-item-636 > a::before { content: "\f390"; }   /* May tinh ban */
.menu-item-640 > a::before { content: "\f538"; }   /* Ram */
.menu-item-637 > a::before { content: "\f0a0"; }   /* O cung */
.menu-item-638 > a::before { content: "\f025"; }   /* Phu kien */
.menu-item-628 > a::before { content: "\f1e6"; }   /* Adapter */
.menu-item-629 > a::before { content: "\f11c"; }   /* Ban phim */
.menu-item-633 > a::before { content: "\f2db"; }   /* Main laptop */
.menu-item-639 > a::before { content: "\f240"; }   /* Pin laptop */
.menu-item-632 > a::before { content: "\f26c"; }   /* LCD - LED */
.menu-item-630 > a::before { content: "\f030"; }   /* Camera */
.menu-item-634 > a::before { content: "\f02f"; }   /* May in */
.menu-item-635 > a::before { content: "\f0c5"; }   /* May photocopy */
.menu-item-641 > a::before { content: "\f49e"; }   /* San pham khac */
/* Tin tuc */
.menu-item-11426 > a::before { content: "\f7d9"; } /* Dich vu */
.menu-item-11428 > a::before { content: "\f1ad"; } /* Tin cong ty */
.menu-item-11425 > a::before { content: "\f1ea"; } /* Tin cong nghe */
.menu-item-11427 > a::before { content: "\f0eb"; } /* Thu thuat */

/* Header tren dien thoai: thanh do gon co logo */
@media (max-width: 849px) {
  body .header-main {
    height: 70px !important;
    background-image: none !important;
    background: linear-gradient(90deg, var(--tsc-red-dark), var(--tsc-red)) !important;
    border-bottom: 3px solid var(--tsc-blue);
  }
  body .header-main #logo img { max-height: 56px; width: auto; }
  body .header-main .nav > li > a, body .header-main .icon-menu, body .header-main .cart-icon strong { color: #fff !important; border-color: #fff !important; }
}

/* =====================================================================
   TIEU DE MUC (SAN PHAM BAN CHAY, TIN TUC...)
   ===================================================================== */
body .section-title-normal { border-bottom: 2px solid var(--tsc-red); overflow: visible; }
body .section-title-normal span.section-title-main {
  position: relative;
  display: inline-block;
  background: linear-gradient(90deg, var(--tsc-red-dark), var(--tsc-red));
  color: #fff;
  font-size: 19px;
  line-height: 26px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
  padding: 8px 22px 7px;
  margin-right: 24px;
  border-radius: 8px 8px 0 0;
}
body .section-title-normal span.section-title-main::after {
  content: ""; position: absolute; top: 0; bottom: 0; right: -14px; width: 28px;
  background: var(--tsc-red); transform: skewX(24deg); border-radius: 0 8px 0 0; z-index: -1;
}
body .section-title-normal span.section-title-main::before { display: none; }
.section-title-container { margin-bottom: 22px; }
.section-title a { color: var(--tsc-blue); font-weight: 600; }
/* Nut "Xem them" ben phai tieu de muc */
body .section-title-normal > a {
  display: inline-flex; align-items: center; gap: 4px;
  margin: 0 0 6px auto; padding: 6px 12px 6px 16px;
  border: 1px solid var(--tsc-red); border-radius: 20px;
  background: #fff; color: var(--tsc-red);
  font-size: 13px; font-weight: 700; letter-spacing: .2px; text-transform: none; line-height: 1.2;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}
body .section-title-normal > a i { font-size: 16px; margin: 0; transition: transform .2s ease; }
body .section-title-normal > a:hover { background: var(--tsc-red); color: #fff; box-shadow: 0 6px 16px -6px rgba(200, 16, 46, .6); }
body .section-title-normal > a:hover i { transform: translateX(3px); }
@media (max-width: 549px) { body .section-title-normal > a { padding: 5px 10px 5px 12px; font-size: 12px; } }

/* Tieu de H1 trang chu */
.tsc-sec-top .section-title-center { margin-bottom: 8px; }
.tsc-sec-top .section-title-center span.section-title-main {
  color: var(--tsc-ink); font-size: 26px; font-weight: 800; letter-spacing: .2px;
}
.tsc-sec-top .section-title-center b { background: var(--tsc-line); opacity: 1; height: 2px; }

/* Nut khu vuc (Sua may tinh Di An...) */
.tsc-area-links { margin-bottom: 26px; }
.tsc-area-links a {
  display: inline-block !important;
  margin: 5px !important;
  padding: 8px 18px !important;
  border: 1px solid var(--tsc-line) !important;
  border-radius: 30px !important;
  background: #fff !important;
  color: var(--tsc-ink) !important;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(13, 27, 76, .06);
  transition: all .2s ease;
}
.tsc-area-links a::before {
  content: "\f3c5"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--tsc-red); margin-right: 7px;
  transition: color .2s ease;
}
.tsc-area-links a:hover { background: var(--tsc-red) !important; border-color: var(--tsc-red) !important; color: #fff !important; transform: translateY(-2px); }
.tsc-area-links a:hover::before { color: #fff; }

/* Nen cac muc */
.tsc-sec-soft { background-color: var(--tsc-bg) !important; }

/* =====================================================================
   THE SAN PHAM
   ===================================================================== */
.product-small.col { padding-bottom: 24px; }
.product-small.col > .col-inner { height: 100%; }
body .product-small .box {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: var(--tsc-ink);
  text-align: center;
  border-radius: var(--tsc-radius);
  border: 1px solid var(--tsc-line);
  overflow: hidden;
  box-shadow: var(--tsc-shadow);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
body .product-small .box:hover { transform: translateY(-6px); box-shadow: var(--tsc-shadow-hover); border-color: #f3c2cb; }
.product-small .box-image { background: #fff; padding: 10px 10px 0; }
.product-small .box-image img { transition: transform .45s ease; }
.product-small .box:hover .box-image img { transform: scale(1.05); }
.product-small .box-text {
  flex: 1; display: flex; flex-direction: column;
  padding: 12px 14px 16px !important;
}
.product-small .box-text .category {
  font-size: 11px; letter-spacing: .6px; color: var(--tsc-blue); opacity: 1; font-weight: 600;
}
.product-small .box-text .product-title { flex: 1; }
.product-small .box-text .product-title a {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 2.6em; line-height: 1.3;
  font-size: 14.5px; font-weight: 600; color: var(--tsc-ink);
}
.product-small .box-text .product-title a:hover { color: var(--tsc-red); }
.product-small .price-wrapper { margin-top: 8px; }
.product-small .price { color: var(--tsc-red); font-size: 17px; font-weight: 800; }
.product-small .price .amount, .product-small .price bdi { color: var(--tsc-red); }
.product-small .price del .amount, .product-small .price del bdi { color: #9aa1b1; }
.product-small .price del { color: #9aa1b1; font-size: 13px; font-weight: 400; margin-right: 4px; }
.product-small .price ins { text-decoration: none; }
/* Nhan giam gia */
.badge-container .badge-inner {
  background: linear-gradient(135deg, #ff4d5e, var(--tsc-red)) !important;
  border-radius: 8px !important; font-weight: 700;
  box-shadow: 0 6px 14px -6px rgba(200, 16, 46, .7);
}
.badge-container { margin: 12px 0 0 12px; }

/* Nut truot (slider): tron trang, mui ten do, ro rang */
.slider .flickity-prev-next-button,
.slider-nav-light .flickity-prev-next-button,
.slider-nav-circle .flickity-prev-next-button {
  opacity: 1 !important;
  color: var(--tsc-red) !important;
  width: 44px !important; height: 44px !important;
  top: 50% !important; bottom: auto !important;
  margin-top: -22px !important;
  padding: 0 !important;
  transform: none !important;
  z-index: 5;
}
.slider .flickity-prev-next-button.previous { left: -8px !important; }
.slider .flickity-prev-next-button.next { right: -8px !important; }
.slider .flickity-prev-next-button svg {
  position: static !important;
  width: 44px !important; height: 44px !important;
  padding: 12px !important;
  border-radius: 50% !important;
  border: 0 !important;
  background: #fff !important;
  box-shadow: 0 6px 18px rgba(13, 27, 76, .22), 0 0 0 1px rgba(200, 16, 46, .15);
  transition: background .2s ease, transform .2s ease;
}
.slider .flickity-prev-next-button svg path { fill: currentColor !important; }
.slider .flickity-prev-next-button:hover { color: #fff !important; }
.slider .flickity-prev-next-button:hover svg { background: var(--tsc-red) !important; transform: scale(1.08); }
.slider .flickity-prev-next-button:disabled { opacity: .35 !important; }
@media (max-width: 549px) {
  .slider .flickity-prev-next-button, .slider .flickity-prev-next-button svg { width: 36px !important; height: 36px !important; }
  .slider .flickity-prev-next-button { margin-top: -18px !important; }
  .slider .flickity-prev-next-button svg { padding: 10px !important; }
  .slider .flickity-prev-next-button.previous { left: 0 !important; }
  .slider .flickity-prev-next-button.next { right: 0 !important; }
}


/* =====================================================================
   TIN TUC (the bai viet)
   ===================================================================== */
.post-item { padding-bottom: 24px; }
.post-item > .col-inner { height: 100%; }
body .box-blog-post {
  width: 100%;
  height: 100%;
  margin: 0;
  background: #fff;
  border: 1px solid var(--tsc-line);
  border-radius: var(--tsc-radius);
  overflow: hidden;
  box-shadow: var(--tsc-shadow);
  transition: transform .3s ease, box-shadow .3s ease;
}
body .box-blog-post:hover { transform: translateY(-6px); box-shadow: var(--tsc-shadow-hover); }
.box-blog-post .box-image img { transition: transform .5s ease; }
.box-blog-post:hover .box-image img { transform: scale(1.06); }
body .box-blog-post { display: flex; flex-direction: column; }
.box-blog-post .box-image { flex: 0 0 auto; width: 100% !important; }
.box-blog-post .box-text { flex: 1; width: 100%; padding: 16px 18px 20px !important; text-align: left !important; }
.box-blog-post .post-title { font-size: 16px; line-height: 1.4; }
.box-blog-post .post-title a {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 2.8em;
  color: var(--tsc-ink); font-weight: 700;
}
.box-blog-post .post-title a:hover { color: var(--tsc-red); }
.box-blog-post .is-divider { margin: 10px 0; background: var(--tsc-red); height: 3px; width: 36px; border-radius: 3px; max-width: 36px; }
.box-blog-post .from_the_blog_excerpt {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 3.2em; line-height: 1.6;
  color: var(--tsc-muted); font-size: 14px;
}
/* Nhan ngay dang */
.post-item .badge .badge-inner, .blog-wrapper .badge .badge-inner, .badge.post-date .badge-inner {
  background: var(--tsc-red) !important; border: 0 !important; border-radius: 10px !important;
  box-shadow: 0 6px 14px -6px rgba(200, 16, 46, .7);
}

/* =====================================================================
   PHAN HOI KHACH HANG
   ===================================================================== */
body .danhgiakhachhang {
  height: 100%;
  padding: 28px 24px 26px;
  border: 1px solid var(--tsc-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--tsc-shadow);
  position: relative;
  transition: transform .3s ease, box-shadow .3s ease;
}
body .danhgiakhachhang:hover { transform: translateY(-6px); box-shadow: var(--tsc-shadow-hover); }
.danhgiakhachhang::before {
  content: "\201C"; position: absolute; top: 4px; right: 22px;
  font-family: Georgia, serif; font-size: 90px; line-height: 1; color: var(--tsc-red); opacity: .12;
}
.danhgiakhachhang .icon-box-img img, .danhgiakhachhang .icon-box-img .icon-inner {
  border-radius: 50%; border: 4px solid #fff; box-shadow: 0 0 0 3px var(--tsc-red), 0 10px 22px rgba(13,27,76,.18);
}
.danhgiakhachhang .star-rating { margin: 14px auto 4px; }
.danhgiakhachhang .star-rating span:before, .danhgiakhachhang .star-rating:before { color: #f5b301 !important; }
.danhgiakhachhang h3 { color: var(--tsc-red); font-size: 18px; margin: 6px 0 10px; }
.danhgiakhachhang p { color: #4b5263; font-size: 14.5px; line-height: 1.65; }
.danhgiakhachhang .testimonial-meta { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--tsc-line); }
.danhgiakhachhang .testimonial-name { color: var(--tsc-blue); font-weight: 700; }
.tsc-sec-testi .row > .col { padding-bottom: 24px; }
.tsc-sec-testi .row > .col > .col-inner { height: 100%; }

/* Khoi 6 danh gia: 2 hang x 3 cot */
.tsc-testi-row {
  display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr;
  max-width: 1080px; margin-left: auto !important; margin-right: auto !important;
}
.tsc-testi-row > .col { display: flex; padding-bottom: 22px; max-width: none !important; flex-basis: auto !important; width: auto !important; }
.tsc-testi-row::before, .tsc-testi-row::after { display: none !important; content: none !important; }
@media (max-width: 849px) { .tsc-testi-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 549px) { .tsc-testi-row { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; } }
.tsc-testi-row > .col > .col-inner { display: flex; width: 100%; }
.tsc-testi {
  position: relative; display: flex; flex-direction: column; align-items: center; width: 100%;
  padding: 22px 22px 18px; text-align: center;
  background: #fff; border: 1px solid var(--tsc-line); border-radius: 14px;
  box-shadow: var(--tsc-shadow);
  transition: transform .3s ease, box-shadow .3s ease;
}
.tsc-testi:hover { transform: translateY(-5px); box-shadow: var(--tsc-shadow-hover); }
.tsc-testi::before {
  content: "\201C"; position: absolute; top: 2px; right: 18px;
  font-family: Georgia, serif; font-size: 70px; line-height: 1; color: var(--tsc-red); opacity: .12;
}
.tsc-testi-avatar {
  width: 72px; height: 72px; flex: 0 0 72px; border-radius: 50%; overflow: hidden;
  border: 3px solid #fff; box-shadow: 0 0 0 2px var(--tsc-red), 0 8px 18px rgba(13,27,76,.16);
}
.tsc-testi-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tsc-testi-initial {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--tc), #0d1b4c); color: #fff; font-size: 30px; font-weight: 800;
}
.tsc-testi-stars { margin: 10px 0 2px; color: #f5b301; font-size: 15px; letter-spacing: 2px; line-height: 1; }
.tsc-testi-title { margin: 6px 0 8px; color: var(--tsc-red); font-size: 16px; font-weight: 700; line-height: 1.35; }
.tsc-testi-text {
  flex: 1; display: flex; align-items: center; justify-content: center;
  margin: 0 0 12px; color: #4b5263; font-size: 14px; line-height: 1.6; font-style: italic;
}
.tsc-testi-meta {
  margin-top: auto; width: 100%; padding-top: 10px; border-top: 1px dashed var(--tsc-line);
  font-size: 13.5px; line-height: 1.4;
}
.tsc-testi-meta strong { display: block; color: var(--tsc-blue); font-size: 14.5px; }
.tsc-testi-meta span { color: var(--tsc-muted); }

/* =====================================================================
   GIOI THIEU
   ===================================================================== */
.tsc-about { background: linear-gradient(135deg, #fff 0%, var(--tsc-bg) 100%); }
.tsc-eyebrow {
  display: inline-block; padding: 5px 14px; margin-bottom: 12px; border-radius: 30px;
  background: var(--tsc-red-soft); color: var(--tsc-red); font-size: 13px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
}
.tsc-about h2 { font-size: 32px; font-weight: 800; color: var(--tsc-ink); margin-bottom: 14px; }
.tsc-about h2 span { color: var(--tsc-red); }
.tsc-about-text > p { color: #4b5263; font-size: 15.5px; line-height: 1.75; text-align: justify; }
.tsc-about-list { list-style: none; margin: 18px 0 22px !important; padding: 0; }
.tsc-about-list li { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 12px !important; color: var(--tsc-ink); font-size: 15px; }
.tsc-about-list li i {
  flex: 0 0 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--tsc-red); color: #fff; font-size: 14px; margin-top: -4px;
}
.tsc-about-list a { color: var(--tsc-red); font-weight: 700; }
.tsc-about .button { margin: 0 10px 10px 0; }
.tsc-about .button.tsc-outline { background: transparent !important; border: 2px solid var(--tsc-blue) !important; color: var(--tsc-blue) !important; }
.tsc-about .button.tsc-outline:hover { background: var(--tsc-blue) !important; color: #fff !important; }
.tsc-about-card {
  background: #fff; border-radius: 18px; padding: 22px; text-align: center;
  box-shadow: 0 18px 40px rgba(13, 27, 76, .14); border-top: 5px solid var(--tsc-red);
}
.tsc-about-card h3 { color: var(--tsc-blue); font-weight: 800; margin: 4px 0 14px; letter-spacing: .5px; }
.tsc-about-card .img { border-radius: 12px; overflow: hidden; margin-bottom: 16px; }
.tsc-about-card .button { width: 100%; margin: 0; background: #1877f2 !important; border-color: #1877f2 !important; }

/* =====================================================================
   CHAN TRANG
   ===================================================================== */
body .thiensonfooter {
  background: linear-gradient(180deg, #2f62e6 0%, #1f45c4 30%, #15309a 62%, #0d1d63 100%) !important;
  color: rgba(255,255,255,.82);
  border-top: 4px solid var(--tsc-red);
  padding-top: 50px !important;
  padding-bottom: 20px !important;
}
.thiensonfooter .section-bg { background: transparent !important; }
.tsc-footer-title {
  position: relative; color: #fff; font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px;
  margin: 0 0 22px; padding-bottom: 12px;
}
.tsc-footer-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 42px; height: 3px; border-radius: 3px; background: var(--tsc-red); }
.tsc-footer-info { list-style: none; margin: 0 0 18px; padding: 0; }
.tsc-footer-info li { display: flex; gap: 12px; margin: 0 0 12px !important; font-size: 14.5px; line-height: 1.6; color: rgba(255,255,255,.85); }
.tsc-footer-info li i { flex: 0 0 18px; color: #ff5a6e; margin-top: 4px; text-align: center; }
.thiensonfooter a { color: #fff; }
.thiensonfooter a:hover { color: #ff8a98; }
.tsc-footer-links { list-style: none; margin: 0; padding: 0; }
.tsc-footer-links li { margin: 0 0 10px !important; border: 0 !important; }
.tsc-footer-links li a {
  color: rgba(255,255,255,.82) !important; font-size: 14px; transition: color .2s ease, padding .2s ease;
}
.tsc-footer-links li a::before { content: "\f105"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: #ff5a6e; margin-right: 7px; }
.tsc-footer-links li a:hover { color: #fff !important; padding-left: 5px; }
.tsc-footer-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 6px; }
.tsc-footer-badges img { background: #fff; border-radius: 6px; padding: 3px; }
.tsc-footer-company { color: #fff; font-weight: 800; font-size: 17px; margin-bottom: 14px; }
.absolute-footer { background: linear-gradient(180deg, #0d1d63 0%, #081340 100%) !important; color: rgba(255,255,255,.7); border-top: 1px solid rgba(255,255,255,.1); }
.tsc-footer-info li i, .tsc-footer-links li a::before { color: #ffb3bd !important; }

/* Chan trang: 4 cot dan deu (khong khung) */
.thiensonfooter > .section-content > .row {
  display: grid !important;
  grid-template-columns: 1.55fr 1fr 1fr 1fr;
  column-gap: 32px;
  max-width: 1080px;
  margin: 0 auto !important;
  padding: 0 15px;
}
.thiensonfooter > .section-content > .row::before,
.thiensonfooter > .section-content > .row::after { display: none !important; content: none !important; }
.thiensonfooter > .section-content > .row > .col {
  max-width: none !important; flex-basis: auto !important; width: auto !important; padding: 0 0 20px !important;
}
.tsc-footer-links li a { display: flex !important; align-items: baseline; line-height: 1.5; white-space: nowrap; }
.tsc-footer-links li a::before { flex: 0 0 14px; }
@media (max-width: 849px) {
  .thiensonfooter > .section-content > .row { grid-template-columns: 1fr 1fr; row-gap: 10px; }
  .thiensonfooter > .section-content > .row > .col:first-child { grid-column: 1 / -1; }
}
@media (max-width: 549px) {
  .thiensonfooter > .section-content > .row { grid-template-columns: 1fr; }
  .tsc-footer-links li a { white-space: normal; }
}
.thiensonfooter .tsc-footer-title::after { background: #ff4d63; }
.absolute-footer strong { color: #fff; }

/* =====================================================================
   NUT NOI CHAT ZALO / HOTLINE
   ===================================================================== */
button.chat-zalo, button.hotline { border-radius: 30px !important; box-shadow: 0 8px 20px -6px rgba(0,0,0,.35); }
button.chat-zalo { background: #0068ff !important; }
button.hotline { background: var(--tsc-red) !important; animation: tsc-pulse 2s infinite; }
button.chat-zalo a, button.hotline a { color: #fff !important; font-weight: 700; }
@keyframes tsc-pulse {
  0% { box-shadow: 0 0 0 0 rgba(200, 16, 46, .55); }
  70% { box-shadow: 0 0 0 14px rgba(200, 16, 46, 0); }
  100% { box-shadow: 0 0 0 0 rgba(200, 16, 46, 0); }
}

/* =====================================================================
   TRANG BAI VIET / SIDEBAR
   ===================================================================== */
.entry-header .entry-title { color: var(--tsc-ink); font-weight: 800; }
.entry-category a { color: var(--tsc-red); font-weight: 700; letter-spacing: .5px; }
.entry-content h2 { color: var(--tsc-blue); }
.entry-content h3 { color: var(--tsc-red-dark); }
.widget .widget-title, .widget-area .widget-title {
  display: block; color: var(--tsc-ink); font-weight: 800; font-size: 15px; letter-spacing: .4px;
  padding-bottom: 10px; border-bottom: 2px solid var(--tsc-line); position: relative;
}
.widget .widget-title::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 50px; height: 2px; background: var(--tsc-red);
}
.widget .is-divider { display: none; }
#ftwp-container-outer #ftwp-contents, .ftwp-in-post#ftwp-container-outer #ftwp-contents {
  border-radius: 10px; border-color: var(--tsc-line) !important; box-shadow: var(--tsc-shadow);
}
#ftwp-container-outer #ftwp-header { background: var(--tsc-bg); border-radius: 10px 10px 0 0; }

/* =====================================================================
   TRANG SAN PHAM
   ===================================================================== */
.product-info .product-title { font-weight: 800; color: var(--tsc-ink); }
.product-info .price { color: var(--tsc-red) !important; font-weight: 800; }
.product-info .price .amount, .product-info .price bdi { color: var(--tsc-red); }
.product-info .price del, .product-info .price del .amount, .product-info .price del bdi { color: #9aa1b1; font-weight: 400; }
.product-info .is-divider { background: var(--tsc-red); height: 3px; border-radius: 3px; }

/* =====================================================================
   DIEN THOAI
   ===================================================================== */
@media (max-width: 549px) {
  .tsc-sec-top .section-title-center span.section-title-main { font-size: 19px; line-height: 1.35; }
  body .section-title-normal span.section-title-main { font-size: 16px; padding: 7px 16px 6px; }
  .tsc-area-links a { padding: 6px 14px !important; font-size: 13.5px; }
  .tsc-about h2 { font-size: 26px; }
  .tsc-about-text > p { text-align: left; font-size: 15px; }
  .product-small .box-text .product-title a { font-size: 13.5px; }
  .product-small .price { font-size: 15px; }
}
.woocommerce-tabs .tabs > li.active > a { color: var(--tsc-red); }
.woocommerce-tabs .tabs > li.active { border-top-color: var(--tsc-red) !important; }

.tsc-testi-photo img { object-position: center center; }

/* =====================================================================
   CAC TRANG NOI DUNG (dich vu, chinh sach, gioi thieu...)
   ===================================================================== */
.tsc-page-hero {
  position: relative; overflow: hidden;
  padding: 34px 0 30px;
  background: linear-gradient(120deg, #0d1d63 0%, #1435c3 60%, #2f62e6 100%);
  border-bottom: 4px solid var(--tsc-red);
  color: #fff;
}
.tsc-page-hero::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.14), rgba(255,255,255,0) 70%);
}
.tsc-page-hero .container { position: relative; z-index: 1; }
.tsc-breadcrumb { font-size: 13.5px; color: rgba(255,255,255,.75); margin-bottom: 8px; }
.tsc-breadcrumb a { color: #fff; font-weight: 600; }
.tsc-breadcrumb a:hover { color: #ffb3bd; }
.tsc-page-title { margin: 0; color: #fff; font-size: 30px; font-weight: 800; line-height: 1.3; text-transform: none; letter-spacing: .2px; }

.tsc-page #content.page-wrapper { padding-top: 34px; }
.tsc-page #content .col-inner { max-width: 960px; margin: 0 auto; }
.tsc-page #content .col-inner > p,
.tsc-page #content .col-inner > ul li,
.tsc-page #content .col-inner > ol li { font-size: 16px; line-height: 1.75; color: #374151; }
.tsc-page #content h2 {
  position: relative; margin: 34px 0 14px; padding: 4px 0 4px 16px;
  border-left: 4px solid var(--tsc-red);
  color: var(--tsc-ink); font-size: 22px; line-height: 1.35; font-weight: 800;
}
.tsc-page #content h2 em, .tsc-page #content h3 em { font-style: normal; }
.tsc-page #content h3 { margin: 26px 0 10px; color: var(--tsc-blue); font-size: 19px; font-weight: 700; }
.tsc-page #content h4 { color: var(--tsc-red-dark); font-size: 17px; }
.tsc-page #content .col-inner > ul { list-style: none; margin-left: 0; padding: 0; }
.tsc-page #content .col-inner > ul > li { position: relative; padding-left: 28px; margin-bottom: 8px; }
.tsc-page #content .col-inner > ul > li::before {
  content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: 4px;
  width: 18px; height: 18px; border-radius: 50%; background: var(--tsc-red-soft); color: var(--tsc-red);
  font-size: 10px; display: flex; align-items: center; justify-content: center;
}
.tsc-page #content img { border-radius: 12px; }
.tsc-page #content p img, .tsc-page #content figure img { box-shadow: var(--tsc-shadow); }
.tsc-page #content table { border-collapse: collapse; width: 100%; border-radius: 10px; overflow: hidden; box-shadow: var(--tsc-shadow); }
.tsc-page #content table th { background: var(--tsc-blue); color: #fff; }
.tsc-page #content table td, .tsc-page #content table th { border: 1px solid var(--tsc-line); padding: 10px 12px; }
.tsc-page #content table tr:nth-child(even) td { background: var(--tsc-bg); }
.tsc-page #content blockquote { border-left: 4px solid var(--tsc-blue); background: var(--tsc-bg); border-radius: 0 10px 10px 0; padding: 14px 18px; }

.tsc-page-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  margin: 40px 0 10px; padding: 22px 26px;
  background: linear-gradient(120deg, var(--tsc-red-dark), var(--tsc-red));
  border-radius: 16px; color: #fff; box-shadow: 0 14px 30px -12px rgba(200, 16, 46, .6);
}
.tsc-page-cta-text strong { display: block; font-size: 20px; font-weight: 800; margin-bottom: 4px; }
.tsc-page-cta-text span { opacity: .9; font-size: 15px; }
.tsc-page-cta-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.tsc-page-cta .button { margin: 0 !important; }
.tsc-page-cta .button.primary { background: #fff !important; border-color: #fff !important; color: var(--tsc-red) !important; }
.tsc-page-cta .button.primary:hover { background: #ffe9ec !important; }
.tsc-page-cta .button.tsc-zalo { background: #0068ff !important; border: 0 !important; color: #fff !important; }
@media (max-width: 549px) {
  .tsc-page-hero { padding: 24px 0 22px; }
  .tsc-page-title { font-size: 23px; }
  .tsc-page #content h2 { font-size: 19px; }
  .tsc-page-cta { padding: 20px; }
  .tsc-page-cta-btns, .tsc-page-cta .button { width: 100%; }
}
.tsc-page-hero--compact { padding: 12px 0 11px; border-bottom-width: 3px; }
.tsc-page-hero--compact::after { display: none; }
.tsc-page-hero--compact .tsc-breadcrumb { margin: 0; }

/* Trang Hoi dap: accordion */
.tsc-page .accordion.tsc-faq { margin-bottom: 10px; }
.tsc-page .tsc-faq .accordion-item {
  margin-bottom: 10px; background: #fff; border: 1px solid var(--tsc-line); border-radius: 12px; overflow: hidden;
  box-shadow: 0 2px 10px rgba(13, 27, 76, .05); transition: box-shadow .2s ease;
}
.tsc-page .tsc-faq .accordion-item:hover { box-shadow: var(--tsc-shadow); }
.tsc-page .tsc-faq .accordion-title {
  border: 0 !important; padding: 15px 18px 15px 48px !important; font-size: 16px; font-weight: 700; color: var(--tsc-ink); line-height: 1.4;
}
.tsc-page .tsc-faq .accordion-title.active { color: var(--tsc-red); background: var(--tsc-red-soft); }
.tsc-page .tsc-faq .accordion-title .toggle {
  left: 12px !important; top: 50% !important; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%;
  background: var(--tsc-red); color: #fff; display: flex; align-items: center; justify-content: center; margin: 0 !important;
}
.tsc-page .tsc-faq .accordion-title .toggle i { font-size: 14px; color: #fff; }
.tsc-page .tsc-faq .accordion-inner { padding: 4px 18px 16px 48px !important; }
.tsc-page .tsc-faq .accordion-inner p { margin: 0; font-size: 15.5px; line-height: 1.7; color: #374151; }

/* =====================================================================
   TRANG LUU TRU: danh muc, the, tim kiem (blog)
   ===================================================================== */
.tsc-archive-hero { margin-bottom: 34px; text-align: left; }
.tsc-archive-eyebrow {
  display: inline-block; margin: 4px 0 8px; padding: 3px 12px; border-radius: 20px;
  background: rgba(255,255,255,.16); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase;
}
.tsc-archive-desc { max-width: 760px; margin-top: 10px; color: rgba(255,255,255,.88); font-size: 15.5px; line-height: 1.65; }
.tsc-archive-desc p { margin: 0; }
.tsc-archive-count {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; padding: 6px 14px; border-radius: 20px;
  background: var(--tsc-red); color: #fff; font-size: 13px; font-weight: 700;
}
.blog-archive .page-wrapper, .archive .page-wrapper { padding-top: 0 !important; }

/* Thanh ben: moi widget la mot the */
.post-sidebar .widget {
  background: #fff; border: 1px solid var(--tsc-line); border-radius: 14px; padding: 18px 18px 14px; margin-bottom: 22px;
  box-shadow: 0 2px 12px rgba(13, 27, 76, .05);
}
.post-sidebar .widget .widget-title { margin-bottom: 14px; }
.post-sidebar .widget p, .post-sidebar .textwidget { font-size: 14px; line-height: 1.65; color: #4b5263; }
.post-sidebar .widget ul li { border-top: 1px dashed var(--tsc-line) !important; padding: 8px 0 !important; font-size: 14px; line-height: 1.5; }
.post-sidebar .widget ul li:first-child { border-top: 0 !important; padding-top: 0 !important; }
.post-sidebar .widget ul li a { color: var(--tsc-ink); }
.post-sidebar .widget ul li a:hover { color: var(--tsc-red); }
.post-sidebar .widget_categories ul li { display: flex; justify-content: space-between; }
/* The (tag cloud) dang vien thuoc */
.post-sidebar .tagcloud { display: flex; flex-wrap: wrap; gap: 6px; }
.post-sidebar .tagcloud a {
  display: inline-block; margin: 0 !important; padding: 5px 11px !important; border: 1px solid var(--tsc-line) !important; border-radius: 20px;
  background: var(--tsc-bg); color: var(--tsc-ink) !important; font-size: 12.5px !important; line-height: 1.3; opacity: 1 !important;
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: all .2s ease;
}
.post-sidebar .tagcloud a:hover { background: var(--tsc-red); border-color: var(--tsc-red) !important; color: #fff !important; }
.row-divided > .col + .col:not(.large-12) { border-left-color: transparent !important; }

/* Phan trang */
.nav-pagination { margin-top: 10px; }
.nav-pagination > li > span, .nav-pagination > li > a {
  min-width: 40px; height: 40px; line-height: 38px; border-radius: 10px !important; border: 1px solid var(--tsc-line) !important;
  background: #fff; color: var(--tsc-ink); font-weight: 700; transition: all .2s ease;
}
.nav-pagination > li > a:hover { border-color: var(--tsc-red) !important; color: var(--tsc-red); }
.nav-pagination > li > .current { background: var(--tsc-red) !important; border-color: var(--tsc-red) !important; color: #fff !important; }

/* Thanh ben: tim kiem */
.post-sidebar .widget_search form { display: flex; }
.post-sidebar .widget_search input[type="search"] {
  height: 42px; border-radius: 10px 0 0 10px; border: 1px solid var(--tsc-line); border-right: 0; box-shadow: none; font-size: 14px;
}
.post-sidebar .widget_search button, .post-sidebar .widget_search .ux-search-submit {
  height: 42px; min-width: 46px; border-radius: 0 10px 10px 0 !important; background: var(--tsc-red) !important; border: 0 !important; color: #fff !important; margin: 0;
}
/* Thanh ben: the ho tro ky thuat */
.post-sidebar .widget_custom_html { padding: 0; border: 0; background: transparent; box-shadow: none; }
.tsc-side-cta {
  position: relative; overflow: hidden; text-align: center; padding: 24px 18px 18px; border-radius: 14px; color: #fff;
  background: linear-gradient(140deg, var(--tsc-red-dark), var(--tsc-red) 60%, #e8344f);
  box-shadow: 0 14px 28px -12px rgba(200, 16, 46, .65);
}
.tsc-side-cta::after { content: ""; position: absolute; right: -40px; top: -40px; width: 130px; height: 130px; border-radius: 50%; background: rgba(255,255,255,.1); }
.tsc-side-cta-icon {
  width: 54px; height: 54px; margin: 0 auto 10px; border-radius: 50%; background: #fff; color: var(--tsc-red);
  display: flex; align-items: center; justify-content: center; font-size: 24px; box-shadow: 0 6px 14px rgba(0,0,0,.15);
}
.tsc-side-cta strong { display: block; font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.tsc-side-cta p { color: rgba(255,255,255,.92) !important; font-size: 13.5px !important; margin-bottom: 14px; }
.tsc-side-cta .button { display: flex; align-items: center; justify-content: center; width: 100%; margin: 0 0 8px !important; }
.tsc-side-cta .button.primary { background: #fff !important; border-color: #fff !important; color: var(--tsc-red) !important; }
.tsc-side-cta .button.tsc-zalo { background: #0068ff !important; border: 0 !important; color: #fff !important; margin-bottom: 0 !important; }
/* Thanh ben: chuyen muc co so dem */
.post-sidebar .widget_categories ul li { align-items: center; }
.post-sidebar .widget_categories ul li a::before { content: "\f105"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--tsc-red); margin-right: 8px; font-size: 12px; }
.post-sidebar .widget_categories ul li a { flex: 1; }
.tsc-cat-count {
  flex: 0 0 auto; min-width: 30px; margin-left: 8px; padding: 2px 8px; border-radius: 20px; text-align: center;
  background: var(--tsc-red-soft); color: var(--tsc-red); font-size: 12px; font-weight: 700; line-height: 1.5;
}
.post-sidebar .widget_categories ul li:hover .tsc-cat-count { background: var(--tsc-red); color: #fff; }
/* Thanh ben: bai viet moi co anh */
.post-sidebar .flatsome_recent_posts ul li { display: block; }
.post-sidebar .flatsome_recent_posts .recent-blog-posts { padding: 8px 0; }
.post-sidebar .flatsome_recent_posts .badge, .post-sidebar .flatsome_recent_posts .recent-blog-posts-li .badge { margin-right: 10px; }
.post-sidebar .flatsome_recent_posts .badge-inner { border-radius: 10px !important; }
.post-sidebar .flatsome_recent_posts a { font-weight: 600; font-size: 14px; line-height: 1.4; color: var(--tsc-ink); }
.post-sidebar .flatsome_recent_posts a:hover { color: var(--tsc-red); }
.post-sidebar .widget_text a { color: var(--tsc-red); font-weight: 700; }

/* =====================================================================
   DUONG KE DO: thong nhat 1 net manh 2px, khong chong 2 duong
   ===================================================================== */
#top-bar.header-top { border-bottom-width: 1px !important; }
body .header-bottom, body #wide-nav { border-bottom: 2px solid var(--tsc-red) !important; }
.tsc-page-hero, .tsc-archive-hero { border-bottom: 2px solid var(--tsc-red) !important; }
.tsc-page-hero--compact { border-bottom-width: 2px !important; }
body .thiensonfooter { border-top: 2px solid var(--tsc-red) !important; }
/* Thanh menu dinh khi cuon: bo vien do, dung bong do -> khong bi 2 duong do sat nhau */
.header-wrapper.stuck #wide-nav, .header-wrapper.stuck .header-bottom { border-bottom-color: transparent !important; }
.header-wrapper.stuck { box-shadow: 0 4px 14px rgba(13, 27, 76, .28); }
/* Trang co khung tieu de: bo vien do duoi menu (khung tieu de da co duong do rieng) */
.tsc-page .header-wrapper:not(.stuck) #wide-nav, .tsc-page-landing .header-wrapper:not(.stuck) #wide-nav,
.archive .header-wrapper:not(.stuck) #wide-nav, .search .header-wrapper:not(.stuck) #wide-nav { border-bottom-color: transparent !important; }

/* =====================================================================
   BAI TUYEN DUNG
   ===================================================================== */
.tsc-job h2 {
  margin: 34px 0 14px; padding-left: 14px; border-left: 4px solid var(--tsc-red);
  color: var(--tsc-ink); font-size: 21px; font-weight: 800; line-height: 1.35;
}
.tsc-job-intro {
  padding: 22px 24px; border-radius: 16px; color: #fff;
  background: linear-gradient(120deg, #0d1d63 0%, #1435c3 65%, #2f62e6 100%);
  box-shadow: 0 14px 30px -14px rgba(20, 53, 195, .6);
}
.tsc-job-badge {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 14px; border-radius: 20px; margin-bottom: 10px;
  background: var(--tsc-red); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .3px;
  animation: tsc-pulse 2s infinite;
}
.tsc-job-lead { margin: 0; font-size: 16.5px; line-height: 1.7; color: rgba(255,255,255,.95); }
.tsc-job-lead strong { color: #fff; }
.tsc-job-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 20px 0 6px; }
.tsc-job-fact {
  display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px;
  background: #fff; border: 1px solid var(--tsc-line); border-radius: 12px; box-shadow: var(--tsc-shadow);
}
.tsc-job-fact > i {
  flex: 0 0 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  background: var(--tsc-red-soft); color: var(--tsc-red); font-size: 17px;
}
.tsc-job-fact small { display: block; color: var(--tsc-muted); font-size: 12.5px; text-transform: uppercase; letter-spacing: .4px; }
.tsc-job-fact strong { display: block; color: var(--tsc-ink); font-size: 15px; line-height: 1.4; }
.tsc-job-list { list-style: none; margin: 0 0 6px !important; padding: 0; }
.tsc-job-list li { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 10px !important; padding: 0 !important; font-size: 16px; line-height: 1.65; color: #374151; }
.tsc-job-list li i { flex: 0 0 18px; margin-top: 5px; color: var(--tsc-red); font-size: 16px; }
.tsc-job-note {
  display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 10px;
  background: #ecfdf3; border: 1px solid #b7ebcd; color: #166534; font-weight: 600;
}
.tsc-job-note i { color: #16a34a; }
.tsc-job-benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tsc-job-benefit {
  padding: 18px 14px; text-align: center; background: #fff; border: 1px solid var(--tsc-line); border-radius: 14px;
  box-shadow: var(--tsc-shadow); transition: transform .25s ease, box-shadow .25s ease;
}
.tsc-job-benefit:hover { transform: translateY(-4px); box-shadow: var(--tsc-shadow-hover); }
.tsc-job-benefit i {
  width: 50px; height: 50px; margin: 0 auto 10px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #ff6b8b, var(--tsc-red)); color: #fff; font-size: 20px;
}
.tsc-job-benefit strong { display: block; color: var(--tsc-ink); font-size: 15px; margin-bottom: 4px; }
.tsc-job-benefit span { display: block; color: var(--tsc-muted); font-size: 13.5px; line-height: 1.5; }
.tsc-job-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 26px 0 4px; }
.tsc-job-gallery img { width: 100%; height: 230px; object-fit: cover; border-radius: 14px; box-shadow: var(--tsc-shadow); }
.tsc-job-apply {
  padding: 22px 24px; border-radius: 16px; text-align: center; color: #fff;
  background: linear-gradient(120deg, var(--tsc-red-dark), var(--tsc-red));
  box-shadow: 0 14px 30px -12px rgba(200, 16, 46, .6);
}
.tsc-job-apply p { color: rgba(255,255,255,.95); font-size: 16px; margin-bottom: 14px; }
.tsc-job-apply-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.tsc-job-apply .button { margin: 0 !important; }
.tsc-job-apply .button.primary { background: #fff !important; border-color: #fff !important; color: var(--tsc-red) !important; }
.tsc-job-apply .button.tsc-job-call { background: rgba(255,255,255,.14) !important; border: 1px solid rgba(255,255,255,.6) !important; color: #fff !important; }
.tsc-job-apply .button.tsc-job-call:hover { background: #fff !important; color: var(--tsc-red) !important; }
.tsc-job-email { margin: 14px 0 0 !important; font-size: 14px !important; }
.tsc-job-email a { color: #fff; font-weight: 700; text-decoration: underline; }
.tsc-job-outro { margin-top: 20px; font-size: 16px; line-height: 1.7; color: #374151; font-style: italic; }
@media (max-width: 849px) { .tsc-job-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 549px) {
  .tsc-job-facts, .tsc-job-gallery { grid-template-columns: 1fr; }
  .tsc-job-gallery img { height: 200px; }
  .tsc-job-apply .button { width: 100%; justify-content: center; }
}
.tsc-job-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.tsc-job-badges .tsc-job-badge { margin-bottom: 0; }
.tsc-job-deadline {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 14px; border-radius: 20px;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.4); color: #fff; font-size: 13px; font-weight: 700;
}

/* Icon ngoi nha o muc HOME */
.tsc-home-ico { margin-right: 6px; font-size: 13px; position: relative; top: -1px; }
#wide-nav .menu-item-597 > a:hover .tsc-home-ico { transform: scale(1.12); }
.tsc-home-ico { transition: transform .2s ease; display: inline-block; }

/* =====================================================================
   DAU BAI VIET (trang chi tiet)
   ===================================================================== */
.single-post .entry-header-text-top { text-align: left !important; padding-top: 0 !important; }
.tsc-post-head {
  position: relative; overflow: hidden; margin-bottom: 22px; padding: 24px 26px 22px; border-radius: 16px; color: #fff;
  background: linear-gradient(120deg, #0d1d63 0%, #1435c3 60%, #2f62e6 100%);
  border-bottom: 2px solid var(--tsc-red);
  box-shadow: 0 14px 30px -16px rgba(20, 53, 195, .6);
}
.tsc-post-head::after {
  content: ""; position: absolute; right: -70px; top: -70px; width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.14), rgba(255,255,255,0) 70%);
}
.tsc-post-head > * { position: relative; z-index: 1; }
.tsc-post-head .tsc-breadcrumb { margin-bottom: 10px; }
.tsc-post-cats { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.tsc-post-cats a {
  display: inline-block; padding: 4px 12px; border-radius: 20px; background: var(--tsc-red); color: #fff !important;
  font-size: 12px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; transition: background .2s ease;
}
.tsc-post-cats a:hover { background: #fff; color: var(--tsc-red) !important; }
.tsc-post-head .entry-title { margin: 0 0 14px; color: #fff !important; font-size: 28px; font-weight: 800; line-height: 1.3; }
.tsc-post-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: rgba(255,255,255,.88); }
.tsc-post-meta span { display: inline-flex; align-items: center; gap: 7px; }
.tsc-post-meta i { color: #ffb3bd; }
.tsc-post-meta a { color: #fff; font-weight: 600; }
.tsc-post-meta a:hover { color: #ffb3bd; }
@media (max-width: 549px) {
  .tsc-post-head { padding: 18px 18px 16px; border-radius: 12px; }
  .tsc-post-head .entry-title { font-size: 22px; }
}
.single-post .entry-header-text-top { padding-left: 0 !important; padding-right: 0 !important; }
.single-post .entry-image .badge.post-date { display: none; }
.single-post .entry-image img { border-radius: 14px; }

/* =====================================================================
   TOI UU DIEN THOAI (<= 549px)
   ===================================================================== */
@media (max-width: 849px) {
  /* Thanh lien he co dinh day man hinh khong che noi dung cuoi trang */
  body:has(.bottom-contact) { padding-bottom: 76px; }
}
@media (max-width: 549px) {
  /* Chu chung gon hon, khong tran chu dai (link, ma san pham) */
  body { -webkit-text-size-adjust: 100%; }
  .entry-content, .product-short-description, .woocommerce-Tabs-panel { overflow-wrap: anywhere; word-break: normal; }
  .entry-content img, .entry-content iframe, .entry-content video { max-width: 100% !important; height: auto; }
  .entry-content iframe[src*="youtube"], .entry-content iframe[src*="google.com/maps"] { aspect-ratio: 16/9; width: 100% !important; height: auto !important; }
  .entry-content table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
  .section { padding-top: 26px !important; padding-bottom: 26px !important; }
  .tsc-banner.section { padding: 0 !important; }

  /* Khoi khu vuc: luoi 2 cot thay vi 5 dong */
  .tsc-area-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 6px; }
  .tsc-area-links a { display: flex !important; align-items: center; justify-content: center; gap: 4px; min-height: 46px; margin: 0 !important; padding: 6px 8px !important; font-size: 13px; text-align: center; line-height: 1.3; }
  .tsc-area-links a:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .tsc-area-links br { display: none; }

  /* Phan hoi khach hang: vuot ngang thay vi 6 the xep doc */
  .tsc-testi-row {
    display: flex !important; flex-wrap: nowrap; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none;
    margin-left: -15px !important; margin-right: -15px !important; padding: 4px 15px 8px !important;
  }
  .tsc-testi-row::-webkit-scrollbar { display: none; }
  .tsc-testi-row > .col { flex: 0 0 84% !important; max-width: 84% !important; padding: 0 !important; scroll-snap-align: center; }
  .tsc-sec-testi .section-title-container { margin-bottom: 10px; }

  /* The dich vu (ship, cod...) gon hon */
  .tsc-features-row .col { padding-bottom: 12px !important; }

  /* Chan trang: thong tin cong ty full, Lien ket + Ho tro 2 cot, Chinh sach full */
  .thiensonfooter > .section-content > .row { grid-template-columns: 1fr 1fr; column-gap: 14px; }
  .thiensonfooter > .section-content > .row > .col:first-child,
  .thiensonfooter > .section-content > .row > .col:last-child { grid-column: 1 / -1; }
  .thiensonfooter .col li, .thiensonfooter .col li a { font-size: 14px; }

  /* Trang lien he: anh mat tien khong chiem het man hinh */
  .page-id-137 .ux-slider .banner { padding-top: 240px !important; height: 240px !important; }

  /* Bai viet: muc luc noi khong de len chu */
  .ez-toc-sticky-toggle-icon, .ez-toc-open-icon { opacity: .85; }
  .tsc-post-head h1 { font-size: 22px !important; }

  /* San pham: tieu de, gia, nut mua de bam */
  .product-info .product-title { font-size: 20px !important; line-height: 1.35; }
  .product-info .price { font-size: 22px; }
  .cart .quantity input, .cart .quantity .button { min-height: 42px; }
  .single_add_to_cart_button { min-height: 42px; flex: 1; }
  .product-small .name, .product-small .product-title { font-size: 13.5px !important; }

  /* O nhap form khong bi iPhone tu phong to */
  input[type=text], input[type=email], input[type=tel], input[type=search], input[type=number], textarea, select { font-size: 16px !important; }
}
