/* Giao diện Woo shortcode layout safe reset: scoped, late, theme-safe. */
:where(.wps-items-v2179,.wp-sync-items-v1958,.wp-sync-item-v1958,.wp-sync-news-page-v2033,.wp-sync-news-v2032,.wps-cat-tabs-v225105,.wps-childcats-v22515,.wps-shop-items-v2184){
  box-sizing:border-box!important;
  max-width:100%!important;
  min-width:0!important;
  overflow-wrap:anywhere;
  word-break:normal;
}
:where(.wps-items-v2179,.wp-sync-items-v1958,.wp-sync-item-v1958,.wp-sync-news-page-v2033,.wp-sync-news-v2032,.wps-cat-tabs-v225105,.wps-childcats-v22515,.wps-shop-items-v2184) *,
:where(.wps-items-v2179,.wp-sync-items-v1958,.wp-sync-item-v1958,.wp-sync-news-page-v2033,.wp-sync-news-v2032,.wps-cat-tabs-v225105,.wps-childcats-v22515,.wps-shop-items-v2184) *::before,
:where(.wps-items-v2179,.wp-sync-items-v1958,.wp-sync-item-v1958,.wp-sync-news-page-v2033,.wp-sync-news-v2032,.wps-cat-tabs-v225105,.wps-childcats-v22515,.wps-shop-items-v2184) *::after{box-sizing:border-box!important;min-width:0!important}

/* Images/videos never escape cards or overlap text. */
:where(.wps-items-v2179,.wp-sync-news-page-v2033,.wp-sync-news-v2032,.wps-shop-items-v2184) :where(img,svg,video,iframe){max-width:100%!important}
:where(.wps-items-v2179,.wp-sync-news-page-v2033,.wp-sync-news-v2032) :where(.wps-card-v2179__image,.wpsnp-card__img,.wpsn1-hero-img,.wpsn2-hero-img,.wpsn1-related-media,.wpsn2-related-media){overflow:hidden!important;line-height:0!important;background:#f8fafc!important}
.wps-items-v2179 .wps-card-v2179__image img,
.wp-sync-news-page-v2033 .wpsnp-card__img img,
.wp-sync-news-v2032 .wpsn1-hero-img img,
.wp-sync-news-v2032 .wpsn2-hero-img img,
.wp-sync-news-v2032 :where(.wpsn1-related-media img,.wpsn2-related-media img){display:block!important;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important;margin:0!important;border:0!important}
.wps-items-v2179.type-product .wps-card-v2179__image img{object-fit:var(--wps-card-img-fit,contain)!important;padding:var(--wps-product-img-pad,12px)!important;max-width:var(--wps-product-img-max-w,100%)!important;max-height:var(--wps-product-img-max-h,100%)!important;margin:auto!important}
.wps-items-v2179 .wps-card-v2179__image{aspect-ratio:var(--wpsit-img-ratio,1/1)!important;height:auto!important;min-height:0!important;display:flex!important;align-items:center!important;justify-content:center!important}
.wps-items-v2179.type-post .wps-card-v2179__image{aspect-ratio:var(--wpsit-img-ratio,16/10)!important;display:block!important}

/* Card/grid width guard for post item shortcode. */
.wps-items-v2179 .wps-items-v2179__grid{width:100%!important;max-width:100%!important;min-width:0!important;align-items:stretch!important}
.wps-items-v2179.is-grid .wps-items-v2179__grid{display:grid!important;grid-template-columns:repeat(var(--wpsit-cols,4),minmax(0,1fr))!important}
.wps-items-v2179 :where(.wps-card-v2179,.wps-card-v2179__body,.wps-card-v2179__title,.wps-card-v2179__excerpt,.wps-card-v2179__meta,.wps-card-v2179__actions){min-width:0!important;max-width:100%!important}
.wps-items-v2179 .wps-card-v2179{overflow:hidden!important;height:100%!important;display:flex!important;flex-direction:column!important}
.wps-items-v2179 .wps-card-v2179__body{position:relative!important;z-index:2!important;display:flex!important;flex-direction:column!important;flex:1 1 auto!important;background:var(--wpsit-bg,#fff)}
.wps-items-v2179 .wps-card-v2179__title,
.wp-sync-news-page-v2033 .wpsnp-card h3,
.wp-sync-news-v2032 :where(.wpsn1-related-card strong,.wpsn2-related strong,.wpsn2-side-posts strong){display:-webkit-box!important;-webkit-box-orient:vertical!important;overflow:hidden!important;text-overflow:ellipsis!important;overflow-wrap:anywhere!important;word-break:break-word!important}
.wps-items-v2179 .wps-card-v2179__title{-webkit-line-clamp:var(--wpsit-title-lines,2)!important;line-height:1.35!important}
.wps-items-v2179 .wps-card-v2179__excerpt{-webkit-line-clamp:var(--wpsit-excerpt-lines,3)!important;overflow-wrap:anywhere!important;word-break:break-word!important}
.wps-items-v2179 .wps-card-v2179__btn{white-space:normal!important;text-align:center!important;min-height:40px!important;line-height:1.25!important}
.wps-items-v2179.effect-overlay .wps-card-v2179__body,
.wps-items-v2179.effect-overlay_grayscale .wps-card-v2179__body{position:absolute!important;left:12px!important;right:12px!important;bottom:12px!important;max-height:calc(100% - 24px)!important;overflow:hidden!important;background:linear-gradient(180deg,rgba(15,23,42,.18),rgba(15,23,42,.86))!important;color:#fff!important}
.wps-items-v2179.effect-overlay :where(.wps-card-v2179__title,.wps-card-v2179__excerpt,.wps-card-v2179__meta,.wps-card-v2179__price),
.wps-items-v2179.effect-overlay_grayscale :where(.wps-card-v2179__title,.wps-card-v2179__excerpt,.wps-card-v2179__meta,.wps-card-v2179__price){color:#fff!important}

/* Category/news listing pages: stop two-column blocks from overflowing Flatsome UX Blocks. */
.wp-sync-news-page-v2033 :where(.wpsnp-wrap,.wpsnp2-wrap,.wpsnp3-wrap,.wpsnp-top,.wpsnp2-portal,.wpsnp-section-grid,.wpsnp2-grid,.wpsnp3-mix,.wpsnp-side-grid,.wpsnp-section-side,.wpsnp-products-list,.wpsnp-services){max-width:100%!important;min-width:0!important}
.wp-sync-news-page-v2033 :where(.wpsnp-card,.wpsnp-card__body,.wpsnp-product,.wpsnp-product__title){min-width:0!important;max-width:100%!important;overflow:hidden!important}
.wp-sync-news-page-v2033 :where(.wpsnp-card__img img,.wpsnp-noimg){width:100%!important;height:auto!important;max-width:100%!important;display:block!important;object-fit:cover!important}
.wp-sync-news-page-v2033 :where(.wpsnp-card p,.wpsnp-meta){overflow-wrap:anywhere!important;word-break:break-word!important}
.wp-sync-news-page-v2033 :where(.wpsnp-section-head,.wpsnp2-head,.wpsnp3-head){min-width:0!important;max-width:100%!important;gap:12px!important}
.wp-sync-news-page-v2033 :where(.wpsnp-section-head h2,.wpsnp2-head h1,.wpsnp3-head h1){min-width:0!important;overflow-wrap:anywhere!important}

/* Single post/news layout: article media, tables and sidebars stay inside content column. */
.wp-sync-news-v2032 :where(.wpsn1-wrap,.wpsn2-wrap,.wpsn1-layout,.wpsn2-layout,.wpsn1-left,.wpsn2-main,.wpsn1-right,.wpsn2-sidebar,.wpsn1-content,.wpsn2-article,.wpsn1-article){min-width:0!important;max-width:100%!important}
.wp-sync-news-v2032 :where(.wpsn1-article,.wpsn2-article){overflow-wrap:anywhere!important;word-break:normal!important}
.wp-sync-news-v2032 :where(.wpsn1-article img,.wpsn2-article img){max-width:100%!important;height:auto!important;display:block!important}
.wp-sync-news-v2032 :where(.wpsn1-article table,.wpsn2-article table){display:block!important;width:100%!important;max-width:100%!important;overflow-x:auto!important;white-space:normal!important}

/* Category tabs/pills: scroll horizontally, no text collision. */
.wps-childcats-v22515,
.wps-cat-tabs-v225105__tabs{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;overflow-y:hidden!important;max-width:100%!important;-webkit-overflow-scrolling:touch!important;scrollbar-width:none!important}
.wps-childcats-v22515::-webkit-scrollbar,.wps-cat-tabs-v225105__tabs::-webkit-scrollbar{display:none!important}
.wps-childcats-v22515__item,
.wps-cat-tabs-v225105__tab{flex:0 0 auto!important;white-space:nowrap!important;max-width:min(70vw,260px)!important;overflow:hidden!important;text-overflow:ellipsis!important;line-height:1.2!important}
.wps-cat-tabs-v225105{overflow:hidden!important;width:100%!important}
.wps-cat-tabs-v225105__panel{min-width:0!important;max-width:100%!important;overflow:hidden!important}

/* Compact item shortcode/form controls: no broken rows or overflowing values. */
.wp-sync-items-v1958{width:100%!important;max-width:100%!important;min-width:0!important;align-items:stretch!important}
.wp-sync-item-v1958{width:100%!important;min-width:0!important;max-width:100%!important;overflow:hidden!important;align-items:flex-start!important}
.wp-sync-item-v1958.is-badge,.wp-sync-item-v1958.is-inline{width:auto!important;max-width:100%!important}
.wp-sync-item-v1958__body,.wp-sync-item-v1958__value,.wp-sync-item-v1958__label{min-width:0!important;max-width:100%!important;overflow-wrap:anywhere!important;word-break:break-word!important}
:where(.wps-items-v2179,.wp-sync-news-page-v2033,.wp-sync-news-v2032,.wps-cat-tabs-v225105,.wps-shop-items-v2184) :where(input,select,textarea,button){max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
:where(.wps-items-v2179,.wp-sync-news-page-v2033,.wp-sync-news-v2032,.wps-cat-tabs-v225105,.wps-shop-items-v2184) :where(button,.button,input[type="button"],input[type="submit"],a.button){white-space:normal!important;line-height:1.25!important;text-align:center!important}

@media(max-width:1024px){
  .wps-items-v2179.is-grid .wps-items-v2179__grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .wp-sync-news-page-v2033 :where(.wpsnp-top,.wpsnp-section-grid,.wpsnp2-portal,.wpsnp3-mix){grid-template-columns:1fr!important}
}
@media(max-width:760px){
  .wps-items-v2179.is-grid .wps-items-v2179__grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}
  .wps-items-v2179.type-post.is-grid .wps-items-v2179__grid{grid-template-columns:1fr!important}
  .wps-items-v2179.is-list .wps-card-v2179,.wps-items-v2179.is-column .wps-card-v2179,.wps-items-v2179.is-horizontal .wps-card-v2179,.wps-items-v2179.is-full_slider .wps-card-v2179{display:flex!important;flex-direction:column!important}
  .wps-items-v2179.effect-overlay .wps-card-v2179__body,.wps-items-v2179.effect-overlay_grayscale .wps-card-v2179__body{position:relative!important;left:auto!important;right:auto!important;bottom:auto!important;max-height:none!important;color:var(--wpsit-text,#0f172a)!important;background:var(--wpsit-bg,#fff)!important}
  .wps-items-v2179.effect-overlay :where(.wps-card-v2179__title,.wps-card-v2179__excerpt,.wps-card-v2179__meta,.wps-card-v2179__price),.wps-items-v2179.effect-overlay_grayscale :where(.wps-card-v2179__title,.wps-card-v2179__excerpt,.wps-card-v2179__meta,.wps-card-v2179__price){color:var(--wpsit-text,#0f172a)!important}
  .wp-sync-news-page-v2033 :where(.wpsnp-side-grid,.wpsnp-section-side,.wpsnp2-grid,.wpsnp3-small,.wpsnp-products-list,.wpsnp-services){grid-template-columns:1fr!important}
  .wp-sync-news-v2032 :where(.wpsn1-layout,.wpsn2-layout,.wpsn1-hero,.wpsn2-hero){grid-template-columns:1fr!important}
}
@media(max-width:520px){
  .wps-items-v2179.is-row .wps-card-v2179,.wps-items-v2179.is-slider .wps-card-v2179{flex:0 0 84%!important;min-width:220px!important}
  .wps-items-v2179.type-post.is-row .wps-card-v2179,.wps-items-v2179.type-post.is-slider .wps-card-v2179{flex-basis:88%!important}
  .wps-items-v2179 .wps-card-v2179__body{padding:12px!important}
  .wps-items-v2179 .wps-card-v2179__title{font-size:14px!important;-webkit-line-clamp:2!important}
  .wps-items-v2179 .wps-card-v2179__excerpt{font-size:13px!important;-webkit-line-clamp:2!important}
  .wp-sync-items-v1958{grid-template-columns:1fr!important}
  .wp-sync-news-page-v2033 :where(.wpsnp-wrap,.wpsnp2-wrap,.wpsnp3-wrap){padding-left:10px!important;padding-right:10px!important}
  .wp-sync-news-page-v2033 :where(.wpsnp-card h3,.wpsnp2-card h3,.wpsnp3-card h3){font-size:14px!important}
}

/* v22.25.138 - Final card containment guard for related posts and all items shortcodes. */
.wp-sync-news-v2032 :where(.wpsn1-related,.wpsn2-related){
  width:100%!important;max-width:100%!important;min-width:0!important;height:auto!important;max-height:none!important;
  overflow:hidden!important;display:block!important;clear:both!important;
}
.wp-sync-news-v2032 :where(.wpsn1-related-grid,.wpsn2-related-grid){
  width:100%!important;max-width:100%!important;min-width:0!important;align-items:stretch!important;
}
.wp-sync-news-v2032 :where(.wpsn1-related-card,.wpsn2-related-card){
  min-width:0!important;max-width:100%!important;height:100%!important;overflow:hidden!important;position:relative!important;
}
.wp-sync-news-v2032 :where(.wpsn1-related-card>a,.wpsn2-related-card>a){
  display:flex!important;flex-direction:column!important;width:100%!important;max-width:100%!important;min-width:0!important;
  height:100%!important;overflow:hidden!important;position:static!important;line-height:normal!important;
}
.wp-sync-news-v2032 :where(.wpsn1-related-media,.wpsn2-related-media){
  display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;aspect-ratio:16/10!important;
  overflow:hidden!important;line-height:0!important;flex:0 0 auto!important;
}
.wp-sync-news-v2032 :where(.wpsn1-related-card strong,.wpsn2-related-card strong){
  position:static!important;float:none!important;width:auto!important;max-width:100%!important;min-width:0!important;
  white-space:normal!important;line-height:1.45!important;font-size:14px!important;margin:0!important;overflow:hidden!important;
}

html body .wps-items-v2179,
html body .wps-shop-items-v2184{
  display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;
  overflow:visible!important;clear:both!important;isolation:isolate!important;
}
html body .wps-items-v2179 .wps-items-v2179__grid,
html body .wps-shop-items-v2184 .wpss1-grid{
  width:100%!important;max-width:100%!important;min-width:0!important;align-items:stretch!important;
}
html body .wps-items-v2179 :where(.wps-card-v2179,.wps-card-v2179__body,.wps-card-v2179__image,.wps-card-v2179__title,.wps-card-v2179__excerpt,.wps-card-v2179__meta,.wps-card-v2179__actions),
html body .wps-shop-items-v2184 :where(.wpss1-product-card,.wpss1-card-image,.wpss1-card-body,.wpss1-card-title,.wpss1-card-price,.wpss1-pills,.wpss1-card-rating){
  min-width:0!important;max-width:100%!important;box-sizing:border-box!important;
}
html body .wps-items-v2179 .wps-card-v2179{
  position:relative!important;height:100%!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;
}
html body .wps-items-v2179 .wps-card-v2179__image{
  display:block!important;position:relative!important;width:100%!important;max-width:100%!important;height:auto!important;
  aspect-ratio:var(--wpsit-img-ratio,1/1)!important;overflow:hidden!important;line-height:0!important;flex:0 0 auto!important;
}
html body .wps-items-v2179 .wps-card-v2179__image img{
  display:block!important;position:static!important;width:100%!important;height:100%!important;max-width:100%!important;
  margin:0!important;border:0!important;object-fit:var(--wps-card-img-fit,contain)!important;
}
html body .wps-items-v2179.type-post .wps-card-v2179__image img{object-fit:cover!important;padding:0!important}
html body .wps-items-v2179 .wps-card-v2179__body{
  display:flex!important;flex:1 1 auto!important;flex-direction:column!important;position:relative!important;
  width:100%!important;max-width:100%!important;min-width:0!important;padding:15px!important;gap:9px!important;
  overflow:hidden!important;line-height:normal!important;background:var(--wpsit-bg,#fff)!important;
}
html body.single-post .entry-content .wps-items-v2179 .wps-items-v2179__head h2,
html body .wps-items-v2179 .wps-items-v2179__head h2{
  margin:0!important;padding:0!important;font-size:clamp(20px,2.3vw,32px)!important;line-height:1.2!important;font-weight:900!important;
}
html body.single-post .entry-content .wps-items-v2179 .wps-card-v2179__title,
html body .wps-items-v2179 .wps-card-v2179__title{
  display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:var(--wpsit-title-lines,2)!important;
  margin:0!important;padding:0!important;max-height:calc(1.38em * var(--wpsit-title-lines,2))!important;
  overflow:hidden!important;font-size:16px!important;line-height:1.38!important;font-weight:850!important;white-space:normal!important;
  overflow-wrap:anywhere!important;word-break:normal!important;
}
html body .wps-items-v2179 .wps-card-v2179__title a{display:block!important;color:inherit!important;line-height:inherit!important}
html body.single-post .entry-content .wps-items-v2179 .wps-card-v2179__excerpt,
html body .wps-items-v2179 .wps-card-v2179__excerpt{
  display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:var(--wpsit-excerpt-lines,3)!important;
  margin:0!important;padding:0!important;overflow:hidden!important;font-size:14px!important;line-height:1.55!important;
  color:var(--wpsit-muted,#64748b)!important;white-space:normal!important;overflow-wrap:anywhere!important;
}
html body.single-post .entry-content .wps-items-v2179 .wps-card-v2179__meta,
html body .wps-items-v2179 .wps-card-v2179__meta{
  margin:0!important;padding:0!important;font-size:12px!important;line-height:1.4!important;white-space:normal!important;
}
html body .wps-items-v2179 .wps-card-v2179__actions{margin-top:auto!important;overflow:visible!important}
html body .wps-items-v2179 .wps-card-v2179__btn{max-width:100%!important;min-width:0!important;white-space:normal!important;line-height:1.25!important}
html body .wps-items-v2179.is-row .wps-card-v2179,
html body .wps-items-v2179.is-slider .wps-card-v2179{height:auto!important;flex-shrink:0!important}
html body .wps-items-v2179.is-list .wps-card-v2179,
html body .wps-items-v2179.is-column .wps-card-v2179{height:auto!important}
html body .wps-items-v2179.is-list .wps-card-v2179__image,
html body .wps-items-v2179.is-column .wps-card-v2179__image{height:100%!important;aspect-ratio:auto!important}
html body .wps-items-v2179.effect-overlay .wps-card-v2179__body,
html body .wps-items-v2179.effect-overlay_grayscale .wps-card-v2179__body{
  position:absolute!important;left:12px!important;right:12px!important;bottom:12px!important;width:auto!important;
  max-height:calc(100% - 24px)!important;background:linear-gradient(180deg,rgba(15,23,42,.18),rgba(15,23,42,.88))!important;
}
@media(max-width:1024px){
  html body .wps-items-v2179.is-grid .wps-items-v2179__grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  html body .wps-shop-items-v2184 .wpss1-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .wp-sync-news-v2032 :where(.wpsn1-related-grid,.wpsn2-related-grid){grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:760px){
  html body .wps-items-v2179.is-grid .wps-items-v2179__grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
  html body .wps-items-v2179.type-post.is-grid .wps-items-v2179__grid{grid-template-columns:1fr!important}
  html body .wps-shop-items-v2184 .wpss1-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
  html body .wps-items-v2179.effect-overlay .wps-card-v2179__body,
  html body .wps-items-v2179.effect-overlay_grayscale .wps-card-v2179__body{
    position:relative!important;left:auto!important;right:auto!important;bottom:auto!important;width:100%!important;max-height:none!important;
    background:var(--wpsit-bg,#fff)!important;color:var(--wpsit-text,#0f172a)!important;
  }
}
@media(max-width:560px){
  .wp-sync-news-v2032 :where(.wpsn1-related-grid,.wpsn2-related-grid){grid-template-columns:1fr!important}
  html body .wps-items-v2179 .wps-card-v2179__body{padding:12px!important}
  html body .wps-items-v2179 .wps-card-v2179__title{font-size:14px!important}
  html body .wps-items-v2179 .wps-card-v2179__excerpt{font-size:13px!important}
}
