.elementor-3243 .elementor-element.elementor-element-acaec51{--display:flex;--flex-direction:row;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--justify-content:flex-start;--align-items:flex-start;--gap:30px 30px;--row-gap:30px;--column-gap:30px;}.elementor-3243 .elementor-element.elementor-element-8c09d70{--display:flex;--flex-direction:row;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--justify-content:flex-start;--align-items:flex-start;--gap:30px 30px;--row-gap:30px;--column-gap:30px;}.elementor-3243 .elementor-element.elementor-element-2bf665a{--display:flex;--flex-direction:column;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--justify-content:flex-start;--align-items:flex-start;}.elementor-3243 .elementor-element.elementor-element-5d5253d{--display:flex;}.elementor-3243 .elementor-element.elementor-element-c29f00a{text-align:center;}.elementor-3243 .elementor-element.elementor-element-c29f00a img{width:280px;}.elementor-3243 .elementor-element.elementor-element-b997905{--display:flex;}.elementor-3243 .elementor-element.elementor-element-32670cb{--display:flex;--flex-direction:column;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--justify-content:flex-start;--align-items:stretch;}.elementor-3243 .elementor-element.elementor-element-a24fcde.elementor-wc-products  ul.products{grid-column-gap:20px;grid-row-gap:40px;}.elementor-3243 .elementor-element.elementor-element-a24fcde.elementor-wc-products ul.products li.product span.onsale{display:block;}@media(min-width:768px){.elementor-3243 .elementor-element.elementor-element-2bf665a{--width:30%;}.elementor-3243 .elementor-element.elementor-element-32670cb{--width:70%;}}@media(max-width:1024px){.elementor-3243 .elementor-element.elementor-element-a24fcde.elementor-wc-products  ul.products{grid-column-gap:20px;grid-row-gap:40px;}}@media(max-width:767px){.elementor-3243 .elementor-element.elementor-element-a24fcde.elementor-wc-products  ul.products{grid-column-gap:20px;grid-row-gap:40px;}}/* Start custom CSS for shortcode, class: .elementor-element-85867fc */.pn-category-layout .cat-main-title-shortcode {
  text-align: center;
}

.pn-category-layout .cat-main-title-shortcode,
.pn-category-layout .cat-main-title-shortcode * {
  font-size: 35px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  line-height: 1.05 !important;
  color: #2d2d2d !important;
}
.pn-category-layout .left-side {
  text-align: center;
}/* End custom CSS */
/* Start custom CSS for image, class: .elementor-element-c29f00a */.hover-desc {
    position: absolute;
    left: 20px;
    bottom: 20px;
    background: white;
    padding: 12px;
    border-radius: 10px;
    opacity: 0;
    transition: 0.3s;
    width: 200px;
}

.elementor-3243 .elementor-element.elementor-element-c29f00a:hover .hover-desc {
    opacity: 1;
}/* End custom CSS */
/* Start custom CSS for container, class: .elementor-element-5d5253d */.pn-category-layout .left-image-wrap {
  position: relative;
  display: inline-block;
  width: fit-content;
  margin: 0 auto 18px;
}

.pn-category-layout .left-image-wrap .cat-desc {
  position: absolute;
  left: -70px;
  top: 60%;
  transform: translateY(-50%) translateX(-8px);
  width: 220px;
  padding: 18px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.96);
  box-shadow: 0 16px 28px rgba(0,0,0,.16);
  opacity: 0;
  visibility: hidden;
  transition: all .28s ease;
  z-index: 8;
}

.pn-category-layout .left-image-wrap:hover .cat-desc {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

.pn-category-layout .left-image-wrap .cat-desc p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #555;
}/* End custom CSS */
/* Start custom CSS for button, class: .elementor-element-8b61b65 */.pn-category-layout .cat-switcher .elementor-button {
  min-width: 220px;
  min-height: 58px;
  border-radius: 999px !important;
  background: #f5f4f7 !important;
  color: #242424 !important;
  font-size: 18px;
  font-weight: 700;
  padding: 14px 26px !important;
  border: 1px solid #dadce3 !important;
  box-shadow: 0 8px 18px rgba(0,0,0,.08);
  transition: all .25s ease;
}

.pn-category-layout .cat-switcher .elementor-button:hover {
  transform: translateY(-3px);
  background: #ffffff !important;
  color: #a61111 !important;
  box-shadow: 0 14px 24px rgba(0,0,0,.14);
}

body.term-diem-trang .pn-category-layout .btn-diemtrang .elementor-button {
  background: #ffffff !important;
  color: #111 !important;
  box-shadow: 0 12px 24px rgba(0,0,0,.12);
}

body.term-duong-nhan .pn-category-layout .btn-duongnhan .elementor-button {
  background: #ffffff !important;
  color: #111 !important;
  box-shadow: 0 12px 24px rgba(0,0,0,.12);
}/* End custom CSS */
/* Start custom CSS for button, class: .elementor-element-03963b3 */.pn-category-layout .cat-switcher .elementor-button {
  min-width: 220px;
  min-height: 58px;
  border-radius: 999px !important;
  background: #f5f4f7 !important;
  color: #242424 !important;
  font-size: 18px;
  font-weight: 700;
  padding: 14px 26px !important;
  border: 1px solid #dadce3 !important;
  box-shadow: 0 8px 18px rgba(0,0,0,.08);
  transition: all .25s ease;
}

.pn-category-layout .cat-switcher .elementor-button:hover {
  transform: translateY(-3px);
  background: #ffffff !important;
  color: #a61111 !important;
  box-shadow: 0 14px 24px rgba(0,0,0,.14);
}

body.term-diem-trang .pn-category-layout .btn-diemtrang .elementor-button {
  background: #ffffff !important;
  color: #111 !important;
  box-shadow: 0 12px 24px rgba(0,0,0,.12);
}

body.term-duong-nhan .pn-category-layout .btn-duongnhan .elementor-button {
  background: #ffffff !important;
  color: #111 !important;
  box-shadow: 0 12px 24px rgba(0,0,0,.12);
}/* End custom CSS */
/* Start custom CSS for container, class: .elementor-element-2bf665a */.pn-category-layout .left-side{
  position: sticky;
  top: 140px;
  align-self: flex-start;
}/* End custom CSS */
/* Start custom CSS for woocommerce-breadcrumb, class: .elementor-element-138efb5 *//* 1. Khung bao quanh & Chữ của TRANG HIỆN TẠI (In đậm, Đỏ mận) */
.elementor-3243 .elementor-element.elementor-element-138efb5 .woocommerce-breadcrumb {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #8a0000 !important;
    margin-bottom: 20px !important;
    padding-bottom: 12px !important;
    border-bottom: 1px dashed #e8c471 !important;
    text-transform: none !important;
}

/* 2. Các đường dẫn trước đó (Trang chủ, Danh mục... - Không in đậm) */
.elementor-3243 .elementor-element.elementor-element-138efb5 .woocommerce-breadcrumb a {
    color: #8a0000 !important;
    text-decoration: none !important;
    font-weight: 400 !important;
    transition: all 0.3s ease !important;
}

/* 3. Hiệu ứng khi rê chuột vào LINK (Chuyển sang Vàng đồng) */
.elementor-3243 .elementor-element.elementor-element-138efb5 .woocommerce-breadcrumb a:hover {
    color: #b38b22 !important;
}

/* 4. Dấu phân cách (Làm mờ đi để làm nổi bật chữ) */
.elementor-3243 .elementor-element.elementor-element-138efb5 .woocommerce-breadcrumb::after, 
.elementor-3243 .elementor-element.elementor-element-138efb5 .woocommerce-breadcrumb::before {
    color: #999999 !important;
    font-weight: 400 !important;
}/* End custom CSS */
/* Start custom CSS for container, class: .elementor-element-32670cb */.pn-category-layout .woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.pn-category-layout .woocommerce ul.products li.product {
    border-radius: 20px;
    padding: 15px;
    background: #f5f5f5;
}

.pn-category-layout .woocommerce ul.products li.product img {
    border-radius: 15px;
}

.pn-category-layout .right-side ul.products {
  align-items: stretch;
}

.pn-category-layout ul.products li.product {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* TÁCH 2 NÚT RA RÕ RÀNG */
.pn-category-layout ul.products li.product .button {
    margin-top: 12px !important;
}

.pn-category-layout ul.products li.product .pn-hover-buy {
    margin-top: 14px !important;
}


/* BỎ kéo giãn nội dung */
.pn-category-layout ul.products li.product .woocommerce-loop-product__title,
.pn-category-layout ul.products li.product .price {
  margin-bottom: 6px !important;
}

/* gom cụm nút sát nội dung */
.pn-category-layout ul.products li.product .button,
.pn-category-layout ul.products li.product .pn-buy-now-btn {
  margin-top: 5px !important;
    display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 40px;
  border-radius: 999px !important;
  font-size: 15px;
  font-weight: 600;
}


/* đảm bảo card không bị kéo cao vô lý */
.pn-category-layout ul.products li.product {
  height: auto !important;
}


.pn-category-layout .right-side {
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(220,220,220,0.8);
  border-radius: 34px;
  padding: 20px 20px 28px;
  box-shadow: 0 12px 34px rgba(0,0,0,0.08);
  position: relative;
}

.pn-category-layout .right-side ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px !important;
  margin: 0 !important;
}

.pn-category-layout .right-side ul.products li.product {
  position: relative;
  overflow: hidden;
  border-radius: 24px !important;
  background: #f5f5f6 !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
  transition: transform .28s ease, box-shadow .28s ease;
}


.pn-category-layout .right-side ul.products li.product:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px rgba(0,0,0,.12);
}

.pn-category-layout .right-side ul.products li.product img {
  border-radius: 18px !important;
}



/* HOVER SẢN PHẨM MỚI */
.pn-category-layout .right-side ul.products li.product {
  position: relative;
  overflow: hidden;
}

.pn-category-layout .right-side ul.products li.product img {
  transition: transform .35s ease;
}

.pn-category-layout .right-side ul.products li.product:hover img {
  transform: scale(1.05);
}

/* HIỆN NÚT ADD TO CART */
.pn-category-layout .right-side ul.products li.product > .button{
  display: inline-flex !important;
}
.pn-category-layout .right-side ul.products li.product .button{
  margin-top: 8px;
  width: 100%;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #AF2122, #8B0001) !important;
  color: #fff !important;
  font-weight: 600;
  box-shadow: 0 8px 14px rgba(139,0,1,0.2);
}

.pn-category-layout .right-side ul.products li.product .button:hover{
  background: linear-gradient(135deg, #8B0001, #AF2122) !important;
}



/* TẮT HOÀN TOÀN HOVER CŨ */
.pn-category-layout .right-side ul.products li.product .pn-hover-meta{
  display: none !important;
}

/* MÔ TẢ */
.pn-category-layout .right-side ul.products li.product .pn-hover-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #4a4a4a;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* NÚT MUA NGAY */
.pn-category-layout .right-side ul.products li.product .pn-hover-buy {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #991111 0%, #c21b1b 100%) !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  box-shadow: 0 10px 22px rgba(153,17,17,0.20);
}

.pn-category-layout .right-side ul.products li.product .pn-hover-buy:hover {
  background: linear-gradient(135deg, #7e0e0e 0%, #a61616 100%) !important;
  color: #fff !important;
}





/* KHUNG TRÊN CÙNG BÊN PHẢI */
.pn-category-layout .right-side .woocommerce-result-count {
  margin: 0 !important;
}

.pn-category-layout .right-side .woocommerce-ordering {
  margin: 0 !important;
  position: relative;
}

/* DROPDOWN SẮP XẾP */
.pn-category-layout .right-side .woocommerce-ordering select,
.pn-category-layout .right-side .orderby {
  min-width: 260px;
  height: 50px;
  padding: 0 46px 0 16px !important;
  border-radius: 16px !important;
  border: 1px solid rgba(150, 20, 20, 0.16) !important;
  background: #fff !important;
  color: #2f2f2f !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  box-shadow: 0 8px 18px rgba(0,0,0,0.06);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: none !important;
}

.pn-category-layout .right-side .woocommerce-ordering select::-ms-expand {
  display: none;
}

/* MŨI TÊN ĐẸP HƠN */
.pn-category-layout .right-side .woocommerce-ordering::after {
  content: "⌄";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-56%);
  color: #7a0a0a;
  font-size: 24px;
  line-height: 1;
  font-weight: 700;
  pointer-events: none;
}




/* CỤM LỌC GIÁ */
.pn-category-layout .pn-price-filter-bar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: absolute;
  left: -95px;
  top: 50px;
  z-index: 20;
  margin: 0 !important;
}

/* NÚT CHUNG */
.pn-category-layout .pn-price-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  min-height: 38px;
  padding: 8px 10px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(180,180,180,0.22);
  box-shadow: 0 8px 15px rgba(0,0,0,0.08);
  color: #333 !important;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none !important;
  transition: all .25s ease;
}

/* HOVER = ĐEN */
.pn-category-layout .pn-price-chip:hover {
  color: #111111 !important;
  transform: translateX(-3px);
  box-shadow: 0 12px 22px rgba(0,0,0,0.10);
}

/* ACTIVE = ĐỎ + TO HƠN */
.pn-category-layout .pn-price-chip.active {
  min-width: 98px;
  min-height: 42px;
  background: #ffffff;
  color: #7a0a0a !important;
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
  font-weight: 700;
}

/* BỎ LỌC */
.pn-category-layout .pn-price-reset {
  background: #f3f3f3;
}


.pn-category-layout ul.products li.product {
    position: relative;
    z-index: 1;
}

/* đảm bảo link + button luôn click được */
.pn-category-layout ul.products li.product a,
.pn-category-layout ul.products li.product button,
.pn-category-layout ul.products li.product input,
.pn-category-layout ul.products li.product .button {
    pointer-events: auto !important;
    position: relative;
    z-index: 5;
}

/* QUICK VIEW không được đè click */
.pn-category-layout .yith-wcqv-button {
    z-index: 50 !important;
    pointer-events: auto !important;
}

.pn-category-layout .right-side ul.products li.product a{
  position: relative;
  z-index: 2;
}

/* ĐẢM BẢO CLICK VÀO SẢN PHẨM */
.pn-category-layout .woocommerce ul.products li.product a.woocommerce-LoopProduct-link{
  position: relative;
  z-index: 2;
  display: block;
}


.pn-category-layout ul.products li.product img {
    position: relative;
    z-index: 1;
}

/* ẨN QUICK VIEW MẶC ĐỊNH (DƯỚI NÚT GIỎ) */
.pn-category-layout .yith-wcqv-button:not(.custom-qv){
  display: none !important;
}

/* ICON QUICK VIEW TRÊN ẢNH */
.pn-category-layout .product{
  position: relative;
}




/* HIỆN LẠI BUTTON THẬT NHƯNG ẨN */
.pn-category-layout .yith-wcqv-button{
  position: absolute;
  bottom: 38px;
  left: calc(50% + 0px) !important;

  width: 30px ;
  height: 40px;
  border-radius: 12px;

  background: rgba(255,255,255,0.95);

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  transition: all .05s ease;
  transform: translate(-50%, -280px) scale(0.8) !important;
  z-index: 999 !important;
  pointer-events: auto;
}



.pn-category-layout .product a.woocommerce-LoopProduct-link{
  position: relative;
}

.pn-category-layout .yith-wcqv-button{
  margin-top: 0 !important;
}

/* CHỈ KHI HOVER VÙNG ẢNH */
.pn-category-layout .product a.woocommerce-LoopProduct-link:hover .attachment-woocommerce_thumbnail{
  /* chỉ để đảm bảo hover ảnh */
}

.pn-category-layout ul.products li.product:hover .yith-wcqv-button {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translate(-50%, 0px) scale(1);
}

/* HOVER NGUYÊN CARD */
.pn-category-layout ul.products li.product:hover .yith-wcqv-button,

/* HOVER TRỰC TIẾP VÀO NÚT */
.pn-category-layout .yith-wcqv-button:hover{    
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto;

  transform: translate(-50%, 0px) scale(1) ;
}


body.tax-product_cat .woobt-wrap {
    display: none !important;
}

body .woobt-wrap,
.single-product .woobt-wrap,
.tax-product_cat .woobt-wrap {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* đảm bảo link & button luôn click được */
.pn-category-layout ul.products li.product a,
.pn-category-layout ul.products li.product button,
.pn-category-layout ul.products li.product input {
    pointer-events: auto !important;
    position: relative;
    z-index: 10;
}


/* ép product card không chặn click */
.pn-category-layout ul.products li.product {
    position: relative;
    z-index: 1;
}


.pn-category-layout ul.products li.product a.woocommerce-LoopProduct-link {
    position: relative;
    z-index: 2;
}

/* BUTTON LUÔN NỔI TRÊN LINK */
.pn-category-layout ul.products li.product .button,
.pn-category-layout ul.products li.product .pn-hover-buy {
    position: relative;
    z-index: 10;
}


.pn-category-layout ul.products li.product .button {
    margin-bottom: 8px !important;
}

.pn-category-layout ul.products li.product .pn-hover-buy {
    margin-top: 0 !important;
}


.pn-buy-now-btn{
    width: 100%;
    margin-top: 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, #AF2122, #8B0001);
    color: #fff;
    font-weight: 700;
    padding: 12px;
    border: none;
    cursor: pointer;
}

/* ẨN NÚT MUA NGAY CŨ (FAKE) */
.mua-ngay-boc,
.pn-hover-buy {
    display: none !important;
}


.pn-category-layout .pn-buy-now-btn{
    display: block;
    width: 100%;
    margin-top: 10px;
    border-radius: 999px;
    text-align: center;
    padding: 12px;
    background: linear-gradient(135deg, #AF2122, #8B0001);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.pn-category-layout .pn-buy-now-btn:hover{
    transform: translateY(-3px) !important;
    box-shadow: 0 14px 28px rgba(139, 0, 1, 0.25) !important;
    background: linear-gradient(135deg, #8B0001, #AF2122) !important;
}

/* HIỆU ỨNG ÁNH SÁNG */
.pn-category-layout .pn-buy-now-btn::before{
    content: "";
    position: absolute;
    top: 0;
    left: -80%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.5), transparent);
    transition: all 0.6s ease;
}


.woocommerce-message {
    position: relative;
    padding-right: 40px;
}

.woocommerce-message::after {
    content: "✕";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-weight: bold;
}

.pn-close{
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-weight: bold;
    pointer-events: auto;
    z-index: 9999;
}



/* icon animate nhẹ */
.pn-category-layout .yith-wcqv-button:hover::before{
  transform: scale(1.15);
  filter: drop-shadow(0 0 6px rgba(160,20,20,0.4));
}

/* ẨN SKU */
.yith-wcqv-main .product_meta .sku_wrapper {
    display: none !important;
}

/* ẨN TAG */
.yith-wcqv-main .product_meta .tagged_as {
    display: none !important;
}

/* TIÊU ĐỀ QUICK VIEW GIỐNG TRANG CHI TIẾT */
.yith-wcqv-main .product_title {
    font-family: 'Ysabeau Infant', serif !important;
    font-size: 32px !important;
    font-weight: 600 !important;
    color: #7a0a0a !important;
    line-height: 1.2;
}/* End custom CSS */
/* Start custom CSS for container, class: .elementor-element-8c09d70 */.elementor-3243 .elementor-element.elementor-element-8c09d70 {
  --left-col-width: 25%;
  --right-col-width: 75%;
  --card-radius: 22px;
  --soft-shadow: 0 10px 28px rgba(0,0,0,0.08);
  --soft-shadow-hover: 0 16px 36px rgba(0,0,0,0.12);
  --btn-bg: #f4f1f6;
  --btn-text: #2f2f2f;
  --accent: #a61111;
  --accent-2: #d84f7e;
  --panel-bg: rgba(255,255,255,0.72);
}

.pn-category-layout {
  width: 100%;
}

.pn-category-layout .left-side {
  max-width: 430px;
}


.pn-category-layout .left-side .elementor-heading-title {
  font-size: 52px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.pn-category-layout .left-side .elementor-image img {
  max-width: 250px;
  width: 100%;
  height: auto;
}

.pn-category-layout .left-side .elementor-image {
  margin-bottom: 8px !important;
}



/* KHUNG NGOÀI BÊN PHẢI */
.pn-category-layout .right-side {
  background: #ffffff !important;
  border: 1px solid rgba(220, 220, 220, 0.9);
  border-radius: 34px;
  padding: 20px 20px 26px 20px !important;
  box-shadow: 0 14px 34px rgba(0,0,0,0.06);
}

/* GRID BÊN TRONG KHÔNG ĂN NỀN VÀNG */
.pn-category-layout .right-side ul.products {
  background: transparent !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* TỪNG CARD SẢN PHẨM */
.pn-category-layout .right-side ul.products li.product {
  background: #f4f2f4 !important;
  border-radius: 20px !important;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  border: 1px solid rgba(235,235,235,0.9);
  transition: transform .25s ease, box-shadow .25s ease;
  padding: 20px 20px 10px 20px !important;
}

.pn-category-layout .right-side ul.products li.product img {
  height: 250px !important;
  object-fit: cover;
  object-position: center top;
  border-radius: 16px !important;
}

/* HOVER NHẸ CHO SANG */
.pn-category-layout .right-side ul.products li.product:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.10);
}

.pn-category-layout .right-side .woocommerce-result-count,
.pn-category-layout .right-side .woocommerce-ordering {
  margin-bottom: 18px;
}


.pn-category-layout .right-side ul.products li.product .woocommerce-loop-product__title,
.pn-category-layout .right-side ul.products li.product h2 {
  font-size: 19px !important;
  line-height: 1.3 !important;
  min-height: 42px;
  margin-top: 10px !important;
  margin-bottom: 2px !important;
}

.pn-category-layout .right-side ul.products li.product .price {
  font-size: 16px !important;
}

.pn-category-layout .right-side ul.products li.product .button {
  font-size: 15px !important;
  padding: 12px 18px !important;
}


/* ẨN TITLE MẶC ĐỊNH CỦA WOO/THEME */
.pn-category-layout .woocommerce-products-header__title,
.pn-category-layout .page-title,
.pn-category-layout h1.page-title,
.pn-category-layout .archive-title {
  display: none !important;
}
/* TITLE BÊN TRÁI */
.pn-category-layout .cat-main-title-shortcode,
.pn-category-layout .cat-main-title-shortcode * {
  text-align: center !important;
  width: 100%;
  color: #7a0a0a !important;
  font-size: 35px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  line-height: 1.05 !important;
  margin-bottom: 20px !important;
}

.pn-category-layout .woocommerce-products-header {
  display: none !important;
}



/* KHỐI 2 NÚT */
.pn-category-layout .cat-switcher {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-top: -40px;
  padding-left: 0;
}

/* NÚT CHUNG */
.pn-category-layout .cat-switcher .elementor-button {
  min-width: 185px;
  min-height: 46px;
  padding: 10px 22px !important;
  border-radius: 999px !important;
  border: none !important;
  background: transparent !important;
  color: #2f2f2f !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  box-shadow: none !important;
  transition: all .25s ease;
  text-align: left;
}

/* HOVER NHẸ */
.pn-category-layout .cat-switcher .elementor-button:hover {
  color: #111111 !important;
  transform: translateX(2px);
}

/* NÚT ĐANG CHỌN - ĐIỂM TRANG */
body.term-diem-trang .pn-category-layout .btn-diemtrang .elementor-button {
  background: #f8f8f8 !important;
  color: #7a0a0a !important;
  box-shadow: 0 6px 16px rgba(0,0,0,0.10) !important;
  min-width: 175px;
  min-height: 44px;
}

/* NÚT ĐANG CHỌN - DƯỠNG NHAN */
body.term-duong-nhan .pn-category-layout .btn-duongnhan .elementor-button {
  background: #ffffff !important;
  color: #7a0a0a !important;
  box-shadow: 0 6px 16px rgba(0,0,0,0.10) !important;
  min-width: 195px;
  min-height: 48px;
}

/* CĂN CHỮ TRONG NÚT */
.pn-category-layout .cat-switcher .elementor-button-content-wrapper {
  justify-content: center;
}

/* KHỐI SẮP XẾP */
.pn-category-layout .right-side .woocommerce-ordering {
  margin: 0 0 18px auto !important;
  display: flex;
  justify-content: flex-end;
}

/* SELECT SẮP XẾP */
.pn-category-layout .right-side .woocommerce-ordering select,
.pn-category-layout .right-side .orderby {
  min-width: 280px;
  height: 52px;
  padding: 0 48px 0 18px !important;
  border-radius: 16px !important;
  border: 1px solid rgba(180,180,180,0.35) !important;
  background: #ffffff !important;
  color: #2f2f2f !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}

/* MŨI TÊN GIẢ */
.pn-category-layout .right-side .woocommerce-ordering {
  position: relative;
}

.pn-category-layout .right-side .woocommerce-ordering::after {
  content: "⌄";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-54%);
  font-size: 22px;
  color: #7a0a0a;
  pointer-events: none;
}

/* HOVER + FOCUS */
.pn-category-layout .right-side .woocommerce-ordering select:hover,
.pn-category-layout .right-side .woocommerce-ordering select:focus {
  border-color: rgba(122,10,10,0.28) !important;
  box-shadow: 0 12px 26px rgba(0,0,0,0.10);
  outline: none !important;
}

/* KHỐI SẮP XẾP */
.pn-category-layout .right-side .woocommerce-ordering {
  margin: 0 0 18px auto !important;
  display: flex;
  justify-content: flex-end;
}

/* SELECT SẮP XẾP */
.pn-category-layout .right-side .woocommerce-ordering select,
.pn-category-layout .right-side .orderby {
  min-width: 280px;
  height: 45px;
  padding: 0 45px 0 15px !important;
  border-radius: 13px !important;
  border: 1px solid rgba(180,180,180,0.35) !important;
  background: #ffffff !important;
  color: #2f2f2f !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}

/* MŨI TÊN GIẢ */
.pn-category-layout .right-side .woocommerce-ordering {
  position: relative;
}

.pn-category-layout .right-side .woocommerce-ordering::after {
  content: "⌄";
  position: absolute;
  right: 16px;
  top: 40%;
  transform: translateY(-54%);
  font-size: 20px;
  color: #7a0a0a;
  pointer-events: none;
}

/* HOVER + FOCUS */
.pn-category-layout .right-side .woocommerce-ordering select:hover,
.pn-category-layout .right-side .woocommerce-ordering select:focus {
  border-color: rgba(122,10,10,0.28) !important;
  box-shadow: 0 12px 26px rgba(0,0,0,0.10);
  outline: none !important;
}

/*HIHIHIHIHI*/

/* ===== KHUNG BÊN PHẢI (NÂNG CẤP) ===== */
.pn-category-layout .right-side{
  background: rgba(255,255,255,0.75) !important;
  border: 1px solid rgba(175,33,34,0.15);
  box-shadow: 0 16px 40px rgba(139,0,1,0.10);
}

/* ===== CARD SẢN PHẨM ===== */
.pn-category-layout .right-side ul.products li.product{
  background: #FFFFFF !important;
  border: 1px solid rgba(175,33,34,0.12);
  box-shadow: 0 10px 26px rgba(139,0,1,0.08);
}

/* Hover sang hơn */
.pn-category-layout .right-side ul.products li.product:hover{
  box-shadow: 0 18px 42px rgba(139,0,1,0.18);
}

/* ===== HIỆU ỨNG ÁNH VÀNG (LUXURY) ===== */
/* ===== GOLD BORDER LUXURY ===== */
.pn-category-layout .right-side ul.products li.product{
  position: relative;
  z-index: 1;
}

.pn-category-layout .right-side ul.products li.product::after{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 1.5px; /* độ dày viền */
  background: linear-gradient(135deg, #FFF18D, #FEF0B7, #FFF18D);
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .3s ease;
}

.pn-category-layout .right-side ul.products li.product:hover::after{
  opacity: 1;
}

/* ===== TIÊU ĐỀ SẢN PHẨM ===== */
.pn-category-layout .right-side ul.products li.product h2{
  color: #8B0001 !important;
  font-weight: 700;
}

/* ===== GIÁ ===== */
.pn-category-layout .right-side ul.products li.product .price{
  color: #AF2122 !important;
  font-weight: 700;
}

/* ===== NÚT MUA ===== */
.pn-category-layout .pn-hover-buy{
  background: linear-gradient(135deg, #AF2122, #8B0001) !important;
  box-shadow: 0 12px 24px rgba(139,0,1,0.25);
}

.pn-category-layout .pn-hover-buy:hover{
  background: linear-gradient(135deg, #8B0001, #AF2122) !important;
}

/* ===== DROPDOWN SẮP XẾP ===== */
.pn-category-layout .right-side .woocommerce-ordering select{
  border: 1px solid rgba(175,33,34,0.25) !important;
  box-shadow: 0 10px 22px rgba(139,0,1,0.08);
}

/* ===== MŨI TÊN ===== */
.pn-category-layout .right-side .woocommerce-ordering::after{
  color: #8B0001;
}

/* ===== FILTER GIÁ (CHIP) ===== */
.pn-category-layout .pn-price-chip{
  border: 1px solid rgba(175,33,34,0.2);
  background: #FFFFFF;
}

/* Hover */
.pn-category-layout .pn-price-chip:hover{
  color: #8B0001 !important;
}

/* Active */
.pn-category-layout .pn-price-chip.active{
  background: linear-gradient(135deg, #FFF18D, #FEF0B7);
  color: #8B0001 !important;
  box-shadow: 0 10px 20px rgba(139,0,1,0.15);
}

/* ===== NÚT BÊN TRÁI ===== */
.pn-category-layout .cat-switcher .elementor-button{
  color: #8B0001 !important;
}

/* Active button */
body.term-diem-trang .pn-category-layout .btn-diemtrang .elementor-button,
body.term-duong-nhan .pn-category-layout .btn-duongnhan .elementor-button{
  background: linear-gradient(135deg, #FFF18D, #FEF0B7) !important;
  color: #8B0001 !important;
  box-shadow: 0 10px 20px rgba(139,0,1,0.15) !important;
}

/* ===== BOX MÔ TẢ TRÁI ===== */
.pn-category-layout .left-image-wrap .cat-desc{
  border: 1px solid rgba(175,33,34,0.2);
  background: rgba(255,255,255,0.95);
}

/* ===== TITLE CHÍNH ===== */
.pn-category-layout .cat-main-title-shortcode{
  color: #8B0001 !important;
  letter-spacing: 1px;
}

/* ===== MOBILE: ÉP NHỎ TỐI ĐA ===== */
@media (max-width: 767px){

  /* GRID 2 CỘT GỌN */
  .pn-category-layout .products{
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 6px;
  }

  /* CARD SIÊU GỌN */
  .pn-category-layout .product{
    padding: 2px;
  }

  /* ẢNH */
  .pn-category-layout .product img{
    border-radius: 6px;
  }

  /* TÊN SẢN PHẨM */
  .pn-category-layout .woocommerce-loop-product__title{
    font-size: 10px !important;
    line-height: 1.2;
    height: 30px;
    overflow: hidden;
    margin: 4px 0;
  }

  /* GIÁ */
  .pn-category-layout .price{
    font-size: 12px !important;
    margin: 2px 0;
  }

  /* NÚT MUA */
  .pn-category-layout .button{
    font-size: 10px !important;
    padding: 4px 6px !important;
    border-radius: 16px;
  }

  /* NÚT LỌC + SẮP XẾP */
  .pn-category-layout button,
  .pn-category-layout select{
    font-size: px !important;
    padding: 4px 6px !important;
    border-radius: 16px;
  }

  /* NÚT BỘ LỌC */
  .pn-category-layout .bofilter,
  .pn-category-layout .filter-button{
    font-size: 11px !important;
    padding: 4px 8px !important;
  }

  /* DROPDOWN */
  .pn-category-layout .woocommerce-ordering select{
    font-size: 11px !important;
    padding: 4px 6px !important;
  }

}


/* ===== FIX CỨNG CỘT TRÁI ===== */
.pn-category-layout .left-side{
  position: fixed;
  top: 140px;
  left: 0; /* THÊM DÒNG NÀY */
  margin-left: 45px;
  width: 340px;
  z-index: 10;
}

/* ĐẨY NỘI DUNG PHẢI SANG */
.pn-category-layout .right-side{
  margin-left: 425px; /* nên > width 1 chút */
}
/* FIX CHA PHÁ STICKY */
.elementor-section,
.elementor-container,
.elementor-column,
.elementor-widget-wrap {
  overflow: visible !important;
}

/* ĐẢM BẢO KHÔNG GIỚI HẠN CHIỀU CAO */
.elementor-column,
.elementor-widget-wrap {
  height: auto !important;
}/* End custom CSS */