/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
/* Font chữ toàn website */


/* Các thành phần text */
body :where(
    p, a, li, label,
    h1, h2, h3, h4, h5, h6,
    strong, b, em, small,
    td, th
) {
    font-family: 'UTM Avo', sans-serif !important;
}

/* Font Awesome 7 Pro */
body :where(
    .fa,
    .fas,
    .far,
    .fal,
    .fat,
    .fad,
    .fab,
    .fass,
    .fasr,
    .fasl,
    .fa-solid,
    .fa-regular,
    .fa-light,
    .fa-thin,
    .fa-duotone,
    .fa-brands,
    .fa-sharp,
    .fa-sharp-solid,
    .fa-sharp-regular,
    .fa-sharp-light,
    .fa-sharp-thin
) {
    font-family: "Font Awesome 7 Pro" !important;
}
.padding-bottom0 > .col{
    padding-bottom:0
}
/* ===== Ảnh góc trái / phải của sản phẩm ===== */
.product-small .box-image { position: relative; padding-top: 32px;}
.product-side-img {
  position: absolute;
 
  transform: translateY(-50%);

  z-index: 3;
  pointer-events: none;
  padding: 8px;
}
.product-side-img img { width: 100%; height: auto; display: block; }
.product-side-img--left  { left: 0; width: 100px;    top: 15%;}
.product-side-img--right { right: 0;   width: 60px;    top: 10%;}

/* ===== Độc quyền online + Thương hiệu ===== */
.product-meta-top { display: flex; flex-direction: column; gap: 2px; margin-bottom: 4px;align-items: center; }
.product-exclusive {
  font-size: 12px;
 

  color: white;
  line-height: normal;
  background: var(--primary-color);
  padding: 2px 5px;
  width: fit-content;
  border-radius: 5px;
}
.product-brand {
  font-size: 12px;
  font-weight: 600;
  color: #000000;

  line-height: normal;
}

/* ===== Màu biến thể ===== */
.product-swatches {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* đổi thành flex-start nếu box-text căn trái */

  margin-top: 8px;
}
.box-text.text-left .product-swatches { justify-content: flex-start; }

.product-swatch {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
width: 20px;
  height: 20px;
  
 
  overflow: visible;
  background: white;
  box-sizing: border-box;
   border-radius: 50%;
  
  
}
.product-swatch-item{
    overflow: hidden;
     width: 28px;
  height: 28px;
padding: 3px;
 border: 1px solid #ddd;
 margin: 4px 2px 8px 2px;
 border-radius: 50%;
     display: flex;
    justify-content: center;
    align-items: center;
}
.product-swatch-item:hover{
    border-color: black;
}
.product-swatch img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.product-swatch--text { font-size: 12px; color: #555; }

/* Dấu + và tooltip */
.product-swatch--more {
  font-size: 16px;
      line-height: 1px !important;
  color: #333;
  text-decoration: none;
  cursor: pointer;
  height: 6px;
}
.product-swatch--more::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #222;
  color: #fff;
  font-size: 12px;
  padding: 5px 9px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity .15s;
  z-index: 10;
}
.product-swatch--more::before {
  content: "";
  position: absolute;
  bottom: calc(100% + 3px);
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #222;
  opacity: 0;
  visibility: hidden;
  transition: opacity .15s;
  z-index: 10;
}
.product-swatch--more:hover::after,
.product-swatch--more:hover::before { opacity: 1; visibility: visible; }

/* ===== Hover màu -> đổi ảnh đại diện ===== */
.product-swatch[data-product-img] { cursor: pointer; transition: border-color .15s; }
.product-swatch.is-active,
.product-swatch[data-product-img]:hover { border-color: #222; }
/* Ẩn ảnh thứ 2 (back image) của Flatsome khi đang xem ảnh màu */
.product-small.is-swatch-active .back-image { opacity: 0 !important; }
.product-small .product-title a{
    font-size: 13px;
}
.product-small .price{
        display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 5px;
    font-size: 12px;
}
.product-small .price span.amount{
    font-size: 12px;
    
}
span.amount{
    color: red;
}
del span.amount{
    color: #9e9fa1;
}
.product-small .price-wrapper{
    display: flex;
    flex-direction: row;
    gap: 5px;
    align-items: center;
    justify-content: center;
}
.product-discount{
    background: var(--primary-color);
    color: white;
    font-weight: 700;
    border-radius: 5px;
    font-size: 12px;
        padding: 2px 4px;
        justify-content: center;
        align-items: center;
        line-height: normal;
}
/* Dấu + và tooltip */
.product-swatch--more {
  font-size: 16px;
  line-height: 1;
  color: #333;
  text-decoration: none;
  cursor: pointer;
}
.product-swatch[data-tip]::after,
.product-swatch[data-tip]::before { content: none !important; } /* tooltip nay do JS vẽ, không bị theme cắt */
 
/* Tooltip tên màu (gắn vào <body>, position: fixed) */
.product-swatch-tooltip {
  position: fixed;
  z-index: 99999;
  background: white;
  color: black;
  font-size: 11px;
  line-height: normal;
  padding: 5px 9px;
  border-radius: 4px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity .12s;
      box-shadow: rgba(0, 0, 0, 0.5) 1px 1px 5px;
}
.product-swatch-tooltip.is-visible { opacity: 1; visibility: visible; }
.product-swatch-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border: 5px solid transparent;
  border-top-color: white;
      
}
 
/* ===== Hover màu -> đổi ảnh đại diện ===== */
.product-swatch[data-product-img] { cursor: pointer; transition: border-color .15s; }
.product-swatch.is-active,
.product-swatch[data-product-img]:hover { border-color: #222; }
/* Ẩn ảnh thứ 2 (back image) của Flatsome khi đang xem ảnh màu */
.product-small.is-swatch-active .back-image { opacity: 0 !important; }

.sec1-footer .row .col{
            flex-basis: 20%;
        max-width: 20%;

}
.sec1-footer img{
    height: 95px;
    opacity: 0.6;
}
.sec1-footer img:hover{
    opacity: 1;
}
.sec1-footer{
    border-top: 1px solid #a2a2a2;
}
.text-sec2-footer p{
    margin-bottom: 10px;
    line-height: normal;
}
.text2-sec2-footer p{
     margin-bottom: 0;
     line-height: normal;
}
.row-sec2-footer{
    justify-content: space-between;
    width: 100%;
    max-width: calc(100% - 80px);
}
.row-sec2-footer > .col{
    padding: 0;
}
.row-sec2-footer .cot1{
    flex-basis: 34% !important;
        max-width: 34% !important;
}
.row-sec2-footer .cot2{
    flex-basis: 10% !important;
        max-width: 10% !important;
}
.row-sec2-footer .cot3{
    flex-basis: 24% !important;
        max-width: 24% !important;
}
.row-sec2-footer .cot4{
    flex-basis: 32% !important;
        max-width: 32% !important;
}
.sec2-footer img{
    height: 45px;
    width: auto;
}
.sec2-footer .box-image{
    margin: 0;
}
.row-sec2-footer:afer{
    display: none;
}
.row-sec2-footer .social-icons{
    display: flex;
    align-items: center;
}
.row-sec2-footer .social-icons a,.category-breadcrumb p{
    margin-bottom:0
}
.row-sec2-footer .social-icons span{
    text-wrap: nowrap;
}
/* =========================================================
   BREADCRUMB RANK MATH (full width, nằm trên banner)
   ========================================================= */
.category-breadcrumb {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  background: #ededed;          /* đổi / xoá nếu không muốn nền */
  padding: 10px 0;
  font-size: 13px;
}
.bc-sp{
    padding: 12px  16px !important;
}
.single-product .rank-math-breadcrumb p{
    margin-bottom: 0;
    font-size: 12px;
        color: #9e9fa1;
}
.category-breadcrumb .col{
    padding-bottom: 0 !important;

}
.category-breadcrumb .col-inner { padding-bottom: 0; }
.category-breadcrumb .rank-math-breadcrumb,
.category-breadcrumb .woocommerce-breadcrumb { margin: 0; color: #666; }
.category-breadcrumb .rank-math-breadcrumb a,
.category-breadcrumb .woocommerce-breadcrumb a { color: #333; }
.category-breadcrumb .rank-math-breadcrumb a:hover,
.category-breadcrumb .woocommerce-breadcrumb a:hover { color: #d0021b; }
.category-breadcrumb .rank-math-breadcrumb .separator { margin: 0 6px; }

/* =========================================================
   BANNER ĐẦU TRANG DANH MỤC (nằm trong container)
   ========================================================= */
.category-banner { margin-bottom: 10px; line-height: 0; }
.category-banner img { width: 100%; height: auto; display: block; }

/* =========================================================
   SIDEBAR + BỘ LỌC [product_filter]
   ========================================================= */
.pf-sidebar-box {
  border: 1px solid #ddd;
  background: #fff;
  padding: 18px 16px 8px;
  margin-bottom: 20px;
}
.pf-filter { font-size: 13px; }
.pf-group { margin-bottom: 8px; }
.pf-title {
  font-size: 17px;
  font-weight: 400;
  color: #333;
  margin: 18px 0 14px;
}
.pf-group:first-child .pf-title { margin-top: 0; }

/* Ô tích vuông (hành vi chọn 1 do JS xử lý) */
.pf-filter .pf-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 14px;
  cursor: pointer;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.35;
  color: #111;
}
.pf-filter .pf-check input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin: 0;
  border: 1px solid #333;
  border-radius: 2px;
  background: #fff;
  position: relative;
  cursor: pointer;
  box-shadow: none;
}
.pf-filter .pf-check input[type="checkbox"]:checked { background: #111; }
.pf-filter .pf-check input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Kích thước: 2 cột */
.pf-group--size .pf-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 10px;
}

/* Dropdown thương hiệu */
.pf-filter .pf-select {
  width: 100%;
  background-color: #eee;
  border: 0;
  box-shadow: none;
  font-size: 13px;
  margin: 0 0 6px;
}

/* Màu sắc */
.pf-colors { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.pf-filter .pf-color {
  width: 28px;
  height: 28px;
  min-height: 0;
  padding: 0;
  margin: 0;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, .25);
  background-clip: padding-box;
  cursor: pointer;
  font-size: 12px;
  line-height: 1;
  color: #555;
  background-color: #f3f3f3;
  box-shadow: none;
  text-transform: none;
}
.pf-filter .pf-color:hover { border-color: #111; }
.pf-filter .pf-color.is-active { box-shadow: 0 0 0 2px #fff, 0 0 0 3px #111; }

/* =========================================================
   THANH "BẠN ĐANG XEM" + SẮP XẾP
   ========================================================= */
.category-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 11px;
  text-transform: uppercase;
  color: #666;
}
.category-toolbar__crumb { display: flex; align-items: center; gap: 4px; }
.category-toolbar .woocommerce-ordering { margin: 0; }
.category-toolbar .woocommerce-ordering select {
  margin: 0;
  font-size: 11px;
  text-transform: uppercase;
  border: 0;
  background-color: transparent;
  box-shadow: none;
  padding-right: 20px;
  text-align: right;
}

/* =========================================================
   NÚT "XEM THÊM SẢN PHẨM"
   ========================================================= */
.load-more-wrap { margin: 25px 0 10px; }
.js-load-more.is-loading { opacity: .6; pointer-events: none; }
/* Ẩn phân trang mặc định khi dùng nút Xem thêm */
.has-load-more .woocommerce-pagination,
.has-load-more ul.page-numbers { display: none; }

.category-toolbar__current { color: #111; }

/* =========================================================
   NÚT "BỘ LỌC" (mobile) + NGĂN KÉO TRƯỢT TỪ PHẢI
   ========================================================= */
.category-toolbar__actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.category-toolbar--filter-only { justify-content: flex-end; }
.category-toolbar--filter-only .category-toolbar__actions { margin-left: 0; }

.category-filter-toggle {
  display: none;               /* chỉ hiện trên mobile/tablet */
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  min-height: 0;
  background: none;
  border: 0;
  box-shadow: none;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: #111;
  cursor: pointer;
  line-height: 1;
}
.title-brand .section-title-normal span{
    font-size: 12px;
       padding-top: 10px;
    margin-bottom: 10px;
    color: #9e9fa1;
    border-bottom: 0;
    font-weight: 300;

}

.title-brand .section-title-container{
    margin-bottom: 0 ;
}

.title-brand .section-title{
    border-bottom: 1px solid #ececec;
}
@media (max-width: 849px) {
  .category-filter-toggle { display: inline-flex; }
  .category-toolbar--filter-only { display: flex; }
}
/* Desktop: toolbar "chỉ có nút lọc" thì ẩn hẳn */
@media (min-width: 850px) {
  .category-toolbar--filter-only { display: none; }
}

.pf-drawer {
  position: fixed;
  inset: 0;
  z-index: 100000;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s linear .3s;   /* đợi trượt xong mới ẩn */
}
.pf-drawer.is-open {
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}
.pf-drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .5);
  opacity: 0;
  transition: opacity .3s ease;
}
.pf-drawer.is-open .pf-drawer__overlay { opacity: 1; }
.pf-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 85%;
  max-width: 360px;
  background: #fff;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .3s ease;
  box-shadow: -4px 0 16px rgba(0, 0, 0, .15);
}
.pf-drawer.is-open .pf-drawer__panel { transform: translateX(0); }
.pf-drawer__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid #eee;
}
.pf-drawer__head strong { flex: 1; font-size: 16px; }
.pf-drawer__reset { font-size: 12px; color: #d0021b; text-decoration: underline; }
.pf-drawer .pf-drawer__close {
  margin: 0;
  padding: 0 4px;
  min-height: 0;
  background: none;
  border: 0;
  box-shadow: none;
  font-size: 28px;
  line-height: 1;
  color: #333;
  cursor: pointer;
}
.pf-drawer__body { flex: 1; overflow-y: auto; padding: 16px; -webkit-overflow-scrolling: touch; }
body.pf-drawer-open { overflow: hidden; }

.pf-empty { margin: 0 0 12px; font-size: 12px; color: #999; font-style: italic; }

/* =========================================================
   LỌC BẰNG AJAX (không reload trang)
   ========================================================= */
.category-main { position: relative; }
.category-main.is-filtering > * { opacity: .4; transition: opacity .15s; pointer-events: none; }
.category-main.is-filtering::after {
  content: "";
  position: absolute;
  top: 140px;
  left: 50%;
  width: 34px;
  height: 34px;
  margin-left: -17px;
  border: 3px solid #ddd;
  border-top-color: #111;
  border-radius: 50%;
  animation: pf-spin .7s linear infinite;
  z-index: 5;
}
@keyframes pf-spin { to { transform: rotate(360deg); } }

.pf-drawer__foot { padding: 12px 16px; border-top: 1px solid #eee; }
.pf-drawer__foot .button { margin: 0; width: 100%; }


.shop-page-title {
    display: none;
}
.sec-menuthuonghieu .col-inner{
    display: flex;
    justify-content: center;
    align-items: center;
}
.sp-menu .product-meta-top,.sp-menu .price-wrapper,.sp-menu .product-swatches,.sp-menu .product-side-img{
    display: none ;
}
.sp-menu .product-title a{
    font-weight: 700;
}
.menu-sp a{
    padding: 20px 10px;
}
.header-bottom .container{
    width: 1100px !important;
 
    
}

.menu-sp {
    border-right: 1px solid #ddd;
}
.header-bottom-nav > li > a{
    font-size: 13px;
    font-weight: 300;
}
.header-bottom-nav i{
    display: none;
}

.lug-search-page {
    padding-top: 0 !important;
}
.product-small .box-text{
    display: flex;
    flex-direction: column;
    justify-content: end;
}
.header-cart-link{
    display: flex;
    flex-direction: column-reverse;
}
.header-cart-title{
    font-weight: 300;
    font-size: 12px;
    text-transform: none;
    color: black;
}
.icon-shopping-basket:before {
    content: "";
    display: inline-block;
    width: 25px;
    height: 25px;
    background-image: url('/wp-content/uploads/2026/10/icon-cart.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.text-gioithieu{
    max-width: 50%;
}
.text-gioithieu2 h2{
        display: block;
    width: 100%;
    text-align: center;
    font-size: 50px;
    margin: 40px 0;
}
.text-gioithieu2 .text-sin{
        font-size: 100px;
  
   
    line-height: 145px;
}
.text-gioithieu2 p{
    margin-bottom: 0;
}
.row-2-gioithieu{
    margin-top: 30px;
}
.row-3footer {
        padding-top: 60px;
    padding-bottom: 60px;
    margin-top: 60px;
    margin-bottom: 60px;
    position: relative;

}

.row-3footer::before,
.row-3footer::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 3px;
    background: #000;
}

.row-3footer::before {
    top: 0;
}

.row-3footer::after {
    bottom: 0;
}
.text-cuoi-gioithieu{
        
    position: relative;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    background: var(--primary-color);
        z-index: 2;
    margin-left: -20px;
        padding: 20px;
}
.text-cuoi-gioithieu p{
    margin-bottom: 0;
}
.sec-camket {
    padding-top: 10px;
}
.sec-camket .row{
        padding: 20px 0 8px 0;
            text-align: center;
    font-size: 10px;
   
    border-top: 1px solid #9e9fa1;
    border-bottom: 1px solid #9e9fa1;
    margin-bottom: 40px;
}
.sec-camket .row .col{
        border-left: 1px solid #ededed;
}
.sec-camket .row .col:last-child{
    border-right: 1px solid #ededed;
}



.lgsp{--red:#e30613;--ink:#111;--muted:#666;--line:#e3e3e3;position:relative;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:40px;align-items:start;color:var(--ink);font-size:14px;line-height:1.45}
.lgsp *{box-sizing:border-box}
.lgsp button{font-family:inherit;cursor:pointer}

/* ---------- Ảnh bên trái ---------- */
.lgsp-stage{position:relative;background:#fff;display:flex;align-items:center;justify-content:center;overflow:hidden;touch-action:pan-y}
.lgsp-main{max-width:86%;max-height:92%;width:auto;height:auto;object-fit:contain;transition:opacity .2s}
.lgsp-main.is-swap{opacity:0}
.lgsp-corner{position:absolute;top:0;width:76px;height:auto;z-index:2;pointer-events:none}
.lgsp-corner-l{left:0}
.lgsp-corner-r{right:0}
.lgsp-nav{position:absolute;top:50%;transform:translateY(-50%);width:26px;height:30px;border:0;border-radius:2px;background:rgba(0,0,0,.14);color:#2b6fe0;font-size:13px;line-height:1;padding:0;z-index:3;display:flex;align-items:center;justify-content:center}
.lgsp-nav:hover{background:rgba(0,0,0,.25)}
.lgsp-nav[disabled]{opacity:.35;cursor:default}
.lgsp-prev{left:0}
.lgsp-next{right:0}

.lgsp-thumbs{display:flex;gap:14px;margin-top:14px;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}
.lgsp-thumbs::-webkit-scrollbar{display:none}
.lgsp-thumb{flex:0 0 calc((100% - 56px) / 5);aspect-ratio:1/1.1;padding:4px;border:1px solid transparent;background:#fff;border-radius:2px;display:flex;align-items:center;justify-content:center}
.lgsp-thumb img{max-width:100%;max-height:100%;object-fit:contain}


.lgsp.no-slide .lgsp-nav,.lgsp.no-slide .lgsp-thumbs{display:none}

/* ---------- Thông tin bên phải ---------- */
.lgsp-title{margin:0 0 8px;font-size:28px;font-weight:400;line-height:1.25;color:var(--ink)}
.lgsp-brand{font-size:14px;color:var(--muted);margin-bottom:10px}
.lgsp-brand strong{color:var(--ink)}
.lgsp-price{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.lgsp-now{font-size:20px;font-weight:700;color:var(--red)}
.lgsp-old{font-size:12px;color:#999}
.lgsp-off{background:var(--primary-color);color:#fff;font-size:13px;font-weight:700;padding:1px 6px;border-radius:5px;    line-height: 19px;}
.lgsp-save{font-size:14px;color:var(--muted);margin:14px 0 14px}
.lgsp-save em{font-style:italic;color:var(--red)}
.lgsp-old:empty,.lgsp-off:empty,.lgsp-save:empty{display:none}

/* Thuộc tính */
.lgsp-attrs{border:1px solid var(--line);padding:12px 12px 14px;margin-bottom:12px}
.lgsp-group+.lgsp-group{margin-top:10px}
.lgsp-group-label{font-size:12px;color:var(--muted);margin-bottom:8px}
.lgsp-group-note{margin-left:4px}
.lgsp-options{display:flex;flex-wrap:wrap;gap:10px}
.lgsp-opt{padding:0 10px;border:1px solid transparent;border-radius:2px;background:#f2f2f2;font-size:11px;font-weight:700;color:var(--ink);height:40px;width:40px}
.lgsp-opt:hover{border-color:#bbb}
.lgsp-opt.is-active{background:var(--primary-color);color:#fff}

.lgsp-opt.is-out.is-active{color:#fff;text-decoration:none}
.lgsp-swatch{width:36px;height:36px;padding:3px !important;border:1px solid #d4d4d4;border-radius:50%;background:#fff;display:inline-flex}
.lgsp-swatch span{flex:1;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(0,0,0,.08)}
.lgsp-swatch:hover{border-color:#888}
.lgsp-swatch.is-active{border:1px solid var(--ink);}

.lgsp-opt:focus-visible,.lgsp-swatch:focus-visible,.lgsp-btn:focus-visible,.lgsp-specs-head:focus-visible,.lgsp-nav:focus-visible,.lgsp-thumb:focus-visible{outline:2px solid #2b6fe0;outline-offset:2px}

.lgsp-guide{display:block;padding:0;border:0;background:none;color:var(--primary-color);font-size:12px;font-weight:700;text-align:left}
.lgsp-guide:hover{text-decoration:underline}

/* Nút */
.lgsp-actions{display:grid;gap:10px;margin-bottom:14px}
.lgsp-actions [hidden]{display:none}
.lgsp-btn{height:42px;border:0;border-radius:4px;font-size:12px;font-weight:800;letter-spacing:.04em;color:#fff;transition:opacity .15s}
.lgsp-btn-add{background:#000}
.lgsp-btn-buy{background:black}
.lgsp-btn:hover:not([disabled]){opacity:.88}
.lgsp-btn-off{background:var(--primary-color);color:white;cursor:not-allowed;opacity: 1 !important;}
.lgsp-btn.is-loading{opacity:.6;pointer-events:none}
.lgsp button{
    margin:0px;
    padding:0
}
/* Ưu đãi */
.lgsp-perks{background:#3da66126;border:1px solid var(--primary-color);border-radius:3px;padding:12px 14px;margin-bottom:14px}
.lgsp-perks-title{font-size:14px;font-weight:800;margin-bottom:8px}
.lgsp-perks ul{list-style:none;margin:0;padding:0}
.lgsp-perks li{position:relative;padding-left:20px;margin:4px 0 !important;font-size:11px;font-weight:700;color:var(--primary-color)}
.lgsp-perks li::before{content:"";position:absolute;left:0;top:1px;width:12px;height:12px;border:1px solid var(--primary-color);border-radius:50%}
.lgsp-perks li::after{content:"";position:absolute;left:5px;top:3px;width:3px;height:6px;border:solid var(--primary-color);border-width:0 1.5px 1.5px 0;transform:rotate(45deg)}

/* Tổng đài */
.lgsp-hotline{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:800;margin-bottom:18px;color: black;}
.lgsp-hotline-ico{width:24px;height:24px;border:1.5px solid var(--primary-color);border-radius:50%;display:inline-flex;align-items:center;justify-content:center;flex:none}
.lgsp-hotline-num{color:var(--primary-color)}
.lgsp-hotline:hover span{
 text-decoration: underline;
}
.lgsp-hotline-ico svg{
    fill: var(--primary-color) !important;
}
/* Thông số kỹ thuật */
.lgsp-specs{border-top:1px solid #ccc}
.lgsp-specs-head{width:100%;display:flex;justify-content:space-between;align-items:center;padding:12px 0;background:none;border:0;border-bottom:1px solid #ccc;font-size:14px;font-weight:700;color:var(--ink);text-align:left}
.lgsp-caret{width:0;height:0;border:4px solid transparent;border-bottom:5px solid var(--ink);border-top:0;transition:transform .2s}
.lgsp-specs:not(.is-open) .lgsp-caret{transform:rotate(180deg)}
.lgsp-specs-body{display:grid;grid-template-rows:1fr;opacity:1;font-size:12px;transition:grid-template-rows .4s ease,opacity .35s ease,visibility 0s}
.lgsp-specs-inner{min-height:0;overflow:hidden;font-size: 14px;}
.lgsp-specs-inner > * {
    padding: 5px 0;
}

.lgsp-specs-inner > *:nth-child(odd) {
    background: #fff;
}

.lgsp-specs-inner > *:nth-child(even) {
    background: #f5f5f5;
}
.lgsp-specs:not(.is-open) .lgsp-specs-body{grid-template-rows:0fr;opacity:0;visibility:hidden;transition:grid-template-rows .4s ease,opacity .25s ease,visibility 0s .4s}
.lgsp-specs-body p{margin:0;padding:6px 6px}
.lgsp-specs-body ul{list-style:none;margin:0;padding:0}
.lgsp-specs-body li{padding:6px}
.lgsp-specs-body table{width:100%;border-collapse:collapse;border:0;margin:0}
.lgsp-specs-body td,.lgsp-specs-body th{padding:7px 6px;border:0;text-align:left;vertical-align:top;font-size:12px}
.lgsp-specs-body td:first-child,.lgsp-specs-body th:first-child{width:36%;color:#444;font-weight:400}
.lgsp-specs-body td:last-child{font-weight:700}
.lgsp-specs-body tr:nth-child(even){background:#f5f5f5}
.lgsp-specs-body tr:nth-child(even) td,.lgsp-specs-body tr:nth-child(even) th{background:transparent}

/* Thông báo */
.lgsp-toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:#111;color:#fff;padding:11px 16px;border-radius:4px;font-size:13px;z-index:99999;transition:.25s;max-width:calc(100vw - 32px)}
.lgsp-toast.is-show{opacity:1;transform:translate(-50%,0);pointer-events:auto}
.lgsp-toast a{color:#fff;text-decoration:underline;margin-left:10px;font-weight:700}
.lgsp-toast.is-error{background:#b00010}
.lgsp [hidden] { display: none !important; }
.lgsp-thumb{
    opacity: 0.5;
}
.lgsp-thumb.is-active{
    opacity: 1;
}
@media (max-width:820px){
	.lgsp{grid-template-columns:minmax(0,1fr);gap:22px}
	.lgsp-title{font-size:21px}
	.lgsp-corner{width:60px}
	
}
@media (prefers-reduced-motion:reduce){
	.lgsp *,.lgsp-toast{transition:none!important}
}

/* Lightbox ảnh hướng dẫn (gắn ngoài .lgsp nên không dùng biến) */
.lgsp-lb{position:fixed;inset:0;z-index:999999;background:rgba(0,0,0,.88);display:flex;align-items:center;justify-content:center;padding:32px}
.lgsp-lb[hidden]{display:none}
.lgsp-lb-box{position:relative;display:inline-flex;max-width:100%;max-height:100%}
.lgsp-lb-box img{display:block;max-width:min(92vw,980px);max-height:88vh;width:auto;height:auto;background:#fff;box-shadow:0 10px 40px rgba(0,0,0,.5)}
.lgsp-lb-close{position:absolute;top:-14px;right:-14px;width:32px;height:32px;border:0;border-radius:50%;background:#fff;color:#111;font:400 20px/1 Arial,sans-serif;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 2px 8px rgba(0,0,0,.4);padding:0}
.lgsp-lb-close:hover{background:#e30613;color:#fff}
.lgsp-lb-close:focus-visible{outline:2px solid #2b6fe0;outline-offset:2px}
@media (max-width:820px){.lgsp-lb{padding:20px}.lgsp-lb-close{top:-12px;right:-6px}}


.title-sec4-trangchu h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}
.title-sec4-trangchu h2 span{
    text-wrap: nowrap;
}
.title-sec4-trangchu h2::before,
.title-sec4-trangchu h2::after {
    content: "";
    width: 40%;
    height: 2px;
    background: #000;
    display: block;
}

.cot1-rowmap{
            flex-basis: 70%;
        max-width: 70%;
}

.cot2-rowmap{
            flex-basis: 30%;
        max-width: 30%;
}

/* ===== Top bar ===== */
.blog-topbar { background: #2b2b2b; color: #fff; font-size: 14px; }
.blog-topbar__inner { display: flex; justify-content: space-between; align-items: center; padding: 10px 15px; }
.blog-topbar a { color: #fff; }
.blog-topbar p { margin: 0; }

/* ===== Main bar ===== */
.blog-mainbar { background: #fff; position: relative; z-index: 20; }
.blog-mainbar__inner { display: flex; align-items: center; gap: 30px; padding: 12px 15px; }
.blog-mainbar__logo img { max-height: 45px; width: auto; display: block; }
.blog-mainbar__menu { flex: 1; }

.blog-menu { display: flex; gap: 0; margin: 0; list-style: none; flex-wrap: wrap; }
.blog-menu > li { margin: 0 10px; }
.blog-menu > li > a { font-size: 14px; font-weight: 700; text-transform: uppercase; color: #111; }
.blog-menu > li > a:hover,
.blog-menu > li.current-menu-item > a,
.blog-menu > li.active > a { color: var(--primary-color); }

/* Cho dropdown / mega menu UX Block hiển thị đúng */
.blog-header-desktop,
.blog-mainbar,
.blog-mainbar__inner { overflow: visible; }

.blog-mainbar__cart { position: relative; font-size: 24px; color: var(--primary-color); }
.blog-cart-count {
  position: absolute; right: -8px; background: red; color: #fff;
  font-size: 10px; line-height: 16px; min-width: 16px; text-align: center; border-radius: 50%;
}
.blog-mainbar__menu .nav-dropdown{
    top: 50px !important;
}
/* Logo lớn + menu phụ */
.blog-hero { text-align: center; padding-top: 20px; }
.blog-hero__logo img { max-height: 100px; width: auto; margin-bottom: 20px;}
.blog-hero__tagline { font-size: 26px; font-weight: 700; margin: 5px 0 25px; color: #222; }
.blog-submenu {
  display: flex; justify-content: center; align-items: stretch;
  margin-bottom: 20px;border-top: 1px solid #dad7d7;
    border-bottom: 1px solid #dad7d7;
}
.blog-submenu__home,.blog-submenu__list li a{
    position: relative;
}
.comments-area{
    display: none;
}
.is-divider{
    display: none;
}
.blog-submenu__home::before,.blog-submenu__list li a:before {
    content: "";
    width: 1px;
    height: calc(100% + 30px);
    position: absolute;
    top: calc(-30px / 2);
    left: 0;
    background: #dad7d7;
}
.blog-submenu__list li:last-child a:after{
     content: "";
    width: 1px;
    height: calc(100% + 30px);
    position: absolute;
    top: calc(-30px / 2);
    right: 0;
    background: #dad7d7;
}
.blog-submenu__home { display: flex; align-items: center; padding: 0 22px; color: #222; }
.blog-submenu__list { display: flex; margin: 0; list-style: none; }
.blog-submenu__list li { margin: 0; }

.blog-submenu__list a {
  display: block; padding: 16px 18px; font-size: 14px; font-weight: 700;
  text-transform: uppercase; color: #222;
}
.blog-submenu__list a:hover,
.blog-submenu__list .current-menu-item > a { color: var(--primary-color); }
.blog-topbar__inner:after,.from_the_blog_comments{
    display: none;
}
.back-to-top,.back-to-top i{
    border-color:var(--primary-color) !important;
    color: var(--primary-color);
}
.back-to-top:hover {
    background: var(--primary-color);
}
.back-to-top:hover i{
    color: white;
    
}
.cf7-email-form {
    display: flex;
    align-items: center;
  
}

.cf7-email-form input[type="email"] {
    flex: 1;
    margin: 0;
    height: 40px;
    font-size: 12px;
}

.cf7-send-btn {
    height: 40px;
    padding: 0 20px;
    border: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    background: var(--primary-color);
}

.cf7-send-btn i {
    font-size: 16px;
    color: white;
}
.row-sidebar-danhmuc-tintuc .post-title{
display: none;
}
.row-sidebar-danhmuc-tintuc .from_the_blog_excerpt {
     display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.row-sidebar-danhmuc-tintuc .col{
    padding-bottom:0
}
.single-post .sec-sidebar-danhmuc,.archive .sec-sidebar-chitiet{
display: none;
}
.single-post .section,.archive .section{
    padding-right:0 !important;
     padding-left:0 !important
}
.single-post .entry-header-text{
    padding-bottom: 0;
}
.header-main .header-nav-main .lug-search-trigger{
    margin-right: 40px;
}
    .header-main .mobile-nav li > a{
        
    font-size: 20px;

    }
    .header-cart-link{
    padding-bottom: 0;
}
/* Mobile */
@media (max-width: 849px) {
  .blog-topbar { font-size: 12px; }
  .blog-mainbar__inner { flex-wrap: wrap; gap: 10px; justify-content: space-between; }
  .blog-mainbar__menu { order: 3; flex-basis: 100%; overflow-x: auto; }
  .blog-menu { flex-wrap: nowrap; white-space: nowrap; }
  .blog-hero__tagline { font-size: 18px; }
  .blog-submenu { overflow-x: auto; justify-content: flex-start; }
  .blog-submenu__list { flex-wrap: nowrap; }
  .blog-submenu__list a { white-space: nowrap; padding: 15px; }
}


/* Desktop: ẩn header Flatsome, dùng header riêng */
@media (min-width: 850px) {
  .blog-flatsome-header { display: none; }
}

/* ===== Mobile: ẩn header riêng, chỉ giữ ảnh to + slogan ===== */
@media (max-width: 849px) {
  .blog-header-desktop { display: none; }
  .blog-submenu { display: none; }
  .blog-hero { padding: 15px 0 10px; }
  .blog-hero__tagline { font-size: 18px; margin-bottom: 10px; }
}

 .custom.html_topbar_left{
        font-size: 17px !important;
    }




@media(max-width:1024px){
    .header-main .header-nav-main .lug-search-trigger{
    margin-right: 0px;
}
    .header-nav-main .custom.html_top_right_text{
display: none;
    }
    .text-gioithieu{
    max-width: 100%;
}
.row-sec2-footer .cot1,.full1001024{
    flex-basis: 100% !important;
        max-width: 100% !important;
}
.full1001024{
    padding: 0 15px !important;
}
.row-sec2-footer .cot1 .col-inner{
    display: flex;
    justify-content: space-between;
    flex-direction: row;
}
.row-sec2-footer{

    max-width: calc(100% - 40px);
    padding: 0 20px;
}
.none1024{
    display: none;
}
 /* Logo */
    .header-inner #logo {
        order: 1 !important;
        margin-right: auto !important;
        margin:0 !important;
    }

    /* Mobile Left - menu */
    .header-inner > .show-for-medium.flex-left {
                order: 3 !important;
        flex: unset;
    }

    /* Mobile Right - giỏ hàng */
    .header-inner > .show-for-medium.flex-right {
        order: 2 !important;
        padding-right: 10px;
    }

}
@media(max-width:1023px){

    .cot1-rowmap{
            flex-basis: 100%;
        max-width: 100%;
}

.cot2-rowmap{
            flex-basis: 100%;
        max-width: 100%;
}
.text-cuoi-gioithieu{
        margin-left: -0px;
}
        .lug-search-trigger span{
        display: none;
    }
    .custom.html_topbar_left{
        font-size: 14px !important;
    }
    .sec-sp{
    padding: 10px 15px !important;
}

    .text-gioithieu2 .text-sin{
        font-size: 40px;
    }
    .row-nguoc-gioithieu{
        flex-direction: column-reverse;
    }
    .title-brand {
    padding-top: 0;
}
    .row-sec2-footer .cot1 .col-inner{
    flex-direction: column;
}
    .padding-bottom0 > .col{
    padding-bottom:15px
}
.row-sec2-footer .cot4{
        flex-basis: 50% !important;
    max-width: 50% !important;
}
.row-sec2-footer{

    max-width: calc(100% - 40px);
    padding: 0 15px;
}
}

@media(max-width:767px){
    #logo img{
        margin: 0;
    }
    .category-toolbar__label{
        display: none;
    }
.lgsp-thumbs{
    display: none;}
.row-sec2-footer .cot4{
        flex-basis: 100% !important;
    max-width: 100% !important;
}
.row-sec2-footer .cot2{
        flex-basis: 50% !important;
    max-width: 50% !important;
}
.row-sec2-footer .cot3{
        flex-basis: 50% !important;
    max-width: 50% !important;
}
}




.entry-content {
  color: #212529;
  font-size: 15px;
  font-weight: 400;
  line-height: 28px;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.entry-content figure {
  background: #fff;
  border: 1px solid #f0f0f0;
  padding: 5px 3px 10px;
  text-align: center;
}

.entry-content h6 {
  font-size: 15px;
}

.entry-content h5 {
  font-size: 17px;
}

.entry-content h4 {
  font-size: 17px;
}

.entry-content h3 {
  font-size: 18px;
}

.entry-content h2 {
  font-size: 20px;
  line-height: 1.5;
}

.entry-content h1 {
  font-size: 25px;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
}

.entry-content p {
  color: #333;
  margin-bottom: 15px;
  font-size: 16.5px;
  line-height: 1.6;
}

#content ul,
.entry-content ul {
  list-style: disc;
  padding-left: 20px;
  padding-bottom: 5px;
}

.entry-content ul li {
  color: #333;
  line-height: 1.5;
  margin-bottom: 10px;
  font-size: 16.5px;
}

.entry-content ul li a {
  color: #007bff;
}

#content ol,
.entry-content ol {
  list-style: decimal;
  padding-left: 18px;
  padding-bottom: 5px;
  font-size: 16.5px;
}

.entry-content ol li {
  color: #333;
  line-height: 1.5;
  margin-bottom: 10px;
  font-size: 16.5px;
}

.entry-content ol li a {
  color: #ff5912;
}

.entry-content a {
  font-weight: 700;
}

.entry-content blockquote {
  background: #f3f3f3;
  color: #868686;
  display: block;
  font-size: 16px;
  line-height: 23px;
  margin: 0 0 20px;
  padding: 15px 20px 15px 45px;
  position: relative;
  text-align: justify;
}

.entry-content blockquote p {
  margin-bottom: 0;
}

.entry-content blockquote:before {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 3px;
  background: var(--primary-color);
  content: "";
}

.entry-content code {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 3px;
  font-size: 0.85rem;
  color: #e83e8c;
  font-size: 15px;
}
.entry-content > div{
  overflow: auto;
}
.entry-content table {
  width: 100%;
  height: auto;
  overflow: auto;
}

.entry-content table > tbody > tr > td,
.entry-content table > tbody > tr > th,
.entry-content table > tfoot > tr > td,
.entry-content table > tfoot > tr > th,
.entry-content table > thead > tr > td,
.entry-content table > thead > tr > th,
.term-description table > tbody > tr > td,
.term-description table > tbody > tr > th,
.term-description table > tfoot > tr > td,
.term-description table > tfoot > tr > th,
.term-description table > thead > tr > td,
.term-description table > thead > tr > th {
  border: 1px solid #ddd;
  padding: 7px 10px !important;
  font-size: 16.5px !important;
  width: auto !important;
}

.entry-content iframe {
  margin: auto;
}

.entry-content .syntaxhighlighter {
  padding: 10px 0;
}
