/**
 * Power Supplies page - standalone CSS (không phụ thuộc theme)
 * Áp dụng: body.ppc-psu-series-hub-page, body.ppc-case-hub-page, body.page-slug-power-supplies,
 *          body.taxonomy-psu_series, body.singular-psu_product
 * Menu: kiểu Apple – chữ nhỏ/mỏng (12px, 500), mặc định 0.78, hover/active trắng, không bóng.
 */

/* Menu style chung 1 nơi: ppc-header-sync.css (body.ppc-jetek-header-sync) */

/* === LOGO: rộng hơn ~12% (50px → 56px) để trừa thêm menu === */
body.ppc-psu-series-hub-page .site-branding img,
body.ppc-case-hub-page .site-branding img,
body.ppc-psu-series-hub-page .elementor-location-header .elementor-widget-image img,
body.ppc-case-hub-page .elementor-location-header .elementor-widget-image img,
body.page-slug-power-supplies .site-branding img,
body.page-slug-power-supplies .elementor-location-header .elementor-widget-image img,
body.taxonomy-psu_series .site-branding img,
body.taxonomy-psu_series .elementor-location-header .elementor-widget-image img,
body.singular-psu_product .elementor-location-header .elementor-widget-image img {
  max-height:56px!important;height:auto!important;width:auto!important;object-fit:contain!important;
}
body.ppc-psu-series-hub-page .site-branding,
body.ppc-case-hub-page .site-branding,
body.ppc-psu-series-hub-page .elementor-location-header .elementor-widget-image,
body.ppc-case-hub-page .elementor-location-header .elementor-widget-image,
body.ppc-psu-series-hub-page .elementor-location-header .elementor-widget-site-logo,
body.ppc-case-hub-page .elementor-location-header .elementor-widget-site-logo,
body.page-slug-power-supplies .site-branding,
body.page-slug-power-supplies .elementor-location-header .elementor-widget-image,
body.page-slug-power-supplies .elementor-location-header .elementor-widget-site-logo {
  margin-right:28px!important;flex-shrink:0!important;
}

/* === HEADER: full width, không wrap, canh giữa trên-dưới === */
body.ppc-psu-series-hub-page .site-header,
body.ppc-case-hub-page .site-header,
body.ppc-psu-series-hub-page #masthead,
body.ppc-case-hub-page #masthead,
body.ppc-psu-series-hub-page .elementor-location-header .elementor-section,
body.ppc-case-hub-page .elementor-location-header .elementor-section,
body.page-slug-power-supplies .site-header,
body.page-slug-power-supplies #masthead,
body.page-slug-power-supplies .elementor-location-header .elementor-section,
body.taxonomy-psu_series .site-header,
body.tax-psu_series .site-header,
body.singular-psu_product .site-header {
  display:flex!important;flex-direction:row!important;justify-content:center!important;
  align-items:center!important;flex-wrap:nowrap!important;padding:12px 24px!important;
  gap:20px!important;width:100%!important;max-width:100%!important;
}
body.ppc-psu-series-hub-page .elementor-location-header,
body.ppc-case-hub-page .elementor-location-header,
body.page-slug-power-supplies .elementor-location-header,
body.taxonomy-psu_series .elementor-location-header {
  display:flex!important;align-items:center!important;
}
/* Bỏ align-items/align-content trên e-con, section, container để menu xổ ra không bị lỗi (trang Nguồn, Case) */
body.ppc-psu-series-hub-page .elementor-location-header .elementor-container,
body.ppc-case-hub-page .elementor-location-header .elementor-container,
body.page-slug-power-supplies .elementor-location-header .elementor-container,
body.taxonomy-psu_series .elementor-location-header .elementor-container,
body.singular-psu_product .elementor-location-header .elementor-container {
  display:flex!important;flex-direction:row!important;justify-content:flex-start!important;
  align-items:center!important;width:100%!important;max-width:100%!important;
  margin:0 auto!important;gap:16px!important;padding:0 24px!important;flex-wrap:nowrap!important;
}
body.ppc-psu-series-hub-page .site-branding,
body.ppc-case-hub-page .site-branding,
body.ppc-psu-series-hub-page .elementor-location-header .elementor-widget-image,
body.ppc-case-hub-page .elementor-location-header .elementor-widget-image,
body.page-slug-power-supplies .elementor-location-header .elementor-widget-image,
body.taxonomy-psu_series .elementor-location-header .elementor-widget-image {order:1!important;}
body.ppc-psu-series-hub-page .main-navigation,
body.ppc-case-hub-page .main-navigation,
body.ppc-psu-series-hub-page .elementor-location-header .elementor-widget-nav-menu,
body.ppc-case-hub-page .elementor-location-header .elementor-widget-nav-menu,
body.page-slug-power-supplies .elementor-location-header .elementor-widget-nav-menu,
body.taxonomy-psu_series .elementor-location-header .elementor-widget-nav-menu {order:2!important;}

/* === MOBILE: logo to hơn, không bị ép nhỏ; menu hamburger bên phải hợp lý === */
@media (max-width: 1024px) {
  body.ppc-psu-series-hub-page .elementor-location-header .site-branding img,
  body.ppc-case-hub-page .elementor-location-header .site-branding img,
  body.ppc-psu-series-hub-page .elementor-location-header .elementor-widget-image img,
  body.ppc-case-hub-page .elementor-location-header .elementor-widget-image img,
  body.page-slug-power-supplies .elementor-location-header .elementor-widget-image img,
  body.taxonomy-psu_series .elementor-location-header .elementor-widget-image img,
  body.ppc-psu-series-hub-page .elementor-location-header .elementor-widget-site-logo img,
  body.ppc-case-hub-page .elementor-location-header .elementor-widget-site-logo img,
  body.page-slug-power-supplies .elementor-location-header .elementor-widget-site-logo img,
  body.taxonomy-psu_series .elementor-location-header .elementor-widget-site-logo img {
    max-height: 56px !important;
    min-height: 40px !important;
    width: auto !important;
    max-width: 160px !important;
    object-fit: contain !important;
  }
  body.ppc-psu-series-hub-page .elementor-location-header .elementor-container > .elementor-column:first-child,
  body.ppc-case-hub-page .elementor-location-header .elementor-container > .elementor-column:first-child,
  body.page-slug-power-supplies .elementor-location-header .elementor-container > .elementor-column:first-child,
  body.taxonomy-psu_series .elementor-location-header .elementor-container > .elementor-column:first-child {
    min-width: 100px !important;
  }
}

/* Mobile/Tablet: nút hamburger hiển thị (trang Nguồn, Case, hub, single) – đồng bộ với ppc-header-sync */
@media (max-width: 1024px) {
  body.ppc-psu-series-hub-page .elementor-location-header .elementor-menu-toggle,
  body.ppc-case-hub-page .elementor-location-header .elementor-menu-toggle,
  body.page-slug-power-supplies .elementor-location-header .elementor-menu-toggle,
  body.taxonomy-psu_series .elementor-location-header .elementor-menu-toggle,
  body.singular-psu_product .elementor-location-header .elementor-menu-toggle,
  body.singular-case_product .elementor-location-header .elementor-menu-toggle {
    display:flex!important;
    visibility:visible!important;
  }
}
/* Desktop: không ẩn nav (để dropdown sub-menu hoạt động), chỉ ẩn hamburger */
@media (min-width: 1025px) {
  body.ppc-psu-series-hub-page .elementor-location-header .elementor-menu-toggle,
  body.ppc-case-hub-page .elementor-location-header .elementor-menu-toggle,
  body.page-slug-power-supplies .elementor-location-header .elementor-menu-toggle,
  body.taxonomy-psu_series .elementor-location-header .elementor-menu-toggle,
  body.singular-psu_product .elementor-location-header .elementor-menu-toggle {
    display: none !important;
  }
  body.ppc-psu-series-hub-page .elementor-location-header .elementor-nav-menu > ul,
  body.ppc-case-hub-page .elementor-location-header .elementor-nav-menu > ul,
  body.page-slug-power-supplies .elementor-location-header .elementor-nav-menu > ul,
  body.taxonomy-psu_series .elementor-location-header .elementor-nav-menu > ul,
  body.singular-psu_product .elementor-location-header .elementor-nav-menu > ul {
    display: flex !important;
    visibility: visible !important;
  }
}
/* Phần ngôn ngữ (Languages) / widget thứ 2: hiển thị inline như menu, không xếp dọc */
body.ppc-psu-series-hub-page .elementor-location-header .elementor-widget-nav-menu:nth-of-type(2) .elementor-nav-menu > ul,
body.ppc-case-hub-page .elementor-location-header .elementor-widget-nav-menu:nth-of-type(2) .elementor-nav-menu > ul,
body.page-slug-power-supplies .elementor-location-header .elementor-widget-nav-menu:nth-of-type(2) .elementor-nav-menu > ul,
body.taxonomy-psu_series .elementor-location-header .elementor-widget-nav-menu:nth-of-type(2) .elementor-nav-menu > ul,
body.singular-psu_product .elementor-location-header .elementor-widget-nav-menu:nth-of-type(2) .elementor-nav-menu > ul,
body.ppc-psu-series-hub-page .elementor-location-header [class*="wpml"] .wpml-ls,
body.ppc-case-hub-page .elementor-location-header [class*="wpml"] .wpml-ls,
body.ppc-psu-series-hub-page .elementor-location-header [class*="language"],
body.ppc-case-hub-page .elementor-location-header [class*="language"] {
  display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;gap:8px!important;list-style:none!important;margin:0!important;padding:0!important;
}
/* Submenu: bỏ line, gần parent hơn */
body.ppc-psu-series-hub-page .elementor-location-header .elementor-nav-menu .sub-menu,
body.ppc-case-hub-page .elementor-location-header .elementor-nav-menu .sub-menu,
body.ppc-psu-series-hub-page .main-navigation .sub-menu,
body.ppc-case-hub-page .main-navigation .sub-menu,
body.ppc-psu-series-hub-page #site-navigation .sub-menu,
body.ppc-case-hub-page #site-navigation .sub-menu,
body.page-slug-power-supplies .elementor-location-header .elementor-nav-menu .sub-menu,
body.page-slug-power-supplies .main-navigation .sub-menu,
body.page-slug-power-supplies #site-navigation .sub-menu,
body.taxonomy-psu_series .elementor-location-header .elementor-nav-menu .sub-menu,
body.taxonomy-psu_series .main-navigation .sub-menu,
body.taxonomy-psu_series #site-navigation .sub-menu {
  min-width:200px!important;padding:6px 0!important;
  margin-top:0!important;top:100%!important;
  border:none!important;box-shadow:none!important;
}
body.ppc-psu-series-hub-page .elementor-location-header .elementor-nav-menu > ul > li > .sub-menu,
body.ppc-case-hub-page .elementor-location-header .elementor-nav-menu > ul > li > .sub-menu,
body.ppc-psu-series-hub-page .main-navigation > ul > li > .sub-menu,
body.ppc-case-hub-page .main-navigation > ul > li > .sub-menu,
body.ppc-psu-series-hub-page #site-navigation > ul > li > .sub-menu,
body.ppc-case-hub-page #site-navigation > ul > li > .sub-menu,
body.page-slug-power-supplies .elementor-location-header .elementor-nav-menu > ul > li > .sub-menu,
body.page-slug-power-supplies .main-navigation > ul > li > .sub-menu,
body.page-slug-power-supplies #site-navigation > ul > li > .sub-menu {
  margin-top:0!important;padding-top:2px!important;
}
/* Submenu fallback - specificity cao hơn theme */
html body.ppc-psu-series-hub-page .sub-menu li a,
html body.ppc-case-hub-page .sub-menu li a,
html body.page-slug-power-supplies .sub-menu li a,
html body.taxonomy-psu_series .sub-menu li a,
html body.singular-psu_product .sub-menu li a,
html body.tax-psu_series .sub-menu li a,
.elementor-location-header .elementor-nav-menu .sub-menu a,
.elementor-location-header .elementor-nav-menu--dropdown a,
.elementor-location-header .elementor-nav-menu li li a,
.main-navigation .sub-menu a,
#site-navigation .sub-menu a,
#masthead .sub-menu a {
  font-size:14px!important;font-weight:500!important;padding:8px 14px!important;
  line-height:1.45!important;color:rgba(255,255,255,.85)!important;
}

/* === FULL PAGE LAYOUT - full width, canh giữa === */
body.ppc-psu-series-hub-page .ppc-series-hub--bequiet,
body.ppc-case-hub-page .ppc-series-hub--bequiet,
body.ppc-psu-series-hub-page .ppc-series-hub,
body.ppc-case-hub-page .ppc-series-hub,
body.page-slug-power-supplies .ppc-series-hub--bequiet,
body.page-slug-power-supplies .ppc-series-hub,
body.taxonomy-psu_series .ppc-series-hub,
body.singular-psu_product .ppc-series-hub {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  box-sizing: border-box !important;
}
/* Trang power-supplies: layout tổng thể gọn, khoảng cách hợp lý */
/* Trang power-supplies: full width – bề ngang rộng, đẹp */
body.page-slug-power-supplies .site-content,
body.page-slug-power-supplies #content,
body.page-slug-power-supplies .elementor-location-single,
body.page-slug-power-supplies .elementor-section-wrap {
  max-width: 100% !important;
  width: 100% !important;
}
body.page-slug-power-supplies .elementor-section.elementor-inner-section,
body.page-slug-power-supplies .elementor-widget-shortcode .elementor-widget-container {
  max-width: 100% !important;
  width: 100% !important;
}
body.page-slug-power-supplies .ppc-series-hub--with-sidebar {
  padding-top: 0 !important;
  padding-bottom: 40px !important;
  padding-left: 32px !important;
  padding-right: 32px !important;
}
body.page-slug-power-supplies .ppc-series-hub--with-sidebar .ppc-series-hub-sidebar-layout {
  gap: 28px;
}
body.ppc-psu-series-hub-page .elementor-section,
body.ppc-case-hub-page .elementor-section,
body.ppc-psu-series-hub-page .elementor-widget-shortcode,
body.ppc-case-hub-page .elementor-widget-shortcode,
body.ppc-psu-series-hub-page .elementor-inner-section,
body.ppc-case-hub-page .elementor-inner-section,
body.page-slug-power-supplies .elementor-section,
body.page-slug-power-supplies .elementor-widget-shortcode {
  max-width:none!important;
}
body.ppc-psu-series-hub-page .elementor-container,
body.ppc-case-hub-page .elementor-container,
body.page-slug-power-supplies .elementor-container,
body.taxonomy-psu_series .elementor-container {
  max-width:100%!important;
}

/* === Case: phân biệt rõ "Dòng sản phẩm" vs "Sản phẩm" === */
.ppc-case-page-type--series .ppc-page-type-label--series {
  display:inline-block;
  font-size:12px;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:rgba(255,255,255,.6);
  margin-bottom:6px;
}
.ppc-case-pdp .ppc-hero__chips .ppc-chip--type {
  background:rgba(255,255,255,.15);
  color:rgba(255,255,255,.95);
}
.ppc-psu-breadcrumb .ppc-breadcrumb-product-hint {
  font-size:0.9em;
  font-style:normal;
  color:rgba(255,255,255,.55);
  font-weight:400;
}

/* Footer: ép font hỗ trợ tiếng Việt (chữ CÔNG TY CỔ PHẦN HUETRONICS không bị vỡ) */
body.ppc-psu-series-hub-page .elementor-location-footer,
body.ppc-psu-series-hub-page .site-footer,
body.ppc-psu-series-hub-page #colophon,
body.page-slug-power-supplies .elementor-location-footer,
body.page-slug-power-supplies .site-footer,
body.page-slug-power-supplies #colophon,
body.taxonomy-psu_series .elementor-location-footer,
body.taxonomy-psu_series .site-footer,
body.taxonomy-psu_series #colophon,
body.taxonomy-case_series .elementor-location-footer,
body.taxonomy-case_series .site-footer,
body.taxonomy-case_series #colophon {
  font-family: inherit;
}

/* Trang taxonomy Case series: footer luôn hiển thị, đồng bộ với trang Nguồn/PSU series */
body.taxonomy-case_series .site-footer,
body.taxonomy-case_series .elementor-location-footer,
body.taxonomy-case_series .ppc-fallback-footer,
body.taxonomy-case_series #colophon,
body.tax-case_series .site-footer,
body.tax-case_series .elementor-location-footer,
body.tax-case_series .ppc-fallback-footer,
body.tax-case_series #colophon {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
}
body.taxonomy-case_series .ppc-case-series-wrap,
body.tax-case_series .ppc-case-series-wrap {
  padding-bottom: 48px !important;
  min-height: 0 !important;
}

/* === Trang power-supplies: ẩn hết tiêu đề theme (tránh lỗi trùng, chỉ giữ hero ảnh) === */
body.page-slug-power-supplies .page-header,
body.page-slug-power-supplies .page-header .entry-title,
body.page-slug-power-supplies .page-header h1.entry-title,
body.page-slug-power-supplies .entry-header,
body.page-slug-power-supplies .elementor-section:has(.elementor-widget-theme-post-title),
body.page-slug-power-supplies .elementor-inner-section:has(.elementor-widget-theme-post-title) {
  display: none !important;
}
body.page-slug-power-supplies .entry-title,
body.page-slug-power-supplies h1.entry-title,
body.page-slug-power-supplies .elementor-page-title,
body.page-slug-power-supplies .elementor-widget-theme-post-title,
body.page-slug-power-supplies .elementor-widget-theme-post-title .elementor-page-title,
body.page-slug-power-supplies .elementor-widget-heading .elementor-heading-title {
  display: none !important;
}
body.page-slug-power-supplies .elementor-widget-theme-post-title {
  display: none !important;
}

/* === Hero (Nguồn máy tính) – code đơn giản, chiều cao cố định, ảnh canh giữa === */
.ppc-series-hub-hero {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 0 !important;
  margin-bottom: 12px;
  padding: 20px 24px;
  box-sizing: border-box;
  background-color: #0d0d0d;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 179px;
}
.ppc-series-hub-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.4) 0%, rgba(0,0,0,.6) 100%);
  pointer-events: none;
}
.ppc-series-hub-hero-title {
  position: relative;
  z-index: 1;
  margin: 0;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-align: center;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Chữ tiêu đề hero = màu nền hero-gradient.png (NGUỒN MÁY TÍNH JETEK / CASE MÁY TÍNH JETEK) */
body.page-slug-power-supplies h1.ppc-series-hub-hero-title,
body.ppc-psu-series-hub-page h1.ppc-series-hub-hero-title,
body.ppc-case-hub-page h1.ppc-series-hub-hero-title {
  font-size: 34px !important;
  line-height: 1.1 !important;
  background: url('../hero-gradient.png') center/cover no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: none !important;
}
@media (max-width: 640px) {
  .ppc-series-hub-hero { height: 170px; padding: 14px 16px; }
  body.page-slug-power-supplies h1.ppc-series-hub-hero-title,
  body.ppc-case-hub-page h1.ppc-series-hub-hero-title { font-size: 22px !important; }
}
@media (min-width: 769px) {
  .ppc-series-hub-hero { height: 179px; }
}
/* Bỏ khoảng trống trên/dưới hero – Nguồn + Case hub */
body.page-slug-power-supplies .ppc-series-hub,
body.ppc-psu-series-hub-page .ppc-series-hub,
body.ppc-case-hub-page .ppc-series-hub {
  margin-top: 0 !important;
}
body.page-slug-power-supplies .elementor-widget-shortcode .elementor-widget-container,
body.page-slug-power-supplies .elementor-section .elementor-container {
  padding-top: 0 !important;
}
/* Hero sát header: bỏ hết padding/margin phía trên section chứa shortcode */
body.page-slug-power-supplies .elementor-section:has(.ppc-series-hub),
body.ppc-psu-series-hub-page .elementor-section:has(.ppc-series-hub),
body.ppc-case-hub-page .elementor-section:has(.ppc-series-hub) {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
/* Tránh scroll ngang khi hero full-bleed */
body.page-slug-power-supplies,
body.ppc-psu-series-hub-page,
body.ppc-case-hub-page {
  overflow-x: hidden;
}

/* === Sidebar lọc (trang power-supplies) – sticky, cân đối chữ, đồng bộ plugin === */
.ppc-series-hub--with-sidebar .ppc-series-hub-sidebar-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: start;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
/* Ẩn tiêu đề "Power Supplies" khi dùng sidebar (hiện chỉ khi shortcode show_title="1") */
.ppc-series-hub--with-sidebar .ppc-series-hub-head {
  display: none;
}
.ppc-series-hub--with-sidebar .ppc-series-hub-head.ppc-series-hub-head--show {
  display: block;
}
/* Sidebar sticky lại, nội dung cuộn bên trong */
.ppc-series-hub--with-sidebar .ppc-series-hub-sidebar {
  --ppc-series-accent: #0071e3;
  --ppc-series-accent-hover: #2997ff;
  position: sticky;
  top: 20px;
  max-height: calc(100vh - 40px);
  display: flex;
  flex-direction: column;
  background: rgba(15,23,42,0.55);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
  overflow: hidden;
}
.ppc-series-hub-sidebar-form {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 14px 14px;
  -webkit-overflow-scrolling: touch;
}
/* "Danh mục sản phẩm" – font hợp lý, ghi đè Elementor, đồng bộ PSU + Case (chỉ tiêu đề) */
.ppc-series-hub-sidebar-title,
body.page-slug-power-supplies .ppc-series-hub .ppc-series-hub-sidebar .ppc-series-hub-sidebar-title,
body.page-slug-power-supplies .ppc-series-hub-sidebar .ppc-series-hub-sidebar-form .ppc-series-hub-sidebar-title,
body.ppc-psu-series-hub-page .ppc-series-hub-sidebar .ppc-series-hub-sidebar-title,
body.ppc-case-hub-page .ppc-series-hub-sidebar .ppc-series-hub-sidebar-title {
  font-size: 14px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  color: rgba(255,255,255,0.9) !important;
  margin: 0 0 14px 0 !important;
  padding-bottom: 12px !important;
  border-bottom: 1px solid rgba(255,255,255,0.12) !important;
  background: none !important;
  line-height: 1.4 !important;
}
.ppc-series-hub-sidebar-section {
  margin-bottom: 0;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  flex-shrink: 0;
}
.ppc-series-hub-sidebar-section:last-of-type {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
/* Đề mục section (NGUỒN MÁY TÍNH, 80 PLUS…) – font hợp lý, ghi đè Elementor */
.ppc-series-hub-sidebar-section-title,
body.page-slug-power-supplies .ppc-series-hub-sidebar .ppc-series-hub-sidebar-section-title {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  color: rgba(255,255,255,0.9) !important;
  background: none !important;
  border: none;
  padding: 8px 0 9px 0;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  gap: 6px;
}
.ppc-series-hub-sidebar-section-title::after {
  content: "";
  flex-shrink: 0;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid rgba(255,255,255,0.45);
  margin-left: auto;
  transition: transform 0.2s ease;
}
.ppc-series-hub-sidebar-section-title[aria-expanded="true"]::after {
  transform: rotate(180deg);
}
.ppc-series-hub-sidebar-section-title:hover {
  color: #0071e3 !important;
}
.ppc-series-hub-sidebar-section-title.ppc-sidebar-title--accent {
  color: rgba(255,255,255,0.9) !important;
  background: none !important;
}
.ppc-series-hub-sidebar-section-title.ppc-sidebar-title--accent:hover {
  color: #0071e3 !important;
}
.ppc-series-hub-sidebar-section-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ppc-series-hub-sidebar-section-content[hidden] {
  display: none;
}
/* Ô chọn – tối giản */
.ppc-series-hub-sidebar-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  cursor: pointer;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  transition: color 0.15s ease;
  user-select: none;
}
.ppc-series-hub-sidebar-option:hover {
  color: rgba(255,255,255,0.95);
}
.ppc-sidebar-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
.ppc-sidebar-checkbox {
  position: relative;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 3px;
  background: rgba(255,255,255,0.04);
  transition: border-color 0.15s, background 0.15s;
}
.ppc-series-hub-sidebar-option:hover .ppc-sidebar-checkbox {
  border-color: rgba(255,255,255,0.5);
}
.ppc-sidebar-input:checked + .ppc-sidebar-checkbox {
  border-color: #0071e3;
  background: rgba(0,113,227,0.15);
}
.ppc-sidebar-input:checked + .ppc-sidebar-checkbox::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 0;
  width: 4px;
  height: 7px;
  border: solid #0071e3;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.ppc-sidebar-label {
  line-height: 1.35;
}
/* Nút hành động – gọn */
.ppc-series-hub-sidebar-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}
.ppc-sidebar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  font-family: inherit;
  border: none;
  text-decoration: none;
}
/* Nút Áp dụng: xanh plugin, ghi đè theme/Elementor vàng */
.ppc-sidebar-btn--primary,
body.page-slug-power-supplies .ppc-series-hub-sidebar .ppc-sidebar-btn--primary {
  background: #0071e3 !important;
  color: #0f172a !important;
  border: 1px solid #0071e3 !important;
}
.ppc-sidebar-btn--primary:hover,
body.page-slug-power-supplies .ppc-series-hub-sidebar .ppc-sidebar-btn--primary:hover {
  background: #2997ff !important;
  border-color: #2997ff !important;
  color: #0f172a !important;
}
.ppc-sidebar-btn--ghost {
  background: transparent;
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.15);
}
.ppc-sidebar-btn--ghost:hover {
  border-color: #0071e3;
  color: #0071e3;
}
.ppc-series-hub--with-sidebar .ppc-series-hub-main {
  min-width: 0;
}
/* Case hub full page: không sidebar, main full width */
.ppc-series-hub--fullpage .ppc-series-hub-main {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
/* Ẩn thanh lọc cũ (chỉ dùng sidebar) */
.ppc-series-hub--with-sidebar .ppc-series-hub-main .ppc-series-hub-filterbar {
  display: none !important;
}
/* Số cột grid: 2–5 (Nguồn + Case hub). */
body.page-slug-power-supplies .ppc-series-hub-main .ppc-series-hub-filtered-grid,
body.ppc-case-hub-page .ppc-series-hub-main .ppc-series-hub-filtered-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
body.page-slug-power-supplies .ppc-series-hub-main .ppc-series-hub-filtered-grid.ppc-series-hub-filtered-grid--cols-2,
body.ppc-case-hub-page .ppc-series-hub-main .ppc-series-hub-filtered-grid.ppc-series-hub-filtered-grid--cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}
body.page-slug-power-supplies .ppc-series-hub-main .ppc-series-hub-filtered-grid.ppc-series-hub-filtered-grid--cols-4,
body.ppc-case-hub-page .ppc-series-hub-main .ppc-series-hub-filtered-grid.ppc-series-hub-filtered-grid--cols-4{grid-template-columns:repeat(4,minmax(0,1fr))!important}
body.page-slug-power-supplies .ppc-series-hub-main .ppc-series-hub-filtered-grid.ppc-series-hub-filtered-grid--cols-5,
body.ppc-case-hub-page .ppc-series-hub-main .ppc-series-hub-filtered-grid.ppc-series-hub-filtered-grid--cols-5{grid-template-columns:repeat(5,minmax(0,1fr))!important}
/* Case hub: đảm bảo nội dung card (tên series, mô tả) luôn hiển thị rõ */
body.ppc-case-hub-page .ppc-series-hub-filter-card-body {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  padding: 16px 18px !important;
  background: rgba(0, 0, 0, 0.35) !important;
  min-height: 4em !important;
}
body.ppc-case-hub-page .ppc-series-hub-filter-card-title {
  font-weight: 700 !important;
  font-size: 18px !important;
  color: #eaeaea !important;
  visibility: visible !important;
  opacity: 1 !important;
}
body.ppc-case-hub-page .ppc-series-hub-filter-card-desc {
  font-size: 13px !important;
  color: rgba(234, 234, 234, 0.85) !important;
  visibility: visible !important;
  opacity: 1 !important;
}
body.ppc-case-hub-page .ppc-series-hub-filter-card-media {
  min-height: 160px !important;
  background: rgba(0, 0, 0, 0.4) !important;
}
body.ppc-case-hub-page .ppc-series-hub-filter-card-placeholder {
  min-height: 160px !important;
  background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.03)) !important;
}
@media (max-width: 1024px) {
  .ppc-series-hub--with-sidebar .ppc-series-hub-sidebar-layout {
    grid-template-columns: 1fr;
  }
  .ppc-series-hub--with-sidebar .ppc-series-hub-sidebar {
    position: static;
    max-height: none;
  }
  .ppc-series-hub-sidebar-form {
    max-height: none;
    overflow: visible;
  }
  .ppc-series-hub--with-sidebar .ppc-series-hub-main .ppc-series-hub-filtered-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 640px) {
  .ppc-series-hub--with-sidebar .ppc-series-hub-main .ppc-series-hub-filtered-grid {
    grid-template-columns: 1fr !important;
  }
}
