/* PWC products v4 — modern product cards, category navigation and wishlist. */
.pwc-product-categories {
  display: flex;
  align-items: center;
  gap: 34px;
  width: 100%;
  margin: 0 0 34px;
  padding: 0 0 14px;
  overflow-x: auto;
  border-bottom: 1px solid #d8e0e8;
  white-space: nowrap;
}

.template-collection #content > aside,
.template-search #content > aside {
  display: none;
}

.template-collection #content > .col-md-9,
.template-search #content > .col-md-9 {
  width: 100%;
  padding: 0;
}

/* 2-Column Collection Layout System */
.pwc-collection-page {
  padding-top: 10px;
  padding-bottom: 40px;
}

.pwc-filter-sidebar {
  margin-bottom: 30px;
}

.pwc-filter-card {
  padding: 22px 20px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 39, 82, 0.04);
}

.pwc-filter-header {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 2px solid #003E93;
}

.pwc-filter-header h3 {
  margin: 0;
  color: #002752;
  font-size: 17px;
  font-weight: 700;
}

.pwc-filter-header i {
  margin-right: 8px;
  color: #003E93;
}

.pwc-filter-title {
  margin-bottom: 14px;
  color: #002752;
  font-size: 15px;
  font-weight: 700;
}

.pwc-price-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.pwc-radio-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 10px 14px;
  border: 1px solid #edf2f7;
  border-radius: 8px;
  color: #4a5568;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pwc-radio-label:hover,
.pwc-radio-label.is-selected {
  border-color: #003E93;
  background: #f4f8fc;
  color: #002752;
  font-weight: 600;
}

.pwc-radio-label input[type="radio"] {
  width: 16px;
  height: 16px;
  margin: 0;
  cursor: pointer;
  accent-color: #003E93;
}

.pwc-price-reset {
  width: 100%;
  padding: 10px 16px;
  border: 1px solid #cbd5e0;
  border-radius: 8px;
  background: #ffffff;
  color: #4a5568;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.pwc-price-reset:hover {
  border-color: #FF8D6D;
  background: #FF8D6D;
  color: #ffffff;
}

.pwc-collection-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  padding: 16px 20px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 39, 82, 0.04);
}

.pwc-collection-title-wrap {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.pwc-collection-heading {
  margin: 0;
  color: #002752;
  font-size: 22px;
  font-weight: 800;
}

.pwc-product-count {
  color: #718096;
  font-size: 14px;
  font-weight: 500;
}

.pwc-sort-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pwc-sort-wrapper label {
  margin: 0;
  color: #4a5568;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.pwc-sort-wrapper select {
  height: 38px;
  padding: 0 32px 0 14px;
  border: 1px solid #cbd5e0;
  border-radius: 8px;
  background-color: #ffffff;
  color: #002752;
  font-size: 14px;
  font-weight: 600;
  outline: none;
}

.pwc-product-categories a {
  position: relative;
  display: inline-block;
  padding: 12px 0;
  color: #7d8996;
  font-size: 17px;
  font-weight: 700;
}

.pwc-product-categories a:hover,
.pwc-product-categories a.active {
  color: #002752;
}

.pwc-product-categories a.active:after {
  position: absolute;
  right: 0;
  bottom: -15px;
  left: 0;
  height: 3px;
  background: #003E93;
  content: '';
}

.pwc-product-categories a.pwc-subcategory {
  font-size: 14px;
  font-weight: 600;
}

/* Modern Product Card Grid System */
.pro-loop {
  margin-bottom: 28px;
  padding-right: 12px;
  padding-left: 12px;
}

.product-block {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid #e5ecf3;
  border-radius: 12px !important;
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 39, 82, 0.04);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  overflow: hidden;
}

.product-block:hover {
  border-color: rgba(0, 62, 147, 0.25);
  box-shadow: 0 14px 35px rgba(0, 39, 82, 0.12);
  transform: translateY(-6px);
}

.product-img {
  position: relative;
  width: 100%;
  padding-top: 100%;
  overflow: hidden;
  background: linear-gradient(160deg, #ffffff 0%, #eef3f9 100%);
}

.product-img > a {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 8px;
}

.product-img img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.product-block:hover .product-img img {
  transform: scale(1.06);
}

/* Modern Sale Badge */
.product-sale {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 9;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 20px;
  background: #FF8D6D;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(255, 141, 109, 0.3);
}

.product-sale img {
  display: none !important;
}

.sold-out {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 9;
  padding: 4px 10px;
  border-radius: 20px;
  background: #647585;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
}

/* Modern Wishlist Circular Button */
.pwc-wishlist-button {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(0, 39, 82, 0.08);
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.95);
  color: #002752;
  font-size: 15px;
  box-shadow: 0 4px 12px rgba(0, 39, 82, 0.12);
  transition: all 0.25s ease;
  outline: none;
  cursor: pointer;
}

.pwc-wishlist-button:hover {
  border-color: #FF8D6D;
  background: #FF8D6D;
  color: #ffffff !important;
  box-shadow: 0 6px 16px rgba(255, 141, 109, 0.4);
  transform: scale(1.12);
}

.pwc-wishlist-button.is-active {
  border-color: #FF8D6D;
  background: #FF8D6D;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(255, 141, 109, 0.35);
}

.product-img .mask {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 7;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 39, 82, 0.25);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.product-block:hover .mask {
  opacity: 1;
}

.product-img .mask img {
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(0, 39, 82, 0.2);
}

.product-detail {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 16px 18px 18px;
  background: #ffffff;
}

.pro-name {
  margin: 0 0 8px;
  color: #002752;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  height: 44px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.pro-name a {
  color: #002752;
  transition: color 0.2s ease;
  text-decoration: none;
}

.pro-name a:hover {
  color: #003E93;
}

.pro-price {
  margin: 0;
  color: #003E93;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
}

.pro-price-del {
  margin: 4px 0 0;
  min-height: 20px;
}

.pro-price-del .compare-price {
  color: #899bb0;
  font-size: 13px;
  text-decoration: line-through;
}

/* Wishlist Side Panel */
.wishlist-menu-item {
  position: relative;
  width: 58px;
  height: 58px;
  border-left: 1px solid rgba(255,255,255,.18);
}

.wishlist-menu-item .pwc-wishlist-trigger {
  position: relative;
  display: block;
  width: 58px;
  height: 58px;
  padding: 0;
  color: #fff;
  font-size: 21px;
  line-height: 58px;
  text-align: center;
}

.wishlist-menu-item .pwc-wishlist-count {
  position: absolute;
  top: 5px;
  right: 5px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  background: #BFE800;
  color: #002752;
  font-size: 11px;
  font-weight: 800;
  line-height: 19px;
  border-radius: 10px;
}

.pwc-wishlist-panel {
  position: fixed;
  top: 0;
  right: -380px;
  z-index: 10050;
  width: 360px;
  max-width: 92vw;
  height: 100vh;
  padding: 22px;
  background: #fff;
  box-shadow: -10px 0 35px rgba(0,39,82,.18);
  transition: right .25s ease;
}

.pwc-wishlist-panel.is-open {
  right: 0 !important;
}

.pwc-wishlist-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 2px solid #003E93;
  color: #002752;
  font-size: 18px;
}

.pwc-wishlist-close {
  border: 0;
  background: transparent;
  color: #002752;
  font-size: 28px;
}

.pwc-wishlist-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #e2e8ee;
  color: #002752;
}

.pwc-wishlist-row img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.pwc-wishlist-empty {
  padding: 24px 0;
  color: #68798a;
}

.pwc-wishlist-flyer {
  position: absolute;
  z-index: 10060;
  object-fit: cover;
  pointer-events: none;
}

.pwc-wishlist-trigger.is-bouncing {
  animation: pwc-heart-bounce .35s ease;
}

@keyframes pwc-heart-bounce {
  50% { transform: scale(1.28); }
}

/* Header controls use Marian Blue */
body .navbar-main .right-menu .desktop-user-menu-item,
body .navbar-main .right-menu .desktop-search-menu-item,
body .navbar-main .right-menu .toolbar-cart,
body .navbar-main .wishlist-menu-item {
  background: #003E93;
}

body .navbar-main .right-menu .desktop-user-menu-item:hover,
body .navbar-main .right-menu .desktop-search-menu-item:hover,
body .navbar-main .right-menu .toolbar-cart:hover,
body .navbar-main .wishlist-menu-item:hover {
  background: #002752;
}

body .navbar-main .right-menu .desktop-user-menu-item a,
body .navbar-main .right-menu .toolbar-cart a,
body .navbar-main .wishlist-menu-item a {
  color: #fff;
}

body .navbar-main li.cart-target a.cart span:nth-child(2) {
  background: #BFE800;
  color: #002752;
}

/* Product card grid: đồng bộ chiều rộng + reset float cũ để card cao đều nhau */
.content-product-list {
  display: flex;
  flex-wrap: wrap;
}

.content-product-list .pro-loop {
  display: flex;
  float: none;
}

.content-product-list .pro-loop > .product-block {
  width: 100%;
}

/* Desktop: 5 sản phẩm / hàng cho mọi trang lưới */
@media (min-width: 992px) {
  .content-product-list .pro-loop {
    width: 20%;
  }
}

/* Tablet: 3 / hàng */
@media (min-width: 768px) and (max-width: 991px) {
  .content-product-list .pro-loop {
    width: 33.3333%;
  }
}

/* Mobile: 2 / hàng */
@media (max-width: 767px) {
  .content-product-list .pro-loop {
    width: 50%;
  }
}

@media (max-width: 767px) {
  .pwc-product-categories {
    gap: 22px;
    margin-bottom: 22px;
  }

  .pwc-product-categories a {
    font-size: 14px;
  }

  .pwc-wishlist-button {
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    font-size: 13px;
  }

  ul.mobile-menu-icon .wishlist-menu-item {
    width: auto;
    height: 50px;
    border: 0;
  }

  ul.mobile-menu-icon .wishlist-menu-item .pwc-wishlist-trigger {
    width: 42px;
    height: 50px;
    font-size: 20px;
    line-height: 50px;
  }
}

/* Product Card Action Buttons */
.pwc-card-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
}

.pwc-btn-addcart {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1.5px solid #003E93;
  border-radius: 8px;
  background: #ffffff;
  color: #003E93;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
  overflow: hidden;
  white-space: nowrap;
}

.pwc-btn-addcart:hover {
  background: #003E93;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 62, 147, 0.25);
}

.pwc-btn-addcart:disabled {
  border-color: #cbd5e0;
  color: #a0aec0;
  cursor: not-allowed;
  background: #f7fafc;
}

.pwc-btn-addcart i {
  font-size: 17px;
}

.pwc-btn-buynow {
  flex: 1 1 auto;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 42px;
  padding: 0 8px;
  border: 0;
  border-radius: 8px;
  background: #003E93;
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none !important;
}

.pwc-btn-buynow:hover {
  background: #002752;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(0, 39, 82, 0.3);
  text-decoration: none !important;
}

/* AJAX add-to-cart success feedback */
.pwc-btn-addcart.is-added {
  border-color: #38a169;
  background: #38a169;
  color: #ffffff;
}

@media (max-width: 767px) {
  .pwc-card-actions {
    gap: 6px;
    padding-top: 8px;
  }
  .pwc-btn-addcart {
    width: 38px;
    height: 38px;
  }
  .pwc-btn-addcart i {
    font-size: 15px;
  }
  .pwc-btn-buynow {
    height: 38px;
    font-size: 12px;
  }
}

/* ============================================
   Product Detail Page — Button System Override
   ============================================ */
.template-product .btn-detail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 52px;
  padding: 0 12px;
  border: 0;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
  outline: none;
  box-sizing: border-box;
}

.template-product .btn-detail::before,
.template-product .btn-detail::after {
  display: none !important;
  content: none !important;
}

.template-product #add-to-cart {
  background: #BFE800;
  color: #002752;
  border: 2px solid #BFE800;
}

.template-product #add-to-cart:hover {
  background: #a8cc00;
  border-color: #a8cc00;
  box-shadow: 0 6px 20px rgba(191, 232, 0, 0.35);
}

.template-product #buy-now {
  background: #003E93;
  color: #ffffff;
  border: 2px solid #003E93;
}

.template-product #buy-now:hover {
  background: #002752;
  border-color: #002752;
  box-shadow: 0 6px 20px rgba(0, 62, 147, 0.3);
}

.template-product .btn-detail:disabled,
.template-product .btn-detail.disabled {
  background: #e2e8f0 !important;
  border-color: #e2e8f0 !important;
  color: #a0aec0 !important;
  cursor: not-allowed;
  box-shadow: none !important;
}

.template-product .btn-detail + .btn-detail {
  margin-top: 10px;
}

@media (min-width: 992px) {
  .template-product .btn-detail + .btn-detail {
    margin-top: 0;
  }
}

/* Product detail buttons row spacing */
.template-product .variants .row {
  margin-top: 18px;
}

.template-product .select-wrapper label {
  display: block;
  margin-bottom: 8px;
  color: #002752;
  font-size: 14px;
  font-weight: 700;
}

.template-product #quantity {
  width: 80px;
  height: 44px;
  padding: 0 10px;
  border: 1.5px solid #cbd5e0;
  border-radius: 10px;
  background: #ffffff;
  color: #002752;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  outline: none;
  transition: border-color 0.2s ease;
}

.template-product #quantity:focus {
  border-color: #003E93;
  box-shadow: 0 0 0 3px rgba(0, 62, 147, 0.1);
}

/* ============================================
   Homepage — Danh mục sản phẩm (card hình ảnh lớn)
   ============================================ */
.pwc-home-cats {
  margin: 10px 0 50px;
}

.pwc-home-cats-head {
  margin-bottom: 30px;
  text-align: center;
}

.pwc-home-cats-eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 16px;
  border-radius: 20px;
  background: rgba(0, 62, 147, 0.08);
  color: #003E93;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.pwc-home-cats-title {
  margin: 0 0 8px;
  color: #002752;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.pwc-home-cats-sub {
  margin: 0;
  color: #647585;
  font-size: 15px;
}

.pwc-home-cats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 200px));
  justify-content: center;
  gap: 14px;
}

.pwc-cat-card {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 12px;
  background: #002752;
  box-shadow: 0 8px 24px rgba(0, 39, 82, 0.1);
  text-decoration: none !important;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease;
}

.pwc-cat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0, 39, 82, 0.24);
}

.pwc-cat-media {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.pwc-cat-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.pwc-cat-card:hover .pwc-cat-media img {
  transform: scale(1.08);
}

.pwc-cat-noimg {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #003E93 0%, #002752 100%);
  color: rgba(255, 255, 255, 0.5);
  font-size: 46px;
}

.pwc-cat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 20, 45, 0.9) 8%, rgba(0, 20, 45, 0.35) 45%, rgba(0, 20, 45, 0) 72%);
  transition: background 0.3s ease;
}

.pwc-cat-card:hover .pwc-cat-overlay {
  background: linear-gradient(to top, rgba(0, 39, 82, 0.94) 12%, rgba(0, 39, 82, 0.45) 55%, rgba(0, 39, 82, 0.05) 85%);
}

.pwc-cat-body {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 10px;
  z-index: 2;
}

.pwc-cat-name {
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.1px;
}

.pwc-cat-count {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  font-weight: 500;
}

.pwc-cat-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-height: 0;
  margin-top: 0;
  color: #BFE800;
  font-size: 11px;
  font-weight: 700;
  opacity: 0;
  overflow: hidden;
  transform: translateY(6px);
  transition: max-height 0.3s ease, opacity 0.3s ease, transform 0.3s ease, margin-top 0.3s ease;
}

.pwc-cat-card:hover .pwc-cat-cta {
  max-height: 24px;
  margin-top: 6px;
  opacity: 1;
  transform: translateY(0);
}

.pwc-cat-cta i {
  transition: transform 0.25s ease;
}

.pwc-cat-card:hover .pwc-cat-cta i {
  transform: translateX(4px);
}

@media (max-width: 1199px) {
  .pwc-home-cats-title {
    font-size: 25px;
  }
}

@media (max-width: 767px) {
  .pwc-home-cats {
    margin-bottom: 34px;
  }
  .pwc-home-cats-title {
    font-size: 21px;
  }
  /* Mobile: luôn 3 ô / hàng cho gọn gàng */
  .pwc-home-cats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .pwc-cat-card {
    border-radius: 10px;
  }
  .pwc-cat-name {
    font-size: 11px;
    line-height: 1.2;
  }
  .pwc-cat-count {
    font-size: 10px;
  }
  /* Mobile: ẩn CTA để card gọn, thông tin tối giản */
  .pwc-cat-cta {
    display: none;
  }
  .pwc-cat-body {
    padding: 7px;
  }
}

/* ============================================
   Nút "Xem thêm" — kiểu như nút "Mua ngay" nhưng màu Coral
   ============================================ */
a.pwc-btn-viewmore,
a.btn.pwc-btn-viewmore {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 46px;
  min-width: 190px;
  margin: 8px auto 0;
  padding: 0 32px;
  border: 0;
  border-radius: 10px;
  background: #FF8D6D;
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  text-decoration: none !important;
  box-shadow: 0 6px 16px rgba(255, 141, 109, 0.32);
  transition: background 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

a.pwc-btn-viewmore:hover,
a.btn.pwc-btn-viewmore:hover {
  background: #ff7a54;
  color: #ffffff !important;
  box-shadow: 0 10px 24px rgba(255, 141, 109, 0.42);
  transform: translateY(-2px);
  text-decoration: none !important;
}

a.pwc-btn-viewmore:after {
  display: none !important;
}

a.pwc-btn-viewmore i {
  font-size: 13px;
  transition: transform 0.22s ease;
}

a.pwc-btn-viewmore:hover i {
  transform: translateX(4px);
}

/* ============================================
   Bộ lọc danh mục trong sidebar collection
   ============================================ */
.pwc-cat-filter-group {
  margin-bottom: 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e5ecf3;
}

.pwc-cat-filter-group .pwc-filter-title {
  margin-bottom: 12px;
}

ul.pwc-cat-filter,
ul.pwc-cat-filter-sub {
  margin: 0;
  padding: 0;
  list-style: none !important;
}

ul.pwc-cat-filter {
  max-height: 360px;
  overflow-y: auto;
}

ul.pwc-cat-filter > li {
  list-style: none !important;
}

.pwc-cat-filter-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 8px;
  color: #4a5568 !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
  transition: background 0.18s ease, color 0.18s ease;
}

.pwc-cat-filter-link i {
  color: #94a3b3;
  font-size: 13px;
}

.pwc-cat-filter-link:hover {
  background: #f4f8fc;
  color: #003E93 !important;
}

.pwc-cat-filter-link:hover i {
  color: #003E93;
}

.pwc-cat-filter-link.is-active {
  background: #003E93;
  color: #ffffff !important;
}

.pwc-cat-filter-link.is-active i {
  color: #ffffff;
}

/* Danh mục con thụt vào */
.pwc-cat-filter-child {
  padding-left: 30px !important;
  font-size: 13px;
  font-weight: 500;
}

.pwc-cat-filter-child:before {
  margin-right: 7px;
  color: #a0aec0;
  content: '\f105';
  font-family: 'FontAwesome';
}

/* ==========================================================================
   Section Blog / Tin tức trang chủ (snippets/home-blog.liquid)
   ========================================================================== */

.pwc-home-blog {
  clear: both;
  margin: 10px 0 40px;
  padding: 30px 24px 34px;
  border-radius: 16px;
  background: #F3F5F7;
}

.pwc-home-blog-head {
  margin-bottom: 24px;
  text-align: center;
}

.pwc-home-blog-title {
  position: relative;
  margin: 0 0 10px;
  padding-bottom: 12px;
  color: #002752;
  font-size: 26px;
  font-weight: 700;
  text-transform: uppercase;
}

.pwc-home-blog-title:after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 62px;
  height: 4px;
  border-radius: 2px;
  background: #BFE800;
  content: '';
  transform: translateX(-50%);
}

.pwc-home-blog-sub {
  margin: 0;
  color: #5a6b80;
  font-size: 14px;
}

.pwc-home-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pwc-blog-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e4e9ef;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 3px 12px rgba(0, 39, 82, 0.06);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.pwc-blog-card:hover {
  box-shadow: 0 12px 26px rgba(0, 39, 82, 0.16);
  transform: translateY(-4px);
}

.pwc-blog-thumb {
  display: block;
  position: relative;
  overflow: hidden;
  height: 190px;
  background: #e9eef4;
}

.pwc-blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.pwc-blog-card:hover .pwc-blog-thumb img {
  transform: scale(1.06);
}

.pwc-blog-thumb-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #b7c3d2;
  font-size: 44px;
}

.pwc-blog-date {
  display: flex;
  position: absolute;
  top: 12px;
  left: 12px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  padding: 6px 8px;
  border-radius: 10px;
  background: #003E93;
  color: #ffffff;
  line-height: 1;
}

.pwc-blog-date strong {
  font-size: 18px;
  font-weight: 700;
}

.pwc-blog-date em {
  margin-top: 2px;
  color: #BFE800;
  font-size: 11px;
  font-style: normal;
}

.pwc-blog-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 16px 16px 18px;
}

.pwc-blog-card-title {
  margin: 0 0 9px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.pwc-blog-card-title a {
  display: block;
  overflow: hidden;
  max-height: 44px;
  color: #002752;
  text-decoration: none;
  transition: color 0.2s ease;
}

.pwc-blog-card-title a:hover {
  color: #003E93;
}

.pwc-blog-excerpt {
  flex: 1 1 auto;
  overflow: hidden;
  margin: 0 0 14px;
  max-height: 66px;
  color: #64748b;
  font-size: 13.5px;
  line-height: 1.55;
}

.pwc-blog-readmore {
  align-self: flex-start;
  padding: 0;
  color: #003E93;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.pwc-blog-readmore i {
  margin-left: 5px;
  transition: transform 0.2s ease;
}

.pwc-blog-readmore:hover {
  color: #FF8D6D;
}

.pwc-blog-readmore:hover i {
  transform: translateX(3px);
}

.pwc-home-blog-foot {
  margin-top: 26px;
  text-align: center;
}

.pwc-home-blog-empty {
  padding: 18px 0;
  text-align: center;
}

@media (min-width: 768px) and (max-width: 991px) {
  .pwc-home-blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .pwc-home-blog {
    margin-bottom: 26px;
    padding: 22px 14px 26px;
    border-radius: 12px;
  }
  .pwc-home-blog-title {
    font-size: 20px;
  }
  .pwc-home-blog-sub {
    font-size: 13px;
  }
  .pwc-home-blog-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .pwc-blog-thumb {
    height: 170px;
  }
  .pwc-blog-card-title {
    font-size: 15px;
  }
}
