@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');
.sppb-btn-custom {
  padding: 8px 50px 8px 50px;
  margin: 0 0 40px 0;
}

/* Page Title Custom Styling */
.sp-page-title {
  padding: 130px 0 !important;
  position: relative;
  z-index: 1;
  background-attachment: scroll !important;
  /* Make background scroll naturally */
}

.sp-page-title::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.sp-page-title .container {
  position: relative;
  z-index: 2;
}

.sp-page-title .sp-page-title-heading {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 80px !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  text-transform: uppercase;
  margin-bottom: 25px !important;
  letter-spacing: 0px;
}

.sp-page-title .sp-page-title-sub-heading {
  font-size: 26px !important;
  font-weight: 500 !important;
  color: #FB9D2E !important;
  /* Orange color from the screenshot */
  line-height: 1.6 !important;
  max-width: 600px;
  /* Limits width to wrap lines nicely */
  margin-top: 0 !important;
}

/* ==========================================
   CUSTOM SEARCH & PRODUCT FILTERS
   ========================================== */

/* Search Container: Pill-shaped, gray background, black border */
.easystore-search-container {
  position: relative !important;
  width: 100% !important;
  background-color: #f0f0f0 !important;
  border: 1.5px solid #000000 !important;
  border-radius: 50px !important;
  height: 50px !important;
  padding: 0 !important;
  margin-bottom: 30px !important;
  display: block !important;
}

/* Search input inside the pill container */
.easystore-search-container input.form-control {
  background: transparent !important;
  border: none !important;
  border-radius: 50px !important;
  height: 100% !important;
  padding: 0 60px 0 28px !important;
  font-style: italic !important;
  font-size: 16px !important;
  color: #000000 !important;
  width: 100% !important;
  box-shadow: none !important;
  margin: 0 !important;
}

.easystore-search-container input.form-control::placeholder {
  color: #888888 !important;
  font-style: italic !important;
}

/* Search submit button icon on the right */
.easystore-search-submit-btn {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  position: absolute !important;
  right: 24px !important;
  left: auto !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 20px !important;
  height: 20px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 2 !important;
}

.easystore-search-container .easystore-svg {
  width: 100% !important;
  height: 100% !important;
  color: #000000 !important;
  display: block !important;
}

.easystore-search-container .easystore-svg svg {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  color: currentColor !important;
}

/* ==========================================
   PAGINATION STYLING
   ========================================== */

/* Full width column container for pagination */
div[class*="sppb-col-"]:has(ul.pagination),
div[class*="col-"]:has(ul.pagination) {
  width: 100% !important;
  flex: 0 0 100% !important;
  max-width: 100% !important;
}

/* Center pagination outer wrapper */
.easystore-pagination,
.pagination-wrapper,
div:has(> ul.pagination) {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  margin: 40px 0 !important;
  clear: both !important;
}

/* Rounded Pill Container */
ul.pagination {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: #F3F4F6 !important;
  border-radius: 50px !important;
  padding: 6px 20px !important;
  margin: 0 auto !important;
  gap: 4px !important;
  list-style: none !important;
  border: none !important;
  box-shadow: none !important;
  overflow: hidden !important;
  float: none !important;
}

/* Reset default Bootstrap pagination items & links */
ul.pagination li.page-item {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
}

ul.pagination li.page-item .page-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 38px !important;
  height: 38px !important;
  padding: 0 10px !important;
  border: none !important;
  background: transparent !important;
  color: #1F2022 !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  border-radius: 50% !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  box-shadow: none !important;
  outline: none !important;
}

/* Hover on inactive page links */
ul.pagination li.page-item:not(.active) a.page-link:hover {
  color: #FB9D2E !important;
  background-color: rgba(251, 157, 46, 0.12) !important;
}

/* Active Page Item: Orange Background (#FB9D2E) with White Text */
ul.pagination li.page-item.active .page-link {
  background-color: #FB9D2E !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
  border-radius: 50% !important;
}

/* Disabled page links */
ul.pagination li.page-item.disabled .page-link {
  opacity: 0.4 !important;
  cursor: not-allowed !important;
}

/* ==========================================
   EasyStore - Additional Data
========================================== */

/* ---------- Tiêu đề ---------- */

.easystore-specification-title {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  display: flex;
  align-items: center;
  width: 350px;
  height: 40px;
  margin: 30px 0 28px;
  margin-left: calc(-50vw + 50%);
  /* nền chạm mép trái màn hình */
  padding-left: calc(50vw - 50%);
  background: #000000;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* ---------- Nội dung ---------- */

.easystore-specification-item {
  position: relative;
  margin: 0 0 14px;
  padding-left: 28px;
  line-height: 1.2;
}

/* Bullet */

.easystore-specification-item::before {
  content: "•";
  position: absolute;
  left: 8px;
  top: 2px;
  font-size: 22px;
  line-height: 1;
}

/* Key */

.easystore-specification-key {
  font-weight: 700;
}

/* dấu : */

/* ==========================================
   Blog Articles Styling (Card Border & Full Width Fixed Height Image)
   ========================================== */

/* Thẻ bài viết (Card) có viền đậm rõ nét hơn */
.article,
.blog-item,
.com-content-category-blog__item {
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  transition: all 0.3s ease !important;
}

/* Ảnh lấp đầy 100% width của thẻ, chiều cao cố định 240px, giữ tỉ lệ ảnh */
.intro-image img,
.article-intro-image img,
.article-image img,
.blog-item img,
.com-content-category-blog__item img {
  width: 100% !important;
  max-width: 100% !important;
  object-fit: cover !important;
  display: block !important;
  margin-bottom: 10px !important;
}


/* ==========================================
   Blog Leading Articles (2 items / row, 50% width, with gap & card style)
   ========================================== */
.blog-items.items-leading {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 30px !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-bottom: 40px !important;
}

.blog-items.items-leading>.blog-item,
.blog-items.items-leading>div[class*="col-"],
.blog-items.items-leading>.com-content-category-blog__item {
  flex: 0 0 calc(50% - 15px) !important;
  max-width: calc(50% - 15px) !important;
  width: calc(50% - 15px) !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  background: #ffffff !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
}

.blog-items.items-leading .article-body,
.blog-items.items-leading .article-introtext,
.blog-items.items-leading .intro-image {
  box-sizing: border-box !important;
}

.blog-items.items-leading .intro-image img,
.blog-items.items-leading .article-intro-image img,
.blog-items.items-leading .article-image img,
.blog-items.items-leading img {
  height: 400px !important;
}

.blog-items.items-leading .article-body {
  padding: 20px !important;
}

/* ==========================================
   Blog Intro Articles (Không phải leading): Cố định height 520px & Cắt chữ không tràn
   ========================================== */
.article {
  height: 550px !important;
  max-height: 550px !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  box-sizing: border-box !important;
}

/* Ngoại trừ bài Leading nếu có trong container items-leading */
.blog-items.items-leading .article {
  height: auto !important;
  max-height: none !important;
}

.article .article-intro-image,
.article .article-intro-image a {
  display: block !important;
  height: 220px !important;
  overflow: hidden !important;
}

.article .article-intro-image img {
  height: 220px !important;
  width: 100% !important;
  object-fit: cover !important;
}

.article .article-body {
  flex: 1 !important;
  overflow: hidden !important;
  padding: 20px !important;
  display: flex !important;
  flex-direction: column !important;
}

.article .article-introtext {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 4 !important;
  -webkit-box-orient: vertical !important;
}

.article .article-introtext p {
  margin: 0 !important;
}


@media (max-width: 767.98px) {

  .blog-items.items-leading>.blog-item,
  .blog-items.items-leading>div[class*="col-"],
  .blog-items.items-leading>.com-content-category-blog__item {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .intro-image img,
  .article-intro-image img,
  .article-image img,
  .blog-item img,
  .com-content-category-blog__item img {
    height: 200px !important;
  }
}

/* ==========================================
   Ẩn Blog Media ở đầu trang chi tiết bài viết
   ========================================== */
.article-details .article-full-image,
.article-details .item-image,
.article-details figure.article-full-image,
.article-details .helix-blog-media,
.article-details .entry-gallery,
.article-details .entry-video,
.article-details .entry-audio {
  display: none !important;
}

/* EasyStore Product Specifications: Giãn dòng & căn đều chữ trong 1 mục */
.easystore-specification-item,
.easystore-specification-key,
.easystore-specification-value {
  line-height: 1.8 !important;
  text-align: justify !important;
}

/* Ép toàn bộ các thẻ container cha và thẻ img chiếm 100% chiều rộng */
#sppb-addon-1784619222585,
#sppb-addon-1784618128755,
#sppb-addon-1784619222585 *,
#sppb-addon-1784618128755 * {
  width: 100% !important;
  max-width: 100% !important;
}

#sppb-addon-1784619222585 img,
#sppb-addon-1784618128755 img {
  object-fit: cover !important;
  display: block;
}

/* Căn giữa chiều dọc cho Nút bấm trong Header mà KHÔNG ảnh hưởng Menu */

#sp-header #sp-menu>.sp-column>.sp-module {
  margin: 0 0 0 25px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
}

#sp-header #sp-menu .sp-module .sppb-addon-wrapper,
#sp-header #sp-menu .sp-module .sppb-addon-container,
#sp-header #sp-menu .sp-module .sppb-addon,
#sp-header #sp-menu .sp-module .sppb-addon-single-button {
  margin: 0 !important;
  padding: 0 !important;
}

#sp-header #sp-menu .sp-module .sppb-btn-custom,
#sp-header #sp-menu .sp-module a.sppb-btn {
  margin: 0 !important;
}

/* Tối ưu Header trên thiết bị di động (Mobile) */
@media (max-width: 991.98px) {

  /* Dịch riêng Logo sang bên trái */
  #sp-header #sp-logo {
    padding-left: 0 !important;
    padding-right: 5px !important;
    margin-left: -10px !important;
    flex: 0 0 auto !important;
  }