
.pcat-title-bar-left h2{
  display:none;
}
.card-title a {
    color: #333;
}

.pcat-subcats-in {
    display: flex;
    flex-direction: column;
    gap: 10px;

    /* tối đa khoảng 4 item */
   max-height: calc(4 * 50px);

    overflow-y: auto;
    overflow-x: hidden;

    padding-right: 6px;
}
.pcat-subcats-in::-webkit-scrollbar {
    width: 6px;
}

.pcat-subcats-in::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 999px;
}

.pcat-subcats-in::-webkit-scrollbar-thumb {
    background: #cccccc;
    border-radius: 999px;
}

.pcat-subcats-in::-webkit-scrollbar-thumb:hover {
    background: #cccccc;
}
.pcat-subcats {
    padding: 16px;
}
.pcat-title-bar-left {
    display: flex;
    gap: 10px;
}
/* Scroll bar cho danh sách brand */
.brand-filter-list {
  max-height: 260px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin; /* Firefox */
  scrollbar-color: #ccc transparent; /* Firefox */
}
.brand-filter-list::-webkit-scrollbar {
  width: 4px;
}
.brand-filter-list::-webkit-scrollbar-track {
  background: transparent;
}
.brand-filter-list::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 4px;
}

/* Icon chevron transition */
.pcat-toggle-icon svg {
  transition: transform 0.2s ease;
}
.pcat-title-bar-mobile {
  display: none;
}

.promo-image-container img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.promo-body-description .title {
  color: #0056b3;
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 15px;
  display: block;
  text-decoration: none;
  text-transform: uppercase;
}

.promo-body-form button.ff-btn.ff-btn-submit.ff-btn-md.ff_btn_no_style {
  margin: 0;
  width: 100%;
  background-color: #0056ad;
  color: #fff;
  border: none;
  padding: 5px;
  border-radius: 8px;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 0.3s;
}

.promo-body-form button.ff-btn.ff-btn-submit.ff-btn-md.ff_btn_no_style:hover {
  transform: translateY(-1px);
  background-color: #d3081c;
}

.promo-body-form .ff-el-group.ff-text-center.ff_submit_btn_wrapper {
  margin: 0;
}
.cat-commitment-bar {
  background-color: #0056b3; /* Màu xanh đậm như hình */
  border-radius: 8px;
  padding: 20px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-bottom: 20px;
  color: #fff;
  font-family: Arial, sans-serif;
}
.commitment-item {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
  justify-content: center;
  position: relative;
}
/* Vạch ngăn cách giữa các item */
.commitment-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  height: 30px;
  width: 1px;
  background: rgba(255, 255, 255, 0.2);
}
.commitment-icon {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.commitment-text {
  font-weight: bold;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.5px;
}

/* 2. CSS cho Box Nội Dung (image_656273.png) */
.category-description-wrapper {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  border: 1px solid #eee;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  position: relative;
  width: 100%;
}
.category-description-content {
  position: relative;
  overflow: hidden;
  max-height: 200px; /* Chiều cao giới hạn */
  transition: max-height 0.5s ease;
  line-height: 1.8;
  color: #333;
}
.category-description-content.expanded {
  max-height: 2000px; /* Cho phép mở rộng */
}
.category-description-content:not(.expanded)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: linear-gradient(transparent, #fff);
}
.read-more-btn-container {
  text-align: center;
  margin-top: 25px;
}
.read-more-btn {
  display: inline-block;
  padding: 8px 25px;
  border: 1px solid #0056b3;
  color: #0056b3;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  font-weight: 500;
  transition: 0.3s;
}
.read-more-btn:hover {
  background: #0056b3;
  color: #fff;
}

/* Responsive cho mobile */
@media (max-width: 768px) {
  .cat-commitment-bar {
    flex-direction: column;
    gap: 15px;
  }
  .commitment-item:after {
    display: none;
  }
}

.vtx-faq-container {
  width: 100%;
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  border: 1px solid #eee;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.vtx-faq-header {
  text-align: center;
  margin-bottom: 30px;
  border-bottom: 1px solid #dce4eb;
  padding-bottom: 20px;
}

.vtx-faq-header h2 {
  color: #333;
  font-size: 24px;
  margin-bottom: 10px;
  font-weight: 700;
}

.vtx-faq-header p {
  color: #333;
  font-size: 15px;
  line-height: 1.5;
  max-width: 600px;
  margin: 0 auto;
}

.vtx-faq-item {
  background: transparent;
  border-bottom: 1px solid #e1e8ed;
  padding: 15px 0;
}

.vtx-faq-item:last-child {
  border-bottom: none;
}

.vtx-faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 0;
  user-select: none;
}

.vtx-faq-question h3 {
  margin: 0;
  font-size: 16px;
  color: #333;
  font-weight: 600;
  line-height: 1.4;
  transition: color 0.3s;
}

.vtx-faq-item.active .vtx-faq-question h3 {
  color: #0056b3;
}

.vtx-faq-icon {
  width: 32px;
  height: 32px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.vtx-faq-icon svg {
  width: 25px;
  fill: #0056b3;
}

.vtx-faq-item.active .vtx-faq-icon {
  transform: rotate(180deg);
}

.vtx-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s ease,
    padding 0.4s ease;
  color: #333;
  font-size: 15px;
  line-height: 1.6;
}

.vtx-faq-item.active .vtx-faq-answer {
  max-height: 1000px; /* Độ cao tối đa khi mở */
  padding-top: 10px;
  padding-bottom: 10px;
}

.vtx-sidebar-fixed {
  position: fixed;
  top: 20px;
  z-index: 9;
}
.pcat-toolbar select#pcat-orderby {
  width: auto;
  padding: 0 25px;
  margin: 0;
}
.pcat-toolbar label {
  margin: 0;
  font-weight: 400;
  font-size: 16px;
  color: #333;
}

.pcat-row {
  display: flex;
    gap: 10px;
    max-width: 1650px;
    margin: 0 auto;
    align-items: flex-start;
}

/* ============================================================================
   SIDEBAR
============================================================================ */

.pcat-sidebar {
  flex-basis: 14%;
    max-width: 14%;
    position: sticky;
    top: 94px;
    display: flex;
    flex-direction: column;
    height: fit-content;
}
.pcat-sidebar-right {
  max-width: 14%;
    flex-basis: 14%;
    position: sticky;
    top: 94px;
    display: flex;
    flex-direction: column;
    height: fit-content;
}
.custom-category-footer {
  width: 100%;
}
/* Fix sticky sidebar */
html,
body {
  overflow-x: unset !important; /* bỏ overflow-x: hidden của Flatsome */
}

/* Thay bằng clip trên wrapper để vẫn ẩn scroll ngang */
.site-wrapper, /* hoặc class wrapper ngoài cùng của Flatsome */
#wrapper {
  overflow-x: clip; /* clip không chặn sticky, hidden thì có */
}
.vtx-qa-wrap {
  width: 100%;
}
.pcat-box {
  background: #fff;
  border: 1px solid #dfe5ec;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 14px;
}

.pcat-toggle-icon svg {
  transition: 0.3s;
}
.admin-bar .pcat-sidebar.vtx-sidebar-fixed {
  top: 50px;
}
/* mặc định đóng */
.pcat-filter {
  
  padding: 16px;
}

/* khi active thì mở */
.pcat-box.active .pcat-filter {
  display: block;
}

/* xoay icon */
.pcat-box.active .pcat-toggle-icon svg {
  transform: rotate(180deg);
}
.pcat-box-title {
  background: #0056ad;
  color: #fff;
  padding: 10px 16px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  
}
span.pcat-toggle-icon {
    display: flex;
    align-items: center;
    cursor: pointer;
}
.pcat-subcats a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 5px;
  color: #333;
  text-decoration: none;
  border-bottom: 1px solid #edf1f5;
  font-size: 15px;
}

.pcat-subcats a:hover {
  background: #f8fafc;
}

.pcat-subcats .count {
  color: #8a95a5;
}

.pcat-filter {
  padding: 16px;
}

.filter-title {
  font-weight: 700;
  margin-bottom: 14px;
  color: #0056ad;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  font-size: 15px;
}

.brand-filter-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.brand-filter-list li {
  margin-bottom: 10px;
}

.brand-filter-list label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 400;
  font-size: 15px;
  color: #333;
}

.brand-filter-list input {
  width: 16px;
  height: 16px;
  margin: 0;
}

/* ============================================================================
   MAIN
============================================================================ */
.pcat-wrap {
  padding: 10px;
}
.pcat-main {
  flex-basis: 72%;
    max-width: 72%;
}
.pcat-main-inner {
  gap:10px;
  display: flex;
  flex-flow: row wrap;
  width: 100%;
  align-items: flex-start;
}
.pcat-content {
  background: #fff;
  border-radius: 10px;
  padding: 10px;
  border: 1px solid #dfe5ec;
  width: 100%;
}

.pcat-breadcrumb {
  margin-bottom: 16px;
  color: #333;
  margin-top: 10px;
}

.pcat-breadcrumb a {
  color: #0056ad;
  text-decoration: none;
}

.sep {
  margin: 0 5px;
}

.pcat-title-bar {
  background: #0056ad;
  border-radius: 6px;
  padding: 10px 15px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.pcat-title-bar h1 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  width: auto;
}
.tax-product_cat .shop-page-title.category-page-title.page-title {
  display: none;
}
.found-count {
  font-size: 14px;
}

/* ============================================================================
   FILTER CHIP
============================================================================ */

.pcat-active-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.filter-chip {
  padding: 7px 10px;
  border-radius: 4px;
  background: #eef4fc;
  border: 1px solid #c8daf4;
  color: #0056ad;
  text-decoration: none;
  font-size: 13px;
}

.clear-all-link {
  color: #ea0000;
  text-decoration: none;
}

/* ============================================================================
   TOOLBAR
============================================================================ */

.pcat-toolbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.pcat-toolbar select {
  border: 1px solid #d8dee6;
  border-radius: 6px;
  padding: 10px 12px;
}

/* ============================================================================
   GRID
============================================================================ */

.pcat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}


/* ============================================================================
   PAGINATION
============================================================================ */

.pcat-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
}

.pcat-pagination a,
.pcat-pagination span {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: 1px solid #d9e0e7;
  text-decoration: none;
  color: #333;
  background: #fff;
}

.pcat-pagination .current {
  background: #0056ad;
  color: #fff;
  border-color: #0056ad;
}

.pcat-pagination .disabled {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: 1px solid #d9e0e7;
  color: #bbb;
  background: #f5f5f5;
  cursor: not-allowed;
}

.pcat-pagination .dots {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: none;
  color: #333;
  font-size: 16px;
}

/* ============================================================================
   PROMO
============================================================================ */

.promo-banner {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #dfe5ec;
}

.promo-banner img {
  width: 100%;
  display: block;
}

/* ============================================================================
   RESPONSIVE
============================================================================ */

@media (max-width: 1200px) {
  .pcat-grid {
    grid-template-columns: repeat(4, 1fr);
  }
.pcat-sidebar-right {
    display: none;
}
  .pcat-main {
    flex-basis: 86%;
    max-width: 86%;
}
}

@media (max-width: 992px) {
  .pcat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  

  .cmp-bar-inner {
    flex-direction: column;
  }

  .cmp-bar-slots {
    width: 100%;
    overflow: auto;
  }

  .cmp-slot {
    min-width: 220px;
  }
}

.promo-sidebar-card {
  width: 100%;
  max-width: 280px; /* Độ rộng tối ưu cho sidebar */
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);

  margin-bottom: 20px;
  border: 1px solid #eee;
}

/* Header: Ưu đãi hot */
.promo-header {
  background-color: #d3081c; /* Màu đỏ đô */
  color: #fff;
  text-align: center;
  padding: 10px;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Ảnh nền và text đè lên ảnh */
.promo-image-container {
  position: relative;
  height: 200px;
  background-image: url("https://vcdn1-dulich.vnecdn.net/2021/07/20/St-Basils-Cathedral-1-1626772733.jpg"); /* Link ảnh minh họa nhà thờ Saint Basil */
  background-size: cover;
  background-position: center;
}

.promo-image-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* Làm tối ảnh một chút để nổi chữ */
}

.promo-discount-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
  color: #00ff00; /* Màu xanh neon */
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.2;
  text-shadow:
    0 0 10px rgba(0, 255, 0, 0.8),
    0 0 20px rgba(0, 255, 0, 0.5);
}

.promo-discount-text span.big {
  font-size: 24px;
  display: block;
}

.promo-discount-text span.percent {
  font-size: 32px;
  display: block;
}

/* Phần thân dưới */
.promo-body {
  padding: 10px 10px;
  text-align: center;
}

.promo-description {
  font-size: 14px;
  color: #333;
  line-height: 1.5;
  margin-bottom: 15px;
}

.promo-hotline {
  color: #0056b3;
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 15px;
  display: block;
  text-decoration: none;
}

/* Form nhập liệu */
.promo-form input {
  width: 100%;
  padding: 12px 12px 12px 40px;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-bottom: 15px;
  font-size: 14px;
  box-sizing: border-box;
  background-color: #f9f9f9;
}

.promo-submit-btn {
  width: 100%;
  background-color: #d3081c;
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 0.3s;
}

.promo-submit-btn:hover {
  background-color: #b00617;
}

.promo-submit-btn svg {
  width: 16px;
  height: 16px;
}
@media (max-width: 1024px) {
      
    .pcat-sidebar {
    flex-basis: 22%;
    max-width: 22%;
    }
}
@media (max-width: 768px) {
.pcat-sidebar {
   
    top: 58px;
}
}
@media (max-width: 600px) {
  
  .pcat-row {
    flex-direction: column;
  }

  .pcat-sidebar {
    width: 100%;
    position: static;
  }

  .pcat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
   .pcat-sidebar-left {
    position: fixed;
    top: 0;
    left: 0;
    width: 320px;
    max-width: 85%;
    height: 100vh;
    background: #fff;
    z-index: 999999999;

    overflow-y: auto;

    /* hiệu ứng slide */
    transform: translateX(-100%);
    transition: transform 0.35s ease;

    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
  }

  .pcat-sidebar-left.active {
    transform: translateX(0);
  }

  /* overlay */
  .pcat-sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999999;

    opacity: 0;
    visibility: hidden;

    transition: all 0.3s ease;
  }

  .pcat-sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  /* nút close */
  .pcat-sidebar-close {
    position: absolute;
        top: 5px;
        right: 5px;
        width: 20px;
        height: 20px;
        border: none;
        border-radius: 50%;
        background: #f2f2f2;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 17px;
        line-height: 1;
        transition: all 0.2s ease;
        margin: 0;
        min-height: 20px;
        padding: 0;
        z-index: 9999;
  }

  .pcat-sidebar-close:hover {
    background: #e5e5e5;
  }
  .pcat-content {
    padding: 5px;
  }
  .pcat-title-bar h1 {
    font-size: 18px;
  }
  .pcat-title-bar {
    padding: 10px;
    flex-wrap: wrap;
  }


  .pcat-title-bar h1 {
    margin-bottom: 14px;
  }
  .price-sale {
    font-size: 18px;
  }
  .pcat-grid {
    gap: 7px;
  }
  .pcat-grid {
    gap: 7px;
  }

  .vtx-qa-footer {
    flex-wrap: wrap;
  }

  .vtx-qa-footer-captcha {
    margin-bottom: 15px;
  }
  .vtx-qa-wrap,
  .vtx-faq-container,
  .category-description-wrapper {
    padding: 10px !important;
    
  }
  .card-meta {
    flex-wrap: wrap;
  }

  .btn-add-compare {
    padding: 0;
  }
  .cmp-overlay-title {
    font-size: 16px;
  }
  button#cmp-back {
    margin: 0;
  }

  .cmp-prod-name {
    font-size: 15px;
  }

  span.cmp-price-sale {
    font-size: 16px;
  }

  a.cmp-view-btn {
    padding: 5px 15px;
  }

  .cmp-product-col {
    padding: 10px 10px;
  }

  .cmp-prod-desc {
    display: none;
  }
  .cmp-products-row {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .pcat-title-bar-mobile {
    display: flex;
    flex-basis: 100%;
    max-width: 100%;
  }
  

  button.pcat-title-bar-mobile-button {
   
    background-color: #ffffff;
    color: #0056ad;
    display: flex;
    align-items: center;
    border-radius: 10px;
    padding: 2px 10px;
    margin-top: 15px;
    font-size: 14px;
    font-weight: 700;
    border: none;
    width: 100%;
        text-align: center;
        justify-content: center;
        margin: 0 !important;
  }

  button.pcat-title-bar-mobile-button svg {
    width: 17px;
    margin-right: 10px;
  }
  .open-mobile.pcat-sidebar-left {
    position: fixed;
    background-color: #ffffff;
    left: 0;
    padding: 8px;
    z-index: 99;
    top: 0;
  }
  .commitment-item {
    width: 100%;
    justify-content: left;
  }
  .pcat-main {
   
    flex-basis: 100%;
        max-width: 100%;
}
    .pcat-content {
     
        width: 100%;
    }
    .pcat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
