:root {
    --gap: 15px; 
    --max-width: 1140px;
    --menu-bg: #1e63a3;
    --menu-bg-hover: #5192cf;
    --menu-color: #fff;
    --menu-color-hover: #fff;
    --hotline-child-weight: 600;
    
    --footer-bg: #d9edf7;    /* Màu nền tối sang trọng */
    --footer-text: #1e63a3; /* Màu chữ xám nhẹ dễ đọc */
    --footer-heading: #1e63a3;
    --footer-border: #343a40;  
    --font-main: 'Arial', sans-serif;
    --border-radius: 8px;
}
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  -webkit-text-size-adjust: 100%; /* Chống tự động đổi cỡ chữ trên iOS */
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0); /* Tắt vệt xanh khi chạm trên Mobile */
}
/* Thiết lập cơ bản */
* { box-sizing: border-box; }

/* Container chuẩn */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gap);
}

/* Hệ thống Grid 12 cột */
.row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gap);
}
#w-body .row{
    display: block;
}
  .show { display: block; } /* Hiện lại trên desktop */
  .hide { display: none; }  /* Ẩn trên desktop */
/* --- MOBILE (Mặc định - Full 12 cột) --- */
.col-12 { grid-column: span 12; }
.col-6  { grid-column: span 6; }
.m-hide { display: none; } /* Ẩn trên mobile */
.m-show { display: block; } /* Ẩn trên mobile */
/* --- DESKTOP (Từ 768px trở lên) --- */
@media (min-width: 768px) {
  .col-dt-1  { grid-column: span 1; }
  .col-dt-2  { grid-column: span 2; }
  .col-dt-3  { grid-column: span 3; }
  .col-dt-4  { grid-column: span 4; }
  .col-dt-6  { grid-column: span 6; }
  .col-dt-8  { grid-column: span 8; }
  .col-dt-12 { grid-column: span 12; }
  
  .d-show { display: block; } /* Hiện lại trên desktop */
  .d-hide { display: none; }  /* Ẩn trên desktop */
}
.mobile-category, .mobile-category * {
    list-style: none;
    padding: 0px;
    margin: 0px;
    text-decoration: none;
}
li.mobile-local {
    border-bottom: solid 1px #cd7294;
    padding: 10px 0px 10px 0px;
    font-size: 18px;
}
.mobile-local .hotline {
    color: #ef0808;
    font-weight: var(--hotline-child-weight);
}
.title.mobile-url {
    color: var(--menu-bg);
}
#call {
    position: fixed;
    bottom: 16px;
    right: 10px;
    background: var(--menu-bg);
    padding: 4px 20px 4px 10px;
    font-size: 30px;
    color: #fff;
    font-weight: 700;
    z-index: 98;
    border-radius: 10px;
}
span#call * {
    text-decoration: none;
}
.icon {
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
    cursor: pointer;
}
.margin-bottom-20 {
    margin-bottom: 20px;
}
.w-50 {
    width: 50px;
    height: 50px;
}
.icon-zalo {
    background-image: url(/theme/image/icon/zalo.webp);
}
#call .call-zalo {
    position: absolute;
    bottom: 50px;
    right: 18px;
}
#call a.hotline {
    color: #fff;
}
/*foor*/
footer {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  padding: 50px 0 20px;
  font-size: 0.9rem;
}

.footer-heading {
  color: var(--footer-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
}
/*breadcrumd*/
ul.breadcrumb {
    background: var(--footer-bg);
    padding: 8px;
}
.breadcrumb>li {
    display: inline;
}
.w-breadcrumb li {
    margin: 6px 0px;
}
.breadcrumb>li:not(:first-child):before {
    content: ' / ';
}
.breadcrumb>li>a{
    color:var(--footer-text);
}
/* Hiệu ứng gạch chân tiêu đề đơn giản */
.footer-heading::after {
  content: "";
  display: block;
  width: 50px;
  height: 2px;
  background: var(--primary-color);
  margin-top: 8px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--footer-text);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--footer-border);
  text-align: center;
  font-size: 0.8rem;
}

/* CSS cho icon trong footer */
.footer-icon {
  color: var(--primary-color);
  margin-right: 8px;
  font-family: serif; /* Đảm bảo icon hiện rõ */
}
/*head*/
/* --- BIẾN RIÊNG CHO HEADER --- */
:root {
  --header-bg: #ffffff;
  --logo-color: #ea4335;   /* Đỏ thương hiệu */
  --slogan-color: #333333;
  --header-border: #eeeeee;
}

/* --- WRAPPER CHÍNH --- */
.main-header {
  background-color: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 10px 0;
}

/* --- ĐIỀU KHIỂN DÀN HÀNG (FLEXBOX) --- */
.header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between; /* Đẩy Logo sang trái, Slogan sang phải */
  gap: 15px;
}

/* --- LOGO --- */
.logo-box {
  flex-shrink: 0; /* Không cho logo bị bóp méo */
}

.logo-text {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--logo-color);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

/* --- SLOGAN (CHỮ CO GIÃN LINH HOẠT) --- */
.slogan-box {
  text-align: right;
  flex: 1; /* Chiếm phần không gian còn lại */
}

.slogan-text {
  color: var(--slogan-color);
  font-weight: 600;
  margin: 0;
  /* clamp(Cỡ nhỏ nhất, Cỡ linh hoạt, Cỡ lớn nhất) */
  font-size: clamp(0.9rem, 2.5vw, 1.4rem); 
  line-height: 1.2;
  text-transform: uppercase;
}

/* --- TỐI ƯU CHO MOBILE --- */
@media (max-width: 768px) {
  .header-wrap {
    flex-direction: column; /* Xuống dòng trên điện thoại */
    text-align: center;
    gap: 5px;
  }
  
  .slogan-box {
    text-align: center;
    width: 100%;
  }
  
  .logo-text {
    font-size: 1.2rem;
  }
}

/* --- Cấu hình chung --- */
body {
  margin: 0;
  font-family: Arial, sans-serif;
}

/* --- Thanh điều hướng chính --- */
.navbar-row {
  background-color: var(--menu-bg);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: sticky; /* Dính menu lên đầu khi cuộn */
  top: 0;
  z-index: 1000;
}

/* Container giới hạn chiều rộng nội dung */
.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  display1: flex;
  justify-content: space-between; /* Đẩy logo/button và menu ra 2 bên */
  align-items: center;
  height: 60px;
}

/* --- Style cho danh sách Menu (UL) --- */
.navbar-ul {
  list-style: none;
  margin:0 auto 0 auto;
  padding: 0;
  display: flex;
  gap: 20px; /* Khoảng cách giữa các mục menu */
}

.navbar-ul li a {
  text-decoration: none;
  color: var(--menu-color);
  font-weight: 500;
  font-size: 16px;
  padding: 10px 15px;
  transition: color 0.3s, background-color 0.3s;
  border-radius: 4px;
  display: block;
}

.navbar-ul li a:hover {
  color: var(--menu-color-hover);
  background-color: var(--menu-bg-hover);
}

/* --- Nút Hamburger (Mặc định ẩn trên Desktop) --- */
.navbar-button {
  display: none; /* Ẩn trên màn hình lớn */
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.icon-bar {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--menu-color);
  margin: 5px 0;
  transition: 0.4s;
  border-radius: 2px;
}

/* --- RESPONSIVE: Màn hình điện thoại/máy tính bảng (< 768px) --- */
@media screen and (max-width: 768px) {
  .navbar-container {
    flex-wrap: wrap; /* Cho phép xuống dòng */
    height: auto; /* Chiều cao tự động */
    padding: 10px 15px;
  }

  /* Hiển thị nút hamburger */
  .navbar-button {
    display: block; 
    margin-left: auto; /* Đẩy nút sang phải */
  }

  /* Ẩn menu mặc định trên mobile */
  .navbar-ul {
    display: none; /* Ẩn đi */
    width: 100%;
    flex-direction: column; /* Xếp dọc */
    gap: 0;
    margin-top: 10px;
    border-top: 1px solid var(--border-color);
  }

  /* Class này sẽ được thêm bằng JS để hiện menu */
  .navbar-ul.active {
    display: flex;
    animation: fadeIn 0.3s ease-in-out;
  }

  .navbar-ul li {
    width: 100%;
    border-bottom: 1px solid #f0f0f0;
  }

  .navbar-ul li a {
    padding: 15px;
  }

  /* --- Hiệu ứng biến nút 3 gạch thành dấu X --- */
  .navbar-button.active .icon-bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }
  .navbar-button.active .icon-bar:nth-child(2) {
    opacity: 0;
  }
  .navbar-button.active .icon-bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
/*banner*/
.banner-left {
    width: 100%;
    padding: 0px;
    margin: 0px;
}
button#home_select {
    width: 86%;
    position: absolute;
    height: 39px;
    padding: 0px;
    margin: 0px;
    text-transform: uppercase;
    font-weight: 600;
}
.mobile-right-active {
    position: fixed;
    top: 20px;
    background: #fff;
    width: 100%;
    z-index: 99999;
}
button#mobile-category-toggle {
    position: absolute;
    right: 30px;
    top: 20px;
    padding: 10px;
    border-radius: 20px;
    border: none;
    color: var(--menu-bg);
    font-size: 20px;
}
.w-100 {
    width: 100%;
}
.w-body img.w-100 {
    width: 100%;
    max-height: 500px;
}
#w-body table {
        width: 100%;
        border-collapse: collapse;
        font-family: Arial, sans-serif;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
        background-color: #ffffff;
        margin: 20px 0;
    }

    /* Định dạng cho các ô tiêu đề (Header) */
    #w-body table {
        width: 100%;
        border-collapse: collapse;
        font-family: Arial, sans-serif;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
        background-color: #ffffff;
        margin: 20px 0;
    }
#w-body table>thead {
    background: #d9edf7;
}
    /* Định dạng cho các ô tiêu đề (Header) */
    #w-body table th {
        background-color: #0056b3;
        color: #ffffff;
        padding: 14px 18px;
        text-align: left;
        font-weight: 600;
        text-transform: uppercase;
        font-size: 14px;
        border-bottom: 2px solid #004085;
    }

    /* Định dạng cho các ô nội dung */
    #w-body table td {
        padding: 14px 18px;
        border-bottom: 1px solid #eef0f3;
        color: #333333;
        font-size: 15px;
    }

    /* Màu nền xen kẽ cho các dòng (Dòng chẵn) */
    #w-body table tr:nth-child(even) {
        background-color: #f8faff;
    }

    /* Hiệu ứng đổi màu khi rê chuột vào dòng */
    #w-body table tr:hover {
        background-color: #e6f0fa;
    }

    /* Làm nổi bật cột Khu vực */
    #w-body table td strong {
        color: #004085;
        font-weight: 600;
    }

    /* Định dạng cho số điện thoại (thẻ a) */
    #w-body table td a {
        color: #dc3545;
        font-weight: bold;
        text-decoration: none;
    }

    /* Hiệu ứng khi rê chuột vào số điện thoại */
    #w-body table td a:hover {
        color: #bd2130;
        text-decoration: underline;
    } th {
        background-color: #0056b3;
        color: #ffffff;
        padding: 14px 18px;
        text-align: left;
        font-weight: 600;
        text-transform: uppercase;
        font-size: 14px;
        border-bottom: 2px solid #004085;
    }

    /* Định dạng cho các ô nội dung */
    #w-body table td {
        padding: 14px 18px;
        border-bottom: 1px solid #eef0f3;
        color: #333333;
        font-size: 15px;
    }

    /* Màu nền xen kẽ cho các dòng (Dòng chẵn) */
    #w-body table tr:nth-child(even) {
        background-color: #f8faff;
    }

    /* Hiệu ứng đổi màu khi rê chuột vào dòng */
    #w-body table tr:hover {
        background-color: #e6f0fa;
    }

    /* Làm nổi bật cột Khu vực */
    #w-body table td strong {
        color: #004085;
        font-weight: 600;
    }

    /* Định dạng cho số điện thoại (thẻ a) */
    #w-body table td a {
        color: #dc3545;
        font-weight: bold;
        text-decoration: none;
    }

    /* Hiệu ứng khi rê chuột vào số điện thoại */
    #w-body table td a:hover {
        color: #bd2130;
        text-decoration: underline;
    }