/**
 * NukeViet Content Management System
 * @version 4.x
 * @author VINADES.,JSC <contact@vinades.vn>
 * @copyright (C) 2009-2021 VINADES.,JSC. All rights reserved
 * @license GNU/GPL version 2 or any later version
 * @see https://github.com/nukeviet The NukeViet CMS GitHub project
 */

/* Các tùy chỉnh CSS của giao diện nên để vào đây */
/*@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

body {
  font-size: 16px;
  /* font-family: "utm_avo", sans-serif; */
  /*font-family: "Poppins", sans-serif !important;*/
  font-family: "Montserrat", sans-serif !important;
  

}

.product-home-slider {
  margin: 0 -15px;
}

.product-home-slider .item {
  margin: 0 15px;
  background: #fff;
  box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 10px;
  text-align: center;
}

.product-home-slider .item:hover {
  color: #1e8de8;
}

.product-home-slider .item .category {
  font-size: 14px;
  text-transform: inherit;
  margin-top: 10px;
}

.product-home-slider .item .slide-title {
  font-weight: 500;
  font-size: 16px;
  text-overflow: ellipsis;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  padding-left: 10px;
  padding-right: 10px;
}

.product-home-slider .item .slide-title a {
  color: #252a2b;
  transition: all ease 0.4s;
}

.product-home-slider .item .price {
  font-weight: 700;
  color: #1e8de8;
}

.product-home-slider .item .box-btn {
  display: flex;
  justify-content: space-between;
  padding-left: 5px;
  padding-right: 5px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.product-home-slider .item .detail-btn {
  background: #201e1e;
  width: 48%;
  color: #fff;
  font-weight: 600;
  padding: 5px;
  font-size: 14px;
  transition: all ease 0.4s;
  border-radius: 4px;
}

.product-home-slider .item .detail-btn:hover {
  background: red;
}

.product-home-slider .item .cart-btn {
  width: 48%;
  background: #1e8de8;
  color: #fff;
  font-size: 14px;
  border-radius: 4px;
  font-weight: 600;
  padding: 5px;
  transition: all ease 0.4s;
}

.product-home-slider .item .cart-btn:hover {
  background: red;
}

.cart .gr-btn button {
  padding: 10px 20px;
  margin-right: 20px;
  border: 2px solid #222;
  color: #222;
  background: #fff;
  transition: all ease 0.4s;
  font-weight: 700;
  text-transform: uppercase;
}

.custom-select-footer {
  position: relative;
  border-radius: 4px;
  border: 1px solid #666;
}

.custom-select-footer select {
  display: none;
}

.form-booking form .custom-select-footer,
.form-booking form input {
  width: 100%;
  border: solid 1px #ececec;
  border-radius: 7px;
  padding: 8px 13px;
}

.form-booking form .custom-select-footer:focus,
.form-booking form input:focus {
  outline: none;
  box-shadow: 0 0 5px #ccc;
}

@media screen and (max-width: 996px) {
  .form-booking form .custom-select-footer,
  .form-booking form input {
    margin-bottom: 15px;
  }
}

.footer-main h3 {
  font-size: 16px !important;
  font-weight: 600 !important;
  padding-top: 20px !important;
  color: #fff !important;
  text-transform: inherit !important;
  margin-bottom: 16px !important;


}
@media (max-width:575px) {
  .footer-main h3 {
    font-size: 14px !important;
  }
}

.viewcat-blog {
  margin: 0 -15px;
}

.viewcat-blog .item {
  margin: 10px 15px;
  border-radius: 10px;
  overflow: hidden;
}

.viewcat-blog .item .box-content {
  background-color: #f9f9f9;
  padding: 20px 20px 20px 20px;
}

.viewcat-blog .item .home-blog-title {
  margin-bottom: 15px;
  text-overflow: ellipsis;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 18px;
  font-weight: 700;
  color: #252a2b;
  line-height: 24px;
}

.viewcat-blog .item p {
  font-weight: 400;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: #252a2b;
}

.viewcat-blog .item span {
  color: #333;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
}

.price-page span {
  font-size: 20px !important;
}

.banner.banner-service {
  min-height: 280px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
}

.banner.banner-service::before {
  position: absolute;
  content: "";
  background: rgb(0 0 0 / 50%);
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.banner .item {
  position: unset;
}

.banner.banner-service .box-title {
  position: absolute;
  top: 35%;
  transform: translateY(-50%);
  left: unset;
  text-align: center;
  width: 100%;
}

.banner.banner-service .box-title h1 {
  font-size: 48px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  line-height: 62px;
}
.home-about .slogan-title {
  font-size: 24px;
}
#blog-result .box-img img {
  width: 100%;
  height: 275px;
  overflow: hidden;
}
.products-item .box-img img {
  width: 100%;
  height: 100% !important;
  overflow: hidden;
}
.item .box-img img {
  width: 100%;
  overflow: hidden;
}
.footer-main .footer-logo {
  width: 100%;
  margin-bottom: 30px;
}

#button-contact-vr {
  position: fixed;
  bottom: 0;
  z-index: 99999;
}
/*phone*/
#button-contact-vr .button-contact {
  position: relative;
  margin-top: -5px;
}
#button-contact-vr .button-contact .phone-vr {
  position: relative;
  visibility: visible;
  background-color: transparent;
  width: 90px;
  height: 90px;
  cursor: pointer;
  z-index: 11;
  -webkit-backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transition: visibility 0.5s;
  left: 0;
  bottom: 0;
  display: block;
}
.phone-vr-circle-fill {
  width: 65px;
  height: 65px;
  top: 12px;
  left: 12px;
  position: absolute;
  box-shadow: 0 0 0 0 #c31d1d;
  background-color: rgba(230, 8, 8, 0.7);
  border-radius: 50%;
  border: 2px solid transparent;
  -webkit-animation: phone-vr-circle-fill 2.3s infinite ease-in-out;
  animation: phone-vr-circle-fill 2.3s infinite ease-in-out;
  transition: all 0.5s;
  -webkit-transform-origin: 50% 50%;
  -ms-transform-origin: 50% 50%;
  transform-origin: 50% 50%;
  -webkit-animuiion: zoom 1.3s infinite;
  animation: zoom 1.3s infinite;
}
.phone-vr-img-circle {
  background-color: #e60808;
  width: 40px;
  height: 40px;
  line-height: 40px;
  top: 25px;
  left: 25px;
  position: absolute;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  -webkit-animation: phonering-alo-circle-img-anim 1s infinite ease-in-out;
  animation: phone-vr-circle-fill 1s infinite ease-in-out;
}
.phone-vr-img-circle a {
  display: block;
  line-height: 37px;
}
.phone-vr-img-circle img {
  max-height: 25px;
  max-width: 27px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
}
@-webkit-keyframes phone-vr-circle-fill {
  0% {
    -webkit-transform: rotate(0) scale(1) skew(1deg);
  }
  10% {
    -webkit-transform: rotate(-25deg) scale(1) skew(1deg);
  }
  20% {
    -webkit-transform: rotate(25deg) scale(1) skew(1deg);
  }
  30% {
    -webkit-transform: rotate(-25deg) scale(1) skew(1deg);
  }
  40% {
    -webkit-transform: rotate(25deg) scale(1) skew(1deg);
  }
  50% {
    -webkit-transform: rotate(0) scale(1) skew(1deg);
  }
  100% {
    -webkit-transform: rotate(0) scale(1) skew(1deg);
  }
}
@-webkit-keyframes zoom {
  0% {
    transform: scale(0.9);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 15px transparent;
  }
  100% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 transparent;
  }
}
@keyframes zoom {
  0% {
    transform: scale(0.9);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 15px transparent;
  }
  100% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 transparent;
  }
}
.phone-bar a {
  position: fixed;
  bottom: 25px;
  left: 30px;
  z-index: -1;
  color: #fff;
  font-size: 16px;
  padding: 8px 15px 7px 50px;
  border-radius: 100px;
  white-space: nowrap;
}
.phone-bar a:hover {
  opacity: 0.8;
  color: #fff;
}
@media (max-width: 736px) {
  .phone-bar {
    display: none;
  }
}

#zalo-vr .phone-vr-circle-fill {
  box-shadow: 0 0 0 0 #2196f3;
  background-color: rgba(33, 150, 243, 0.7);
}
#zalo-vr .phone-vr-img-circle {
  background-color: #2196f3;
}
#viber-vr .phone-vr-circle-fill {
  box-shadow: 0 0 0 0 #714497;
  background-color: rgba(113, 68, 151, 0.8);
}
#viber-vr .phone-vr-img-circle {
  background-color: #714497;
}
#contact-vr .phone-vr-circle-fill {
  box-shadow: 0 0 0 0 #2196f3;
  background-color: rgba(33, 150, 243, 0.7);
}
#contact-vr .phone-vr-img-circle {
  background-color: #2196f3;
}
div#whatsapp-vr .phone-vr .phone-vr-circle-fill {
  box-shadow: 0 0 0 0 #1fd744;
  background-color: rgb(35 217 72 / 70%);
}
div#whatsapp-vr .phone-vr .phone-vr-img-circle {
  background: #1cd741;
}
div#whatsapp-vr .phone-vr .phone-vr-img-circle img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 50%;
}

/*css all in one*/
#gom-all-in-one #phone-vr {
  transition: 0.7s all;
  -moz-transition: 0.7s all;
  -webkit-transition: 0.7s all;
}
#gom-all-in-one #zalo-vr {
  transition: 1s all;
  -moz-transition: 1s all;
  -webkit-transition: 1s all;
}
#gom-all-in-one #viber-vr {
  transition: 1.3s all;
  -moz-transition: 1.3s all;
  -webkit-transition: 1.3s all;
}
#gom-all-in-one #contact-vr {
  transition: 1.6s all;
  -moz-transition: 1.6s all;
  -webkit-transition: 1.6s all;
}
#button-contact-vr.active #gom-all-in-one .button-contact {
  margin-left: -100%;
}
#all-in-one-vr .phone-bar {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 100%;
  color: #fff;
  padding: 5px 15px 5px 48px;
  border-radius: 50px;
  margin-left: -64px;
  width: max-content;
  cursor: pointer;
}

.back-to-top {
  position: fixed !important;
  bottom: 95px;
  right: 15px;
  display: none;
  width: 50px;
  height: 50px;
  background: #fff;
  line-height: 50px;
  text-align: center;
  border-radius: 4px;
  color: #333;
  font-size: 17px;
  border: 1px solid #ddd;
  z-index: 3;
  transition: all ease 0.5s;
}

.footer-fixed {
  z-index: 1;
}

.form-booking .input-area {
  display: flex;
  flex-wrap: wrap;
}
.form-booking .input-area .input-item {
  width: 25%;
  padding: 0 5px;
}
.form-booking .input-area .input-item:first-child {
  width: 100%;
  margin-bottom: 10px;
}
.form-booking .box-btn {
  margin-bottom: -55px;
  text-align: center;
  margin-top: 25px;
  width: 100%;
}
.form-booking .submit-btn {
  transition: all ease 0.4s;
}
.form-booking .submit-btn:hover {
  background: #5b5b5b;
}
.form-booking form {
  background: #fff;
  padding: 30px 20px 35px;
  border-radius: 15px;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 8px 3px;
}

.footer-fixed .input-area {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.footer-fixed .input-area .input-item {
  width: calc(100% / 6);
  padding: 0 5px;
}

.blog .row .right .detail-btn,
.home-blog-slide .item span,
.blog-slide .item span {
  text-transform: unset;
}

.home-sv .sv-item {
  border: 1px solid #03a9f4;
  border-radius: 3px;
  overflow: hidden;
  padding: 0;
}
.sub-menu-min ul {
  display: block;
  padding-left: 10px;
  border-left: 2px solid #cfcfcf;
  margin-left: 15px;
  height: 0;
  overflow: hidden;
  transition: height 0.5s;
}
.sub-menu-min li:hover ul {
  height: 5rem;
}
.tablle-price {
    margin-top: 30px;
}
.table-service {
  margin-bottom: 30px;
  border-radius: 10px;
}

.table-service table {
  border: 3px #0184ec solid !important;
  border-radius: 10px;
}

.table-service tr:nth-child(2n) td {
  background: #fff;
  color: #333;
}

.table-service tr th {
  text-transform: uppercase;
  background: #0184ec;
  color: #fff;
}

@media screen and (max-width: 575px) {
  .table-service tr th {
    padding: 3px;
    font-size: 13px;
  }
}

.table-service tr th img {
  width: 50%;
  margin-left: 8px;
}

.table-service tr td {
  text-align: center;
  font-weight: 600;
  text-transform: uppercase;
  background: #113d8e;
  color: #fff;
  font-size: 14px;
}

@media screen and (max-width: 575px) {
  .table-service tr td {
    font-size: 12px;
    padding: 3px;
  }
}

.table-service tr td span {
  display: block;
  text-transform: unset;
  font-weight: 400;
  font-size: 12px;
}

.bg-blue {
  background: #0184ec !important;
  color: #fff !important;
}

.white {
  background: #fff !important;
  color: #333 !important;
}

.service-slider .item .box-img {
  aspect-ratio: 560/316;
}
.service-slider .item .img {
  height: 100% !important;
  max-height:unset;
  width: 100%;
}
.slick-track .item .box-img img {
  height: 100% !important;
}

.seo-content img {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 10px;
}

.seo-content .image-center  {
 text-align: center;
}

@media screen and (max-width: 996px) {
    .footer {
      padding-bottom: 0;
    }
    .footer .footer-top .accordion {
      display: none;
    }
  }

/* ==========================================================================
   PANDA CAR SPA — GIAO DIỆN MỚI 2026-10  (thêm vào CUỐI file themes/panda/css/custom.css)
   Cách hoàn tác: xóa toàn bộ khối này (từ dòng "PANDA CAR SPA — GIAO DIỆN MỚI" trở xuống)
   hoặc ghi đè lại bằng bản gốc custom.css.GOC-sao-luu-2026-10-08.
   Không sửa mã hệ thống / không sửa file template.
   ========================================================================== */

:root {
  --blue-color: #1b63d3;          /* ghi đè xanh cũ để mọi chỗ dùng var(--blue-color) đồng bộ */
  --pc-navy: #0b1f45;
  --pc-navy-2: #0f2d63;
  --pc-blue: #1b63d3;
  --pc-blue-dark: #1448a3;
  --pc-red: #d6192d;
  --pc-bg: #f3f6fb;
  --pc-ink: #1b2437;
  --pc-muted: #5d6b82;
  --pc-line: #e3e9f3;
  --pc-radius: 16px;
  --pc-shadow: 0 6px 24px rgba(11, 31, 69, .08);
  --pc-shadow-hover: 0 14px 34px rgba(11, 31, 69, .16);
}

/* ---------- 1. SỬA LỖI MENU Ở KHỔ MÁY TÍNH BẢNG / CỬA SỔ HẸP (576–1200px) ---------- */
/* Lỗi cũ: khung menu rộng 100% nhưng chỉ dịch trái 500px nên lòi nửa màn hình và trang tràn ngang */
@media (max-width: 1200px) {
  #main-navigation {
    width: min(340px, 88vw) !important;
    left: -120% !important;
    visibility: hidden;
  }
  #main-navigation.show { left: 0 !important; visibility: visible; }
}
/* Lỗi cũ: ở 576–1200px nút menu ba gạch bị ẩn, khách không vào được menu */
@media (min-width: 576px) and (max-width: 1200px) {
  #mobile-btn { display: flex !important; align-items: center; justify-content: flex-start; width: 44px; height: 44px; padding-left: 6px; }
  nav.navbar { align-items: flex-start !important; }
}
@media (max-width: 1200px) {
  #mobile-btn svg path { stroke: #0b1f45 !important; }   /* nút menu màu tối để thấy trên nền trắng */
}
html, body { max-width: 100%; overflow-x: hidden; }

/* ---------- 2. NỀN & CHỮ ---------- */
body {
  background: var(--pc-bg);
  color: var(--pc-ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- 3. ĐẦU TRANG ---------- */
.header-top { border-bottom: 1px solid var(--pc-line); }
.header-top-right ul li a { color: var(--pc-muted); font-weight: 500; font-size: 13px; }
.header-top-right .tell-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--pc-red); color: #fff !important;
  padding: 6px 14px; border-radius: 999px; font-weight: 700 !important;
  box-shadow: 0 4px 12px rgba(214, 25, 45, .28);
}
.header-top-right .tell-btn i { color: #fff !important; margin: 0 !important; }
@media (min-width: 1201px) {
  .header-top { background: var(--pc-navy) !important; border-bottom: 1px solid rgba(255, 255, 255, .10) !important; }
  /* Khối địa chỉ + số điện thoại vốn bị hệ thống ẩn (display:none) — bật lên cho màn hình lớn */
  .header-top-right { display: block !important; }
  .header-top-right ul { display: flex; align-items: center; gap: 22px; margin: 0; padding: 0; list-style: none; }
  .header-top-right ul li a { color: rgba(255, 255, 255, .88) !important; font-size: 14px; }
  .header-top-right ul li a i { color: #fff !important; }
  .header-top-right .tell-btn { font-size: 15px; }
  .header-main {
    background: linear-gradient(90deg, var(--pc-navy), var(--pc-navy-2)) !important;
    border-bottom: 0 !important; box-shadow: 0 6px 20px rgba(11, 31, 69, .18);
  }
}
@media (max-width: 1200px) {
  .header-main { background: #fff !important; border-bottom: 3px solid var(--pc-blue) !important; box-shadow: 0 4px 16px rgba(11, 31, 69, .10); }
}
.header-main-content .accordion > li > .link > a,
.header-main-content .accordion > li > a { font-weight: 600; letter-spacing: .01em; }
.header-main-content .accordion .dropdown.active > .link,
.header-main-content .accordion .dropdown.active > .link > a { background: var(--pc-blue) !important; border-radius: 999px; color: #fff; }

/* Menu trượt trên điện thoại/tablet: đổi đỏ → xanh Panda */
.menu__drawer .menu__top { background: linear-gradient(90deg, var(--pc-navy), var(--pc-navy-2)) !important; }
.mobile-menu-tab.is-active { background: var(--pc-blue) !important; border-color: var(--pc-blue) !important; }
.mobile-search-btn { background: var(--pc-blue) !important; }
.mobile__header .mobile-tab-panel[data-panel=menu] li > .link > a,
.mobile__header .mobile-tab-panel[data-panel=menu] li > a { font-weight: 600; padding: 12px 4px; color: var(--pc-navy); }

/* ---------- 4. TIÊU ĐỀ MỤC TRANG CHỦ ---------- */
.home-service .box-item { margin-bottom: 46px; }
.box-scroll { overflow-x: visible !important; }           /* lỗi cũ: cuộn ngang → hiện thanh xám, mất nút "Xem tất cả" */
.box-title-underline {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 12px;
  border-bottom: 2px solid var(--pc-line);
  padding-bottom: 12px; margin-bottom: 22px; position: relative;
}
.box-title-underline::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 76px; height: 2px; background: var(--pc-blue); }
.box-title-underline .icon-title { background: none !important; margin: 0 !important; display: block; flex: 1 1 auto; min-width: 0; }
.box-title-underline .icon-title::before { display: none !important; }
.box-title-underline .icon-title a {
  height: auto !important; padding: 0 !important; white-space: normal !important;
  color: var(--pc-navy) !important; font-family: "Montserrat", sans-serif !important;
  font-size: 20px !important; font-weight: 700 !important; text-transform: none !important;
  letter-spacing: -.01em; justify-content: flex-start !important; line-height: 1.3;
}
.box-title-underline .icon-title a .icon i { color: var(--pc-blue); margin-right: 8px; font-size: 18px; }
.box-title-underline .box-btn { margin: 0 !important; flex-shrink: 0; }
.box-title-underline .box-btn a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border: 1px solid var(--pc-line); border-radius: 999px;
  background: #fff; color: var(--pc-blue) !important; font-weight: 600; font-size: 13px; white-space: nowrap;
}
.box-title-underline .box-btn a:hover { background: var(--pc-blue); border-color: var(--pc-blue); color: #fff !important; }

/* ---------- 5. THẺ SẢN PHẨM / DỊCH VỤ ---------- */
.home-service-item {
  background: #fff !important; border: 0 !important;
  border-radius: var(--pc-radius) !important; box-shadow: var(--pc-shadow) !important;
  overflow: hidden; height: calc(100% - 20px);
  transition: transform .25s ease, box-shadow .25s ease !important;
}
.home-service-item:hover { transform: translateY(-4px); box-shadow: var(--pc-shadow-hover) !important; }
.home-service-item .box-img { border: 0 !important; border-radius: 0 !important; box-shadow: none !important; background: #fff !important; }
.home-service-item .box-img img { transition: transform .5s ease !important; }
.home-service-item:hover .box-img img { transform: scale(1.05); }
.home-service-item .box-content {
  background: #fff !important; box-shadow: none !important; border-radius: 0 !important;
  padding: 14px 16px 18px; text-align: left !important;
}
.home-service-item .box-content h3 { margin: 0 0 8px; line-height: 1.4; }
.home-service-item .box-content h3 a {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
  min-height: 4.2em;
  color: var(--pc-navy) !important; font-size: 15px !important; font-weight: 600 !important;
  text-transform: none !important; text-overflow: clip !important; white-space: normal !important;
}
.home-service-item .box-content h3 a:hover { color: var(--pc-blue) !important; }
.home-service-item .box-content .price { display: inline-block; color: var(--pc-red) !important; font-weight: 800 !important; font-size: 16px !important; }

/* ---------- 6. NÚT LIÊN HỆ NỔI (Zalo / Gọi) — chuyển sang góc phải, không đè nội dung ---------- */
#button-contact-vr { left: auto !important; right: 14px !important; bottom: 92px !important; width: auto !important; }
#button-contact-vr .button-contact { transform: scale(.86); transform-origin: right bottom; }
#button-contact-vr .phone-vr-img-circle { box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
.back-to-top {
  bottom: 24px !important; right: 18px !important;
  border-radius: 50% !important; width: 46px !important; height: 46px !important; line-height: 46px !important;
  background: var(--pc-blue) !important; color: #fff !important; border: 0 !important;
  box-shadow: 0 8px 20px rgba(27, 99, 211, .35);
}

/* ---------- 7. CHÂN TRANG ---------- */
.footer-main { background: linear-gradient(180deg, var(--pc-navy), #081634) !important; padding: 52px 0 34px !important; }
.footer-main h3 { color: #fff; font-size: 15px; letter-spacing: .06em; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.footer-main h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 38px; height: 3px; border-radius: 3px; background: var(--pc-blue); }
.footer-main ul li { list-style: none !important; margin-bottom: 9px; }
.footer-main a { color: rgba(255, 255, 255, .78); }
.footer-main a:hover { color: #fff; }
.footer-info p { color: rgba(255, 255, 255, .72); line-height: 1.7; font-size: 14px; }
.footer-bottom { background: #061230 !important; border-top: 1px solid rgba(255, 255, 255, .08) !important; padding: 12px 0 !important; }

/* ---------- 8. BÀI VIẾT BLOG ---------- */
.blog-detail-main h1 { color: var(--pc-navy); font-weight: 800; font-size: 32px; line-height: 1.3; letter-spacing: -.01em; margin-bottom: 14px; }
.blog-detail-main .post { color: var(--pc-muted); margin-bottom: 22px; }
.blog-detail-main .post span:last-child:not(.day):not(.author) { display: none; }   /* dòng "by" trơ trọi vì mẫu không in tên tác giả */
.blog-detail-item { font-size: 17px; line-height: 1.8; color: var(--pc-ink); }
.blog-detail-item p { margin-bottom: 1.1em; text-align: left !important; }
.blog-detail-item h2 {
  font-size: 24px; font-weight: 700; color: var(--pc-navy);
  margin: 1.8em 0 .7em; padding-left: 14px; border-left: 4px solid var(--pc-blue); line-height: 1.35;
}
.blog-detail-item h3 { font-size: 20px; font-weight: 700; color: var(--pc-navy); margin: 1.5em 0 .6em; }
.blog-detail-item a { color: var(--pc-blue); text-decoration: underline; text-underline-offset: 3px; }
.blog-detail-item ul, .blog-detail-item ol { padding-left: 1.3em; margin-bottom: 1.1em; text-align: left; }
.blog-detail-item li { margin-bottom: .45em; }
.blog-detail-item img { max-width: 100%; height: auto; border-radius: 12px; }
.blog-detail-item figure { margin: 1.4em 0; }
.blog-detail-item figcaption { color: var(--pc-muted); font-size: 14px; margin-top: 8px; }
.blog-detail-item table {
  width: 100%; border-collapse: separate !important; border-spacing: 0;
  border: 1px solid var(--pc-line) !important; border-radius: 12px; overflow: hidden;
  background: #fff; font-size: 15px; margin: 1.4em 0;
}
.blog-detail-item table th, .blog-detail-item table td { padding: 11px 14px !important; border: 0 !important; border-bottom: 1px solid var(--pc-line) !important; }
.blog-detail-item table th { background: var(--pc-navy); color: #fff; font-weight: 700; }   /* hàng tiêu đề dùng thẻ th */
.blog-detail-item table tr:nth-child(even) td { background: #f7f9fd; }
.blog-detail-item table tr:last-child td { border-bottom: 0 !important; }
.aside-title { color: var(--pc-navy); font-weight: 700; }

/* Điện thoại / tablet: bỏ cột chia sẻ cố định bên trái, dùng cả bề rộng cho chữ */
@media (max-width: 991.98px) {
  .blog-detail .box-social { float: none; width: auto; height: auto; padding: 0 0 14px; position: static; }
  .blog-detail .box-social ul { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }
  .blog-detail .box-social ul li { margin: 0; }
  .blog-detail-main { padding-left: 0; padding-right: 0; }
}

/* ---------- 9. ĐIỆN THOẠI ---------- */
@media (max-width: 575.98px) {
  .home-service .row { --bs-gutter-x: 12px; }
  .home-service .box-item { margin-bottom: 34px; }
  .box-title-underline .icon-title a { font-size: 17px !important; }
  .box-title-underline .box-btn a { padding: 6px 11px; font-size: 12px; }
  .home-service-item .box-content { padding: 11px 12px 14px; }
  .home-service-item .box-content h3 a { font-size: 13.5px !important; }
  .home-service-item .box-content .price { font-size: 14.5px !important; }
  .blog-detail-main h1 { font-size: 24px; }
  .blog-detail-item { font-size: 16px; }
  .blog-detail-item h2 { font-size: 20px; }
  .blog-detail-item table { display: block; overflow-x: auto; font-size: 13px; }
  .blog-detail-item table th, .blog-detail-item table td { padding: 9px 7px !important; }
  #button-contact-vr { right: 6px !important; bottom: 84px !important; }
  #button-contact-vr .button-contact { transform: scale(.66) !important; }
}

/* ---------- 10. CHI TIẾT NHỎ ---------- */
.footer-main .footer-info { background: transparent !important; }
.footer-main .footer-info p, .footer-main .footer-info li { color: rgba(255, 255, 255, .82); }

/* ---------- 11. SỬA LỖI TRANG THÀNH VIÊN (đổi mật khẩu/email bị ẩn) ----------
   Mẫu NukeViet dùng class kiểu Bootstrap 3 ("fade in active") nhưng giao diện chạy Bootstrap 5,
   nên khung biểu mẫu bị opacity:0 → trang trắng, không thấy ô nhập. */
.tab-pane.fade.in.active, .tab-pane.fade.active { opacity: 1 !important; }


/* ---------- 12. SLIDER TRANG CHỦ: khung cao theo đúng tỉ lệ ảnh (từ 576px trở lên) ---------- */
/* Lỗi cũ: khung cố định cao 550px + object-fit:cover → máy tính bảng bị cắt mất hai bên, chữ trên ảnh bìa bị mất */
@media (min-width: 576px) {
  .home-slider .item .home-slider--item,
  .home-slider .item .home-slider--item .box-img { height: auto !important; }
  .home-slider .item .home-slider--item .box-img img,
  .slick-track .item .box-img img { height: auto !important; object-fit: contain !important; }
}

/* ===== 13. Tối ưu tốc độ (02/12/2026): giảm CLS/LCP, chỉ dùng CSS ===== */
/* Slider trang chủ: trước khi slick khởi tạo, các slide xếp chồng dọc và đẩy trang xuống -> nhảy bố cục.
   Chỉ hiện slide đầu và giữ chỗ đúng tỉ lệ ảnh (1902x704). */
.home-slider.banner-slider:not(.slick-initialized) > .item:not(:first-child) { display: none; }
.home-slider.banner-slider:not(.slick-initialized) { aspect-ratio: 1902 / 704; overflow: hidden; }
.home-slider.banner-slider:not(.slick-initialized) .box-img img { width: 100%; height: auto; display: block; }
/* Logo: khai tỉ lệ ảnh (1902x1346) để trình duyệt giữ chỗ trước khi ảnh tải xong */
.header-main .logo img, .logo img { aspect-ratio: 1902 / 1346; }
/* Phông UTM Avo: hiện chữ dự phòng ngay, đổi phông khi tải xong (giảm nhảy chữ) */
@font-face { font-family: utm_avo; src: url('/themes/panda/assets/libs/font/utm-avo/UTM\ Avo.ttf'); font-weight: 400; font-display: swap; }
@font-face { font-family: utm_avo; src: url('/themes/panda/assets/libs/font/utm-avo/UTM\ AvoItalic.ttf'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: utm_avo; src: url('/themes/panda/assets/libs/font/utm-avo/UTM\ Avo\ Regular.ttf'); font-weight: 500; font-display: swap; }
@font-face { font-family: utm_avo; src: url('/themes/panda/assets/libs/font/utm-avo/UTM\ AvoBold.ttf'); font-weight: 700; font-display: swap; }
