@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//sellaz.net/wp-content/themes/woodmart/fonts/woodmart-font-1-400.woff2?v=8.3.9") format("woff2");
}

@font-face {
	font-family: "star";
	font-weight: 400;
	font-style: normal;
	src: url("//sellaz.net/wp-content/plugins/woocommerce/assets/fonts/star.eot?#iefix") format("embedded-opentype"), url("//sellaz.net/wp-content/plugins/woocommerce/assets/fonts/star.woff") format("woff"), url("//sellaz.net/wp-content/plugins/woocommerce/assets/fonts/star.ttf") format("truetype"), url("//sellaz.net/wp-content/plugins/woocommerce/assets/fonts/star.svg#star") format("svg");
}

@font-face {
	font-family: "WooCommerce";
	font-weight: 400;
	font-style: normal;
	src: url("//sellaz.net/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.eot?#iefix") format("embedded-opentype"), url("//sellaz.net/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.woff") format("woff"), url("//sellaz.net/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.ttf") format("truetype"), url("//sellaz.net/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.svg#WooCommerce") format("svg");
}

:root {
	--wd-text-font: "Inter", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(26,26,26);
	--wd-text-font-size: 16px;
	--wd-title-font: "Roboto", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 700;
	--wd-title-color: rgb(0,0,0);
	--wd-entities-title-font: "Roboto", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 700;
	--wd-entities-title-color: rgb(26,26,26);
	--wd-entities-title-color-hover: rgb(68, 68, 68);
	--wd-alternative-font: "Roboto", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Roboto", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 700;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: rgb(26,26,26);
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Roboto", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 500;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 13px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(26,159,73);
	--wd-alternative-color: rgb(251,176,59);
	--btn-default-bgcolor: rgb(255,233,3);
	--btn-default-bgcolor-hover: rgb(129,215,66);
	--btn-accented-bgcolor: rgb(26,159,73);
	--btn-accented-bgcolor-hover: rgb(0,142,2);
	--wd-form-brd-width: 2px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: rgb(203,32,39);
	--notices-warning-color: #fff;
	--wd-link-color: rgb(42,100,150);
	--wd-link-color-hover: rgb(153,153,153);
	--wd-sticky-btn-height: 95px;
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 450px;
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: rgb(79,79,79);
	background-image: none;
}
html .page-title > .container > .title, html .page-title .wd-title-wrapp > .title {
	font-family: "Roboto", Arial, Helvetica, sans-serif;
	font-weight: 500;
	font-size: 12px;
	text-transform: uppercase;
}
.page .wd-page-content {
	background-color: rgb(244,243,242);
	background-image: none;
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}

@media (max-width: 1024px) {
	:root {
		--wd-sticky-btn-height: 95px;
	}

}

@media (max-width: 768.98px) {
	:root {
		--wd-sticky-btn-height: 42px;
	}

}
:root{
--wd-container-w: 1222px;
--wd-form-brd-radius: 0px;
--btn-default-color: #fff;
--btn-default-color-hover: #fff;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 0px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-default-box-shadow-active: none;
--btn-default-bottom: 0px;
--btn-accented-bottom-active: -1px;
--btn-accented-brd-radius: 0px;
--btn-accented-box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .15);
--btn-accented-box-shadow-hover: inset 0 -2px 0 rgba(0, 0, 0, .15);
--wd-brd-radius: 0px;
}

@media (min-width: 1222px) {
section.elementor-section.wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}


.wd-page-title {
background-color: rgb(255,255,255);
}

/* BACKGROUND PAGE */
.woocommerce-cart .main-page-wrapper, .woocommerce-checkout .main-page-wrapper{
	background-color: #FFFFFF !important;
}
/*Thay đổi size menu price details */
.wd-menu-price .menu-price-details { font-size: 90% !important;} 
.info-box-content h4 {height: 55px !important; line-height: 55px !important;}
.wd-menu-price .menu-price-price {font-size: 15px !important; }
/*TOP BAR LEFT */
.wd-nav-secondary>li>a {text-transform: none !important;}
/* MAIN MENU LEFT 
.wd-nav[class*="wd-style-"] {
    --nav-color: #333;
    --nav-color-hover: var(--wd-primary-color);
    --nav-color-active: var(--wd-primary-color);
		--nav-chevron-color: rgba(82, 82, 82, .45);
}
*/
/* SUB COLOR */
.wd-sub-menu {
    --sub-menu-color: #333;
}

/* TAB OF CONTENT */
#ez-toc-sticky-container ul li {
  line-height: 2.0 !important;
}
#ez-toc-sticky-container a {
	font-size: 15px !important;
} 
/* AUTHOR BLOG POST*/
.saboxplugin-wrap .saboxplugin-authorname {
	font-weight: bold !important;
	text-transform: uppercase !important;
}
/* HIDE POST DATE*/
.post-date {
 display: none !important;
}

/* BLOG TEXT-ALIGN: JUSTIFY */
.post-single-page .article-body-container {
	text-align: justify !important;
}
/* MENU RENT POS MACHINE - POS REFURBISHED*/
#menu-rent-pos-machine>li{
	background: #1a9f49;
}
#menu-refurbished-pos>li{
	background: #0d569d;
}
#menu-rent-pos-machine > li,
#menu-refurbished-pos > li {
    border-radius: 5px;
    transition: background-color 0.3s ease; /* mượt hơn khi hover */
}
#menu-refurbished-pos>li:hover{
	background: #0a3a69;
}
#menu-rent-pos-machine>li:hover{
	background: #2F4938;
}
#menu-rent-pos-machine > li > a,
#menu-refurbished-pos > li > a {
    padding: 5px 20px;
    color: #FFFFFF;
}

/* DevVN Woocommerce Reviews */
#comments a.btn-reviews-now {
	background-color: #1a9f49;
}
span.devvn_num_reviews {
  color: #1a9f49;
}
.woocommerce #review_form #respond p.form-submit input#submit
{
  background-color: #1a9f49;
}
span.btn-attach {
	color: #1a9f49;
}
/* End DevVN Woocommerce Reviews */

	/* STICKY SCROLL MENU */ 
/* THUÊ MÁY POS BÁN HÀNG PAGE */
/* CSS dùng chung cho cả hai menu sticky */
.sticky-menu {
    position: fixed;
		top: 0;
    left: 0;
    transition: all 0.5s ease-in-out;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Tùy chỉnh riêng cho từng trang */
.sticky_cho_thue, .sticky_tan_trang {
    top: 15px;
    height: 105px;
    background: #F4F3F2;
}

.sticky_giay_in_nhiet {
    top: 65px; /* Mặc định cho mobile và tablet */
    height: 50px;
    background: #FFFFFF;
    box-shadow: none;
}

/* Thay đổi top khi ở màn hình desktop (>= 1024px) */
@media (min-width: 1024px) {
		.sticky_cho_thue, .sticky_tan_trang {
			top: 45px;
		}
    .sticky_giay_in_nhiet {
        top: 100px;
    }
}
/*END STICKY SCROLL MENU */ 

 /*Thay đổi màu ô input Đặt mua - Giấy in  nhiệt */ 
.paper-type>option{
	background-color: #FFFFFF;
}
#delivery-date{
	background-color: #F2E77C;
}
/* BUTTON mua ngay */
.btn-mua-ngay a{
	background-color: #e44234;
	font-size: 12px !important;
	padding: 10px 10px 9px 10px;
	outline: .14em dashed red !important;
	outline-offset: .2em;
}
/* POPUP QUICK BUY */
/* Icon nút sổ xuống */
body .popup-customer-info-group select {
    -webkit-appearance: auto;
    -moz-appearance: auto;
    appearance: auto;
}
.devvn-popup-quickbuy table.variations {
	margin: 10px 0 !important;
}
/* Hiện chữ Số lượng */
.devvn_prod_variable .quantity .screen-reader-text {
    clip-path: none !important;
    transform: unset !important;
    top: 12px;
}
/* Fix lỗi messenger Coupon */
body .quickbuy_coupon_mess ul, .quickbuy_coupon_mess .woocommerce-message {
    padding: 10px 10px 10px 50px !important;
    min-height: auto !important;
}

/* Fix lỗi che nút thanh toán */
.le-van-toan .mfp-content {
    overflow-y: auto;
    overflow-x: hidden;
}

/* END POPUP QUICK BUY */

/* Css cho nút mua ngay ở trang chi tiết sản phẩm: */
a.devvn_buy_now_style { background: #e44234; }

/* GIFT CARDS PAGE */
.gift-cards img{ border-radius: .75rem; }
/* ĐỔI MÀU BACKGROUND SELECT TỈNH THÀNH CF7 */
span.wpcf7-form-control-wrap select option {
    background: #fff;
}
/* CONTACT FORM 7 - INPUT DATE */
input[type="date"].wpcf7-form-control {
    background-color: #FFFFFF !important; /* Đổi màu nền */
}
html:not(.browser-Firefox) [class*="color-scheme-light"] input[type='date'] {
    background-image: url('https://sellaz.net/wp-content/uploads/2025/02/calendar.svg') !important;
		background-size: auto 20px;
}
label {
    color: inherit !important;
}

/* PAGE - CHECKOUT */
body #billing_address_2_field>label[class*="screen-reader"], 
body #shipping_address_2_field>label[class*="screen-reader"] {   
    transform: scale(1) !important;
    margin-bottom: 5px !important;
}

/* PAGE - SHOP */
/* Nút choose Options */
[class*="wd-swatches"].wd-text-style-4 .wd-swatch.wd-text:is(.wd-active,:hover:not(.wd-disabled)), [class*="wd-swatches"].wd-text-style-4 :is(.wd-swatch-wrap a:hover,.wd-swatch-wrap.wd-active) .wd-swatch.wd-text {
		border-color: #1a9f49 !important;
    background-color: #1a9f49 !important; /* Đổi màu nền */
}
/* PAGE - BẢO HÀNH */
/* Hạn bảo hành -> Ngày còn lại */
.devvn_bh_col>strong {color: red;}

/* PAGE - BLOG */
/* Ẩn icon ngày viết Blog */
.blog-design-masonry.has-post-thumbnail .wd-post-date {
    display: none !important;
}

/* ========================================
   FORM ĐĂNG NHẬP / ĐĂNG KÝ - SELLAZ (FINAL)
   ======================================== */

/* Đăng nhập / Đăng ký*/
.wd-header-my-account .wd-tools-text {text-transform: none !important;}

/* Bố cục 2 cột cân đối */
.wd-grid-f-col {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 40px;
}

/* Hai khối chính */
.wd-grid-f-col .col-login,
.wd-grid-f-col .col-register {
  flex: 1;
  background-color: #f8f9f9;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

/* Nền riêng cho form Đăng ký */
.wd-grid-f-col .col-register {
  background-color: #eaf9ee;
}

/* Tiêu đề form */
.wd-login-title {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 25px;
  text-transform: uppercase;
}

/* Ô input */
.wd-grid-f-col input.input-text {
  width: 100%;
  border: 1px solid #dcdcdc;
  border-radius: 6px;
  padding: 10px 14px;
  background-color: #fff;
  transition: all 0.25s ease;
}
.wd-grid-f-col input.input-text:focus {
  border-color: #1a9f49;
  box-shadow: 0 0 0 1px #1a9f49;
  outline: none;
}

/* Nút (Đăng nhập / Đăng ký) */
.wd-grid-f-col button.button,
.wd-grid-f-col button.woocommerce-button {
  background-color: #1a9f49 !important;
  color: #fff !important;
  font-weight: 600;
  border-radius: 6px !important;
  padding: 12px 24px;
  width: 100%;
  text-transform: uppercase;
  transition: background-color 0.25s ease;
}
.wd-grid-f-col button.button:hover,
.wd-grid-f-col button.woocommerce-button:hover {
  background-color: #138a3d !important;
}

/* Chính sách bảo mật */
.woocommerce-privacy-policy-text p {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  margin-top: 15px;
  margin-bottom: 20px;
}
.woocommerce-privacy-policy-link {
  color: #1a9f49;
  text-decoration: none;
  font-weight: 500;
}
.woocommerce-privacy-policy-link:hover {
  text-decoration: underline;
}

/* =============================
   KHỐI "GHI NHỚ" & "QUÊN MẬT KHẨU"
   ============================= */
.login-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}

/* Cụm Ghi nhớ */
.login-form-footer .woocommerce-form__label-for-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  cursor: pointer;
  order: 1;
}
.login-form-footer input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #1a9f49;
}
.login-form-footer .woocommerce-form__label-for-checkbox span {
  font-size: 14px;
  color: #333;
}

/* Link Quên mật khẩu */
.login-form-footer a {
  color: #1a9f49;
  font-weight: 500;
  text-decoration: none;
  order: 2;
}
.login-form-footer a:hover {
  text-decoration: underline;
}

/* Xóa <br> thừa */
.login-form-footer br {
  display: none !important;
}

/* Responsive cho mobile */
@media (max-width: 768px) {
  .wd-grid-f-col {
    flex-direction: column;
    gap: 20px;
  }
  .wd-grid-f-col .col-login,
  .wd-grid-f-col .col-register {
    width: 100%;
    padding: 30px 20px;
    box-shadow: none;
  }
  .wd-grid-f-col .col-register {
    border-top: 1px solid #eee;
    margin-top: 20px;
  }
}


/* ==============================
   SCROLL-X CONTAINER
   ============================== */

/* ===== Wrapper scroll cho mobile ===== */
.scroll-x {
  position: relative;
  display: block;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
}

/* ===== Table ===== */
.scroll-x table {
  width: 100%;   /* Desktop: full 100% */
  border-collapse: collapse;
}

/* ====== MOBILE MODE ====== */
@media (max-width: 768px) {
  .scroll-x table {
    width: auto;         /* Mobile: trả về auto để tạo scroll */
    min-width: 720px;    /* hoặc 600 / 800 tùy số cột */
    white-space: nowrap;
  }

  .scroll-x th,
  .scroll-x td {
    white-space: nowrap; /* Giữ thẳng hàng khi cuộn */
  }
}


/* ==============================
   FEATURE BOX ITEM
   ============================== */
.feature-box {
  transition: all 0.3s ease;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transform: translateY(0);
}

.feature-box:hover {
  transform: translateY(-8px);
}

/* =============================
   CSS STICKY TOC TOÀN SITE – SELLAZ
   ============================= */
/* TOC chính trong trang */
.toc {
  background: #f8f9f9;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 60px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.toc h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  border-left: 4px solid #1a9f49;
  padding-left: 10px;
  color: #222;
}

.toc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 20px;
}

.toc-item {
  display: block;
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  text-decoration: none;
  border: 1px solid #e5e7eb;
  transition: all 0.25s ease;
  overflow: visible; /* FIX Safari không bị cắt bóng */
}

.toc-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border-color: #1a9f49;
}

.toc-item h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.toc-item p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

/* Responsive TOC */
@media (max-width: 768px) {
  .toc {
    padding: 0;
  }

  .toc-grid {
    grid-template-columns: 1fr;
  }
}

/* =============================
   Sticky TOC (Sellaz Style)
   ============================= */
.sticky-toc {
  position: fixed;
  left: 20px;
  top: 50%;
  /* KHÔNG đặt transform cố định ở đây, để JS control */
  background: #ffffff;
  padding: 16px 20px;
  height: auto; /* Chiều cao auto */
  width: 220px;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  z-index: 90;
  opacity: 0;
  visibility: hidden; /* thêm để ẩn đúng nghĩa */
  transition: opacity 0.3s ease, transform 0.3s ease, width 0.25s ease;
  border: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
}
/* Màn hình laptop */
@media (max-width: 1600px) {
  .sticky-toc {
    padding: 12px 10px;
    width: 170px;
    left: 0;
    /* Đừng override transform ở đây */
  }
}

/* Tiêu đề Sticky TOC */
.sticky-toc-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  height: 40px; /* Chiều cao cố định */
  min-height: 40px;
  max-height: 40px;
  color: #1a9f49;
  border-bottom: 1px solid #e5e7eb;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0 0 8px 0;
}

/* Danh sách */
#sticky-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly; /* Phân bố đều các items */
}

#sticky-toc li {
  margin: 0;
  height: 38px; /* Chiều cao cố định cho mỗi item */
  min-height: 38px;
  max-height: 38px;
  display: flex;
  align-items: center;
}

/* Link */
#sticky-toc a {
   text-decoration: none;
   color: #6b7280;
   font-size: 14px;
   transition: all 0.3s;
   display: flex;
   align-items: center;
   width: 100%;
   height: 100%;
}

/* Icon trong expanded state */
#sticky-toc .toc-icon {
  margin-right: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  min-width: 20px;
}

/* Text trong expanded state */
#sticky-toc .toc-text {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* FIX: Active highlight ở sticky + floating */
#sticky-toc a.active,
#sticky-toc a:hover,
.toc-float-panel a.active {
  color: #1a9f49;
  font-weight: 600;
  border-left: 3px solid #1a9f49;
  padding-left: 6px;
}

/* Ẩn sticky TOC trên mobile */
@media (max-width: 991px) {
  #sticky-toc {
    display: none !important;
  }
}

/* ======================================
   FLOATING TOC – Mobile / Tablet
   ====================================== */

/* Icon nổi */
.toc-floating {
  position: fixed;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  z-index: 999999;
  display: none;
  pointer-events: auto;
}

@media (max-width: 991px) {
  .toc-floating {
    display: block;
  }
}

/* Title panel */
.toc-float-title {
  font-size: 17px;
  font-weight: 600;
  color: #1a9f49;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e5e7eb;
}

/* Icon bubble */
.toc-float-btn {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #ffffff, #f8f8f8);
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #1a9f49;
  cursor: pointer;
  transition: transform .25s ease;
}

/* Xoay icon */
.toc-float-btn.rotate {
  transform: rotate(180deg);
}

/* Panel mở */
.toc-float-panel {
  position: fixed;
  top: calc(50% - 100px);
  left: 50px;
  transform: translateY(-50%);
  width: 260px;
  max-height: 70vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  padding: 16px;
  display: none;
  z-index: 1000000; /* cao hơn sticky */
}

.toc-float-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.toc-float-panel li {
  margin: 10px 0;
}

.toc-float-panel a {
  text-decoration: none;
  color: #333;
  font-size: 15px;
  transition: all 0.25s ease;
}

/* =============================
   COLLAPSE STICKY TOC
============================= */

/* Nút thu gọn (trạng thái EXPANDED) */
.toc-collapse-btn {
  position: absolute;
  top: 10px;
  right: -10px;
  width: 30px;
  height: 30px;
  background: #fff;
  border-radius: 50%;
  border: 1px solid #e5e7eb;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .25s ease;
  z-index: 10;
}

/* Icon SVG trong nút */
.toc-collapse-btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s ease;
}

/* Xoay icon 180° khi collapse */
.sticky-toc.collapsed .toc-collapse-btn svg {
  transform: rotate(180deg);
}

/* Thu panel khi collapse */
.sticky-toc.collapsed {
  width: 52px !important;
  padding: 12px 8px;
  overflow: hidden;
}

/* Ẩn title + text khi collapse */
.sticky-toc.collapsed .sticky-toc-title,
.sticky-toc.collapsed .toc-text {
  display: none !important;
}

/* Đưa nút collapse vào trong flow (thay vì position absolute) */
.sticky-toc.collapsed .toc-collapse-btn {
  position: relative !important;
  top: 0 !important;
  right: 0 !important;
  width: 30px !important;
  height: 30px !important;
  min-height: 30px !important;
  max-height: 30px !important;
  margin: 0 auto 10px auto !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

/* Fix chiều cao item – đồng bộ với expanded state */
.sticky-toc.collapsed li {
  margin: 0 !important;
  padding: 0 !important;
  height: 38px !important; /* Cùng chiều cao với expanded */
  min-height: 38px !important;
  max-height: 38px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

/* Reset link – không border-left, không padding-left */
.sticky-toc.collapsed a {
  padding: 0 !important;
  border: none !important;
  line-height: 1 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* Icon thu gọn – canh giữa hoàn hảo */
.sticky-toc.collapsed .toc-icon {
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

/* Wrapper cho list items khi collapsed */
.sticky-toc.collapsed ul {
  flex: 1;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-evenly !important; /* Phân bố đều giống expanded */
}

/* ============================================================
   TOOLTIP NỘI DUNG CHO TỪNG ICON (collapsed mode)
============================================================ */
.sticky-toc li a {
  position: relative;
}
/* Hover tooltip */
.toc-hover-tooltip {
  position: absolute;
  left: 35px;
  top: 50%;
  transform: translateY(-50%);
  background: #000;
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  opacity: 0;
  visibility: hidden;
  font-size: 13px;
  white-space: nowrap;
  pointer-events: none;
  transition: all .25s ease;
  z-index: 9999;
}

/* Mũi tên */
.toc-hover-tooltip::after {
  content: "";
  position: absolute;
  left: -6px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: transparent #000 transparent transparent;
}

/* Hover khi collapsed → hiện tooltip */
.sticky-toc.collapsed li a:hover .toc-hover-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(5px);
}

/* Khi expanded → disable tooltip */
.sticky-toc:not(.collapsed) .toc-hover-tooltip {
  display: none !important;
}

/* Panel phải cho phép tooltip tràn ra */
div#sticky-toc.sticky-toc.collapsed {
  overflow: visible !important;
}

/* Từng item cũng phải cho phép tràn */
div#sticky-toc.sticky-toc.collapsed li a {
  position: relative !important;
  overflow: visible !important;
  z-index: 20;
}


/* =====================================
   TITLE ANIMATION DÙNG CLASS .expanded
===================================== */

/* Title mặc định: ẩn, chờ expanded */
.sticky-toc .sticky-toc-title {
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity .28s ease, transform .28s ease;
}

/* Khi TOC ở state expanded → hiện mượt */
.sticky-toc.expanded .sticky-toc-title {
  opacity: 1;
  transform: translateX(0);
}


/* =============================
   YITH - Product Add-ons & Extra Options
   ============================= */
body.postid-30655 form.cart .button + .button {
    margin: 0 10px;
}
.addon-header {
    display: none !important;
}
/* ĐỔI STYLE IMAGE PHỤ KIỆN ===== */
.yith-wapo-addon:not(.yith-wapo-addon-type-label) .yith-wapo-option .image img {
    max-width: 40%;
    max-height: 200px;
}
/* STYLE BẢNG TỔNG TIỀN YITH – SELLAZ ===== */
#wapo-total-price-table {
    border-radius: 10px;
    margin: 0px 0 10px;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
#wapo-total-price-table table {
	margin-bottom: 0px;
	line-height: 23px;
}
#wapo-total-price-table table th {
    text-align: left;
    font-weight: 500;
    font-size: 16px;
    color: #1A1A1A;
    padding: 6px 0;
}

#wapo-total-price-table table td {
    text-align: right;
    font-weight: 700;
    font-size: 16px;
    padding: 6px;
}

#wapo-total-price-table .wapo-total-order td {
    font-size: 16px;
}

#wapo-total-price-table .wapo-total-order th {
    font-weight: 700;
}
/* Nếu có border ở td/th thì xóa luôn */
#wapo-total-price-table table.all th,
#wapo-total-price-table table.all td {
    border: none !important;
}

/* Ẩn YITH Add-ons CHỈ trong sticky add to cart của Woodmart */
.wd-sticky-btn-shown #yith-wapo-container {
    display: none !important;
}

/* ============================================================
    CSS NÚT SHARE LINK 
============================================================ */
.variant-share {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f5f5f5;
    padding: 7px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    transition: all 0.25s ease;
    position: relative;
    user-select: none;
    border: 1px solid #e0e0e0;
}

.variant-share:hover {
    background: #e9f7ef;
    color: #1a9f49;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(26,159,73,0.15);
}

.variant-share:active {
    transform: scale(0.97);
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

/* Tooltip mặc định (ẩn) */
.variant-share .share-tooltip {
    position: absolute;
    bottom: calc(100% + 5px);
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    pointer-events: none;
}

/* Hiển thị tooltip khi copied */
.variant-share.copied .share-tooltip {
    opacity: 1;
    visibility: visible;
}

.variant-share i {
    font-size: 14px;
    transition: color 0.25s ease;
}

.variant-share .share-text {
    transition: color 0.25s ease;
}

/* ============================================================
    TOGGLE XEM THÊM... - PRODUCT PAGES
============================================================ */
.semantic-expand {
    max-width: 100%;
    position: relative;
    font-size: 16px;
    line-height: 1.6;
}

.semantic-content {
    max-height: 110px; /* Hiển thị khoảng 3 dòng */
    overflow: hidden;
    transition: max-height .3s ease;
    position: relative;
}

/* Hiệu ứng fade cuối đoạn */
.semantic-content::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
    transition: opacity .3s ease;
}

/* Khi mở rộng – bỏ mờ */
.semantic-expand.active .semantic-content {
    max-height: 2000px; /* đủ lớn */
}

.semantic-expand.active .semantic-content::after {
    opacity: 0;
}

.semantic-toggle {
    cursor: pointer;
    display: inline-block;
    margin-top: 8px;
    padding: 6px 14px;
    border-radius: 24px;
    background: #f3f4f6;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 15px;
    color: #333;
}

/* Hover hiệu ứng Material UI */
.semantic-toggle:hover {
    background: #e4e7eb;
    transform: translateY(-1px);
}

/* Active – giống nút bấm */
.semantic-expand.active .semantic-toggle {
    background: #1a9f49;
    color: #fff;
}

/* ==========================================
   CTA Section cho trang danh mục "MÁY POS" 
   ========================================== */
/* ==========================================
   2 NÚT Chưa chọn được thiết bị POS phù hợp?
   ========================================== */
/* Container tổng */
.wd-term-desc .sellaz-cta-section {
    text-align: center;
    padding: 32px 0;
    border-top: 1px solid #eee;
    margin-top: 32px;
}

/* Tiêu đề CTA */
.wd-term-desc .sellaz-cta-title {
    font-size: 17px;
    font-weight: 500;
    margin: 0 0 18px;
}

/* Wrapper chứa nút */
.wd-term-desc .sellaz-cta-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: nowrap; /* Đổi thành wrap nếu muốn nút xuống hàng ở mobile */
}
/* Tự động xuống hàng trên mobile */
@media (max-width: 768px) {
    .sellaz-cta-wrapper {
        flex-wrap: wrap !important;
    }
}

/* Style chung cho nút */
.wd-term-desc .sellaz-cta-wrapper a {
    display: inline-block;
    padding: 10px 20px;
    line-height: 1.5;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
    text-decoration: none;
    transition: all 0.25s ease;
}

/* Nút chính */
.wd-term-desc .sellaz-cta-primary {
    background: #1a9f49;
    color: #fff;
}

/* Nút viền */
.wd-term-desc .sellaz-cta-outline {
    background: transparent;
    color: #1a9f49;
    border: 1px solid #1a9f49;
}

/* Hover */
.wd-term-desc .sellaz-cta-wrapper a:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Xóa phần tử gây rớt dòng */
.wd-term-desc br {
    display: none !important;
}
.wd-term-desc p:empty {
    display: none !important;
}
/* ==========================================
   3 NÚT TRÊN DESCRIPTION / CATEGORY "MÁY POS"
   ========================================== */
/* Sellaz link mini CTA */
.sellaz-type-links {
    display: flex;
    gap: 12px;
    margin: 12px 0px;
}

.sellaz-link-mini {
    background: #f5f5f5;
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none !important;
    color: #1a9f49;
    font-size: 13px;
    border: 1px solid #e0e0e0;
    transition: all .25s ease;
}

.sellaz-link-mini:hover {
    background: #e9f7ef;
    color: #1a9f49;
    border-color: #1a9f49;
}
.sellaz-group-title {
    font-size: 15px;
    margin-bottom: 4px;
    font-weight: 500;
}

/* Thu nhỏ padding trên màn cực nhỏ để không bị dài */
@media (max-width: 480px) {
    .sellaz-type-links a {
        padding: 8px !important;
    }
}@media (min-width: 1025px) {
	/* HIDE ICON PHONE VR ON DESKTOP */
#phone-vr{
	display: none;
}

/* CHANGE SIZE TITLE BLOG POST */
.blog-design-masonry .post-title {
  font-size: 18px !important;
}
}

@media (min-width: 577px) and (max-width: 767px) {
	/*Thay đổi size menu price details */
.wd-menu-price .menu-price-title {flex: 1 1 576px !important;}

}

@media (max-width: 576px) {
	.wd-menu-price {flex-direction: row !important;}
.wd-menu-price .menu-price-image {margin-right: 10px !important;}
/* MENU RENT POS MACHINE */
#menu-rent-pos-machine>li>a{padding: 0px 4px !important; font-size: 12px; min-height: 35px;}
#menu-refurbished-pos>li>a {padding: 0px 3px !important; font-size: 12px; min-height: 35px;}
#menu-rent-pos-machine, #menu-refurbished-pos {--nav-gap: 10px !important;}

/* Page Thuê máy POS bán hàng - Cách làm thanh menu đứng yên khi scroll chuột */ 
.sticky_cho_thue, .sticky_tan_trang {top:0 ; height:120px;}
/* Page Giấy in nhiệt - Cách làm thanh menu đứng yên khi scroll chuột */ 
.sticky_giay_in_nhiet {height: 110px; background: #FFFFFF; opacity:100%;}

/* POPUP QUICK BUY */
/* Decription biến thể */
.devvn_prod_variable .single_variation_wrap {
	margin-top: 30px;
}
}

