/* TBS Store — nâng cấp giao diện 1.0.3 */
:root{--tbs-font-sans:"Inter","Segoe UI",system-ui,-apple-system,"Helvetica Neue",Arial,sans-serif}
body{font-feature-settings:"cv11","ss01";text-rendering:optimizeLegibility}
h1,h2,h3{letter-spacing:-.025em;line-height:1.12}
h1{font-size:clamp(2.2rem,5vw,4.6rem)}h2{font-size:clamp(1.8rem,3.6vw,3.2rem)}
/* Header */
.site-header{backdrop-filter:saturate(1.4) blur(14px);background:rgb(255 255 255/.86);border-bottom:1px solid var(--tbs-border-soft)}
.desktop-nav__list{display:flex;align-items:center;gap:.35rem;list-style:none;margin:0;padding:0}
.desktop-nav__list>li>a,.products-trigger{display:inline-flex;align-items:center;padding:.55rem .9rem;border-radius:var(--tbs-radius-pill);font-weight:650;font-size:.95rem;border:0;background:transparent;color:var(--tbs-text);cursor:pointer;transition:background var(--tbs-duration-fast)}
.desktop-nav__list>li>a:hover,.products-trigger:hover,.desktop-nav__list>li.current-menu-item>a,.desktop-nav__list>li.current_page_item>a{background:var(--tbs-border-soft)}
.products-trigger::after{content:"";width:7px;height:7px;margin-left:.5rem;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-2px)}
.mega-menu__all{display:block;margin-top:.75rem;padding:.7rem .9rem;border-radius:var(--tbs-radius-md);background:var(--tbs-carbon);color:#fff!important;font-weight:700;font-size:.9rem;text-align:center}
.category-tree{list-style:none;margin:0;padding:0}
.category-tree__item>a{display:flex;justify-content:space-between;gap:1rem;padding:.6rem .9rem;border-radius:var(--tbs-radius-sm);font-weight:600}
.category-tree__item>a:hover{background:var(--tbs-border-soft)}
.category-tree__item>a span{color:var(--tbs-text-muted);font:600 .75rem var(--tbs-font-mono)}
/* Cửa hàng */
.woocommerce-products-header{padding:1.5rem 0 .5rem}
.woocommerce-products-header__title{font-size:clamp(2rem,4vw,3.2rem)!important}
.woocommerce .woocommerce-breadcrumb{margin:1.5rem 0 .5rem}
.cat-pills{display:flex;flex-wrap:wrap;gap:.5rem;margin:1rem 0 1.25rem}
.cat-pills__item{display:inline-flex;align-items:center;gap:.45rem;padding:.55rem 1rem;border:1px solid var(--tbs-border);border-radius:var(--tbs-radius-pill);background:#fff;font-weight:650;font-size:.88rem;transition:all var(--tbs-duration-fast)}
.cat-pills__item small{color:var(--tbs-text-muted);font:600 .7rem var(--tbs-font-mono)}
.cat-pills__item:hover{border-color:var(--tbs-carbon)}
.cat-pills__item.is-active{background:var(--tbs-carbon);border-color:var(--tbs-carbon);color:#fff}
.cat-pills__item.is-active small{color:var(--tbs-accent)}
.woocommerce .woocommerce-result-count{margin:0 0 1rem;color:var(--tbs-text-muted);font-size:.85rem}
.woocommerce .woocommerce-ordering select{height:42px;padding:0 .8rem;border:1px solid var(--tbs-border);border-radius:var(--tbs-radius-sm);background:#fff}
.woocommerce ul.products li.product{display:flex;flex-direction:column;padding:.85rem;border-radius:var(--tbs-radius-md)}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link{display:block;flex:1}
.woocommerce ul.products li.product a img{margin-bottom:.8rem;background:#f1f1ee}
.woocommerce ul.products li.product .woocommerce-loop-product__title{min-height:2.9em;font-size:.95rem;font-weight:650;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.woocommerce ul.products li.product .price{display:block;margin-top:.4rem;font-size:1.05rem}
.woocommerce ul.products li.product .button{margin-top:.8rem;padding:.7rem 1rem;font-size:.9rem;transition:background var(--tbs-duration-fast),color var(--tbs-duration-fast)}
.woocommerce ul.products li.product .button:hover{background:var(--tbs-accent);color:var(--tbs-carbon)}
.woocommerce .products{grid-template-columns:repeat(4,minmax(0,1fr))}
.shop-filters{margin:.5rem 0 1.5rem}
.woocommerce nav.woocommerce-pagination ul{display:flex;gap:.4rem;justify-content:center;border:0;margin:2rem 0}
.woocommerce nav.woocommerce-pagination ul li{border:0}
.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{min-width:42px;padding:.65rem .8rem;border:1px solid var(--tbs-border);border-radius:var(--tbs-radius-sm);background:#fff;font-weight:650}
.woocommerce nav.woocommerce-pagination ul li span.current{background:var(--tbs-carbon);border-color:var(--tbs-carbon);color:#fff}
/* Sản phẩm đơn */
.single-product .product_title{font-size:clamp(1.8rem,3vw,2.8rem)}
/* Footer */
.site-footer a:hover{color:var(--tbs-accent)}
@media(max-width:1100px){.woocommerce .products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:820px){.woocommerce .products{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.woocommerce ul.products li.product{padding:.6rem}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:.86rem}.woocommerce ul.products li.product .button{padding:.6rem .5rem;font-size:.8rem}.cat-pills{flex-wrap:nowrap;overflow-x:auto;margin-inline:-14px;padding:0 14px .4rem;scrollbar-width:none}.cat-pills__item{white-space:nowrap;flex:none}}

/* Sửa lỗi trang sản phẩm: gallery không dính đè lên tab */
.single-product div.product .woocommerce-product-gallery{position:relative!important;top:auto!important}
.single-product div.product .woocommerce-tabs,.single-product div.product .related,.single-product div.product .upsells{grid-column:1/-1;position:relative;z-index:2;background:var(--tbs-bg)}
.single-product div.product .summary{padding-top:.5rem}
.single-product .summary .price:empty{display:none}
.single-product .summary .price{margin:.5rem 0 1rem}
.single-product .woocommerce-tabs ul.tabs{display:flex;gap:.5rem;padding:0;margin:0 0 1.5rem;list-style:none;border-bottom:1px solid var(--tbs-border)}

/* Sản phẩm tương tự: section.related cũng mang class "products" nên bị biến thành lưới 4 cột */
.woocommerce section.related.products,.woocommerce section.upsells.products{display:block!important;margin:3rem 0}
.woocommerce section.related.products>h2,.woocommerce section.upsells.products>h2{font-size:clamp(1.5rem,2.4vw,2rem);margin:0 0 1.25rem}
.woocommerce .woocommerce-tabs ul.tabs li{margin:0;padding:0;border:0;background:transparent}
.woocommerce .woocommerce-tabs ul.tabs li a{display:block;padding:.8rem 1.1rem;font-weight:650;color:var(--tbs-text-muted)}
.woocommerce .woocommerce-tabs ul.tabs li.active a{color:var(--tbs-text);box-shadow:inset 0 -3px 0 var(--tbs-accent)}
.woocommerce .woocommerce-tabs ul.tabs::before,.woocommerce .woocommerce-tabs ul.tabs li::before,.woocommerce .woocommerce-tabs ul.tabs li::after{display:none!important}
.woocommerce .woocommerce-tabs .panel>h2:first-child{font-size:1.4rem;margin-bottom:1rem}

/* Giá liên hệ */
.price--contact{display:inline-block;color:var(--tbs-text-muted);font-size:.85rem;font-weight:650}
.feature-list{display:grid;gap:1.1rem}

/* Thẻ danh mục trang chủ: giữ ảnh trong khung, không đè lên chữ */
.category-card__image{aspect-ratio:4/3;height:auto!important;overflow:hidden;background:#f1f1ee;border-radius:var(--tbs-radius-md)}
.category-card__image img{width:100%;height:100%;max-height:none;object-fit:contain}
.category-card{height:auto!important;min-height:0}
.category-card h3{color:var(--tbs-text)}

/* ---- Trang Phần mềm TBS ---- */
.page-id-166 .content-narrow{max-width:var(--tbs-container,1180px)}
.page-id-166 article>h1.entry-title-default,.page-id-166 article>h1:first-child{display:none}
.tbsw{display:grid;gap:clamp(2.5rem,6vw,4.5rem)}
.tbsw-hero{display:grid;gap:2rem;align-items:center}
.tbsw-hero h1{margin:.4rem 0 1rem!important;display:block!important;font-size:clamp(2.4rem,8vw,4.6rem);line-height:1.02;letter-spacing:-.035em}
.tbsw .eyebrow{font:700 .72rem var(--tbs-font-mono,monospace);letter-spacing:.14em;text-transform:uppercase;color:var(--tbs-text-muted)}
.tbsw-lede{max-width:34rem;margin:0 0 1.5rem;color:var(--tbs-text-muted);font-size:clamp(1rem,2.4vw,1.2rem);line-height:1.6}
.tbsw-actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-bottom:1.1rem}
.tbsw-actions .btn{min-height:56px;padding:.9rem 1.6rem;font-size:1.02rem}
.tbsw-meta{display:flex;flex-wrap:wrap;gap:.4rem .9rem;margin:0;padding:0;list-style:none;color:var(--tbs-text-muted);font:600 .75rem var(--tbs-font-mono,monospace);letter-spacing:.04em}
.tbsw-meta li::before{content:"•";margin-right:.45rem;color:var(--tbs-accent)}
.tbsw-hero__media{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.tbsw-hero__media img{width:100%;height:auto;border-radius:var(--tbs-radius-lg,20px);box-shadow:0 24px 40px -26px rgb(16 18 22/.45)}
.tbsw-hero__media img:first-child{grid-column:1/-1}
.tbsw-steps{display:grid;gap:1rem;grid-template-columns:1fr;margin:0;padding:0;list-style:none;counter-reset:s}
.tbsw-steps li{counter-increment:s;padding:1.4rem;border:1px solid var(--tbs-border);border-radius:var(--tbs-radius-lg,20px);background:var(--tbs-surface,#fff)}
.tbsw-steps li::before{content:"0" counter(s);display:block;margin-bottom:.8rem;font:700 .8rem var(--tbs-font-mono,monospace);color:var(--tbs-accent)}
.tbsw-steps h3{margin:0 0 .4rem;font-size:1.15rem}
.tbsw-steps p{margin:0;color:var(--tbs-text-muted);line-height:1.55}
.tbsw h2{margin:.3rem 0 1.2rem;font-size:clamp(1.7rem,5vw,2.6rem);letter-spacing:-.03em}
.tbsw-gear{display:grid;gap:1rem;grid-template-columns:repeat(2,1fr)}
.tbsw-gear a{display:block;color:inherit;text-decoration:none}
.tbsw-gear img{width:100%;height:auto;border-radius:var(--tbs-radius-lg,20px);box-shadow:0 18px 30px -22px rgb(16 18 22/.4);transition:transform .2s ease}
.tbsw-gear a:hover img{transform:translateY(-3px)}
.tbsw-gear span{display:block;margin-top:.6rem;font-weight:700}
.tbsw-cta{padding:clamp(1.6rem,4vw,2.6rem);border-radius:var(--tbs-radius-lg,20px);background:var(--tbs-carbon,#101216);color:#fff;display:grid;gap:1.2rem;align-items:center}
.tbsw-cta h2{margin:0;color:#fff}
.tbsw-cta p{margin:0;color:#c7cad0}
.tbsw-cta .btn--ghost{color:#fff}
@media(min-width:640px){.tbsw-steps{grid-template-columns:repeat(3,1fr)}.tbsw-gear{grid-template-columns:repeat(4,1fr)}}
@media(min-width:900px){.tbsw-hero{grid-template-columns:1.05fr .95fr}.tbsw-cta{grid-template-columns:1fr auto}}

.category-card__image{aspect-ratio:1/1!important}
.category-card__image img{width:100%!important;height:100%!important;object-fit:cover!important}

/* ---- v1.0.7: font đồng bộ, menu mobile, mobile layout ---- */
:root{--tbs-font-mono:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
.eyebrow,.footer-title,.badge,.annotation,.tech-label,.category-card__index,.hero__metrics dt,.feature-list article>span,.tbsw-meta,.tbsw .eyebrow,.tbsw-steps li::before,[class*="__index"],[class*="tech-label"]{font-family:var(--tbs-font-mono)!important;font-weight:700;letter-spacing:.1em;font-variant-numeric:tabular-nums}
.annotation{display:none!important}

/* Khối "Công dụng từng loại cáp" */
.engineering__plate{aspect-ratio:auto!important;border:0!important;border-radius:var(--tbs-radius-lg,20px)!important;background:none!important;display:block!important}
.engineering__plate::before,.engineering__plate::after{display:none!important}
.engineering__plate img{display:block;width:100%!important;max-width:560px;margin:0 auto;border-radius:var(--tbs-radius-lg,20px);filter:none!important;box-shadow:0 30px 50px -28px #000}

/* Menu điện thoại */
.mobile-drawer{width:min(88vw,400px)!important;padding:0!important;display:flex;flex-direction:column;background:#fff!important}
.mobile-drawer__top{margin:0!important;padding:1rem 1.25rem!important;border-bottom:1px solid var(--tbs-border-soft)}
.mobile-drawer .tbs-logo{width:84px!important}
.mobile-drawer>.eyebrow{margin:0!important;padding:1.4rem 1.25rem .6rem;color:var(--tbs-text-muted)}
.mobile-drawer>.category-tree{padding:0 .75rem;display:grid;gap:.4rem}
.mobile-drawer .category-tree__item>a{min-height:54px!important;padding:.4rem .9rem!important;border:1px solid var(--tbs-border-soft)!important;border-radius:14px;background:#f7f7f4;font-size:.98rem!important;font-weight:700!important}
.mobile-drawer .category-tree__item>a:active{background:#efefea}
.mobile-drawer .category-tree__item>a span{padding:.2rem .6rem;border-radius:999px;background:#fff;border:1px solid var(--tbs-border-soft);font:700 .72rem var(--tbs-font-mono)!important;color:var(--tbs-text-muted)}
.mobile-drawer__links{display:grid!important;grid-template-columns:1fr 1fr;gap:.6rem!important;margin:1.4rem 0 0!important;padding:1.1rem .75rem 1.5rem;border-top:1px solid var(--tbs-border-soft)}
.mobile-drawer__links a{display:flex;align-items:center;justify-content:center;min-height:52px;padding:.5rem;border-radius:14px;background:var(--tbs-carbon,#101216);color:#fff;font-size:.92rem;font-weight:700;text-align:center}
.mobile-drawer__links a:first-child{background:var(--tbs-accent);color:var(--tbs-carbon,#101216)}

@media(max-width:600px){
  .section{padding-block:3rem!important}
  .section-heading{display:grid!important;gap:.6rem!important}
  .section-heading h2{font-size:clamp(1.8rem,8vw,2.3rem)!important;line-height:1.08!important}
  .section-heading .lede,.section-heading>p{font-size:.95rem!important;line-height:1.5}
  .category-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:.7rem!important}
  .category-grid>.category-card{grid-column:auto!important;padding:.6rem!important;border-radius:18px!important}
  .category-card__index{display:none}
  .category-card__image{border-radius:12px!important}
  .category-card h3{font-size:.98rem!important;line-height:1.2;margin:.55rem 0 .15rem!important}
  .category-card p{font-size:.76rem!important;line-height:1.35;margin:0}
  .category-card>.icon,.category-card>svg{display:none}
  ul.products{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:.7rem!important}
  ul.products li.product{width:auto!important;margin:0!important}
  ul.products li.product .woocommerce-loop-product__title,ul.products li.product h2{font-size:.88rem!important;line-height:1.3!important}
  ul.products li.product .price{font-size:1rem!important}
  ul.products li.product .button{min-height:44px!important;font-size:.85rem!important;padding:.55rem .6rem!important}
  .engineering__plate img{max-width:100%}
  .feature-list article{grid-template-columns:2.2rem 1fr!important;gap:.6rem!important}
  .feature-list h3{font-size:1.15rem!important}
  .feature-list p{font-size:.93rem!important}
  .finder{padding-block:3rem!important}
  .finder h2{font-size:clamp(1.9rem,9vw,2.4rem)!important;line-height:1.08!important}
}

/* ---- v1.0.7b ---- */
.products-section--dark li.product{color:var(--tbs-text,#15171c)}
.products-section--dark li.product .woocommerce-loop-product__title,.products-section--dark li.product .price,.products-section--dark li.product p,.products-section--dark li.product span:not(.onsale){color:var(--tbs-text,#15171c)}
.products-section--dark li.product .button{color:#fff}
.mobile-drawer__links a:last-child:nth-child(odd){grid-column:1/-1}

/* ---- v1.0.8: cửa hàng + footer ---- */
.store-grid{display:grid;gap:1rem;grid-template-columns:1fr}
.store-tile{display:flex;flex-direction:column;gap:.5rem;padding:1.4rem;border:1px solid var(--tbs-border);border-radius:var(--tbs-radius-lg,20px);background:var(--tbs-surface,#fff);transition:transform .2s ease,box-shadow .2s ease}
.store-tile:hover{transform:translateY(-3px);box-shadow:0 18px 30px -22px rgb(16 18 22/.4)}
.store-tile__city{margin:0;font:700 .72rem var(--tbs-font-mono);letter-spacing:.12em;text-transform:uppercase;color:var(--tbs-text-muted)}
.store-tile__city::before{content:"";display:inline-block;width:18px;height:2px;margin:0 .5rem .25rem 0;background:var(--tbs-accent);vertical-align:middle}
.store-tile__addr{margin:0 0 .6rem;font-size:1.02rem;font-weight:650;line-height:1.45;flex:1}
.store-tile__actions{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem .9rem}
.store-tile__actions .btn{min-height:44px;padding:.6rem 1.1rem;font-size:.95rem}
.store-tile__map{font-weight:700;font-size:.9rem;text-decoration:underline;text-underline-offset:3px}
@media(min-width:700px){.store-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1050px){.store-grid{grid-template-columns:repeat(3,1fr)}}

.site-footer{padding:clamp(2.5rem,6vw,4.5rem) 0 1.5rem}
.footer-grid{grid-template-columns:1.4fr 1fr 1fr 1.1fr!important;gap:clamp(1.8rem,4vw,3rem)!important}
.footer-brand .tbs-logo{width:96px;margin-bottom:1rem}
.footer-brand p{margin:0 0 1rem;line-height:1.6}
.footer-hotline{display:inline-flex;flex-direction:column;gap:.15rem;padding:.8rem 1.1rem;border-radius:14px;background:var(--tbs-accent);color:var(--tbs-carbon,#101216);font-size:1.25rem;font-weight:800;letter-spacing:-.01em;text-decoration:none}
.footer-hotline span{font:700 .62rem var(--tbs-font-mono);letter-spacing:.12em;text-transform:uppercase;opacity:.75}
.footer-social{display:flex;gap:.5rem;margin-top:1rem}
.footer-social a{display:inline-flex;align-items:center;min-height:40px;padding:.4rem .95rem;border:1px solid #3a3f48;border-radius:999px;color:#fff;font-size:.85rem;font-weight:700;text-decoration:none}
.footer-social a:hover{border-color:var(--tbs-accent);color:var(--tbs-accent)}
.footer-links a{text-decoration:none}
.footer-links a:hover{color:#fff}
.footer-stores .footer-links a{display:flex;justify-content:space-between;gap:.8rem}
.footer-stores .footer-links strong{font-weight:700;color:#fff}
.footer-stores .footer-links span{color:#aeb2ba;font-variant-numeric:tabular-nums}
@media(max-width:900px){.footer-grid{grid-template-columns:1fr 1fr!important}.footer-brand,.footer-stores{grid-column:1/-1}}
@media(max-width:600px){.footer-grid{grid-template-columns:1fr 1fr!important;gap:1.6rem 1rem!important}.footer-stores .footer-links{grid-template-columns:1fr}}

/* v1.0.9 — mega menu, tài khoản, mini-cart */
.mega-menu{padding:1.4rem!important;max-height:calc(100vh - 120px);overflow:auto;border-radius:0 0 20px 20px!important}
.mega-menu>.category-tree{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(230px,1fr))!important;gap:14px!important;align-items:start}
.mega-menu>.category-tree>.category-tree__item{border:1px solid var(--tbs-border-soft);border-radius:16px;background:#f7f7f4;padding:.4rem .4rem .5rem}
.mega-menu>.category-tree>.category-tree__item>a{padding:.55rem .7rem!important;border:0!important;border-radius:10px;font-weight:800!important;font-size:.92rem;align-items:center;white-space:normal;line-height:1.3}
.mega-menu .category-tree--depth-1{display:block!important;padding:0 .2rem}
.mega-menu .category-tree--depth-1 .category-tree__item>a{padding:.4rem .7rem!important;font-size:.84rem!important;font-weight:600;color:var(--tbs-text-muted);align-items:center;line-height:1.3;white-space:normal}
.mega-menu .category-tree--depth-1 .category-tree__item>a:hover{background:#fff;color:var(--tbs-text)}
.mega-menu .category-tree__item>a span{flex:none;min-width:24px;padding:.1rem .5rem;border-radius:999px;background:#fff;border:1px solid var(--tbs-border-soft);text-align:center;font:700 .7rem Inter,sans-serif!important}
.mega-menu .category-tree__toggle{display:none!important}
.mega-menu__all{margin-top:14px!important;border-radius:999px!important}

/* Tài khoản */
.woocommerce-account .site-main .content-narrow{max-width:1080px}
.woocommerce-account .site-main h1{font-size:clamp(1.8rem,3vw,2.4rem)!important;margin:0 0 1.5rem;line-height:1.15}
.woocommerce-account .woocommerce{display:grid;grid-template-columns:260px 1fr;gap:28px;align-items:start}
.woocommerce-account .woocommerce-MyAccount-navigation{float:none!important;width:auto!important;border:1px solid var(--tbs-border-soft);border-radius:20px;background:#f7f7f4;padding:.6rem}
.woocommerce-account .woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:0;display:grid;gap:4px}
.woocommerce-account .woocommerce-MyAccount-navigation a{display:block;padding:.75rem 1rem;border-radius:12px;font-weight:650;font-size:.95rem;color:var(--tbs-text)}
.woocommerce-account .woocommerce-MyAccount-navigation a:hover{background:#fff}
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a{background:var(--tbs-carbon);color:#fff}
.woocommerce-account .woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--customer-logout a{color:#b3261e}
.woocommerce-account .woocommerce-MyAccount-content{float:none!important;width:auto!important;border:1px solid var(--tbs-border-soft);border-radius:20px;background:#fff;padding:1.6rem;line-height:1.65}
.woocommerce-account .woocommerce-MyAccount-content a{text-decoration:underline;text-underline-offset:3px;font-weight:650}
.woocommerce-account .woocommerce-MyAccount-content .button,.woocommerce-account .woocommerce .button,.woocommerce-account button.button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:.65rem 1.3rem;border:0;border-radius:999px;background:var(--tbs-accent);color:var(--tbs-carbon);font-weight:750;text-decoration:none;cursor:pointer}
.woocommerce-account input.input-text,.woocommerce-account select{width:100%;min-height:46px;padding:.6rem .9rem;border:1px solid var(--tbs-border);border-radius:12px;background:#fff}
.woocommerce-account:not(.logged-in) .woocommerce,.woocommerce-account .woocommerce:has(.woocommerce-form-login){display:block;max-width:460px}
.woocommerce-account .u-columns{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.woocommerce-account .u-columns .col-1,.woocommerce-account .u-columns .col-2{float:none;width:auto}
@media(max-width:800px){.woocommerce-account .woocommerce,.woocommerce-account .u-columns{grid-template-columns:1fr}}

/* Mini-cart */
.mini-cart{display:flex!important;flex-direction:column;padding:0!important;background:#fff}
.mini-cart__header{padding:1.1rem 1.25rem!important}
.mini-cart__content{flex:1;display:flex;flex-direction:column;min-height:0;overflow:auto}
.mini-cart .woocommerce-mini-cart{flex:1;margin:0!important;padding:1rem 1.25rem!important}
.mini-cart .woocommerce-mini-cart-item{display:block;min-height:96px!important;padding:0 1.8rem 1rem 96px!important;margin-bottom:1rem!important;line-height:1.35;font-weight:650}
.mini-cart .woocommerce-mini-cart-item a:not(.remove){display:block;font-weight:700;color:var(--tbs-text)}
.mini-cart .woocommerce-mini-cart-item img{width:80px!important;height:80px!important;object-fit:cover!important;border-radius:12px!important;top:0}
.mini-cart .woocommerce-mini-cart-item .quantity{display:block;margin-top:.35rem;color:var(--tbs-text-muted);font-weight:600;font-size:.9rem}
.mini-cart .woocommerce-mini-cart-item .remove{top:0;width:26px;height:26px;display:grid;place-items:center;border-radius:50%;background:var(--tbs-border-soft);color:var(--tbs-text)!important;font-size:1.1rem;line-height:1}
.mini-cart .woocommerce-mini-cart__empty-message{padding:2rem 0;text-align:center;color:var(--tbs-text-muted)}
.mini-cart .woocommerce-mini-cart__total{display:flex;justify-content:space-between;margin:0;padding:1rem 1.25rem;border-top:1px solid var(--tbs-border-soft);font-size:1.05rem;font-weight:800}
.mini-cart .woocommerce-mini-cart__buttons{display:grid!important;gap:.6rem;margin:0;padding:0 1.25rem 1.25rem}
.mini-cart .woocommerce-mini-cart__buttons a{display:flex;align-items:center;justify-content:center;min-height:50px;border-radius:999px;border:1.5px solid var(--tbs-carbon);background:#fff;color:var(--tbs-carbon)!important;font-weight:750;text-decoration:none}
.mini-cart .woocommerce-mini-cart__buttons a.checkout{background:var(--tbs-accent);border-color:var(--tbs-accent)}
.woocommerce-account .woocommerce::before,.woocommerce-account .woocommerce::after{display:none!important;content:none!important}

/* v1.0.9b — tabs sản phẩm, ẩn tài khoản */
.woocommerce-tabs ul.tabs{overflow:visible!important;padding:0!important;margin:0 0 1.5rem!important;display:flex;gap:2rem;border-bottom:1px solid var(--tbs-border)}
.woocommerce-tabs ul.tabs::before,.woocommerce-tabs ul.tabs::after{display:none!important;content:none!important}
.woocommerce-tabs ul.tabs li{margin:0!important;padding:0!important;border:0!important;background:none!important}
.woocommerce-tabs ul.tabs li a{display:block;padding:.9rem 0;font-weight:700}
.account-btn,.mobile-drawer a[href*="tai-khoan"]{display:none!important}
.woocommerce-tabs ul.tabs li a{border-bottom:3px solid transparent;margin-bottom:-1px}.woocommerce-tabs ul.tabs li.active a{border-bottom-color:var(--tbs-accent)}

/* v1.0.11 — footer: khối Linhkienip.vn + bố cục mới */
.site-footer{padding:clamp(2rem,5vw,3.5rem) 0 1.5rem!important}
.footer-parent{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:clamp(1rem,3vw,2.2rem);margin-bottom:clamp(2rem,4vw,3rem);padding:1.3rem clamp(1.1rem,3vw,2rem);border:1px solid #2a2e35;border-radius:22px;background:linear-gradient(120deg,#171a20 0%,#1d2128 100%);text-decoration:none;color:#fff!important;transition:border-color .2s,transform .2s}
.footer-parent:hover{border-color:#67cbe6;transform:translateY(-2px);color:#fff!important}
.footer-parent__logo{display:block;width:clamp(170px,22vw,260px);height:auto}
.footer-parent__text{display:grid;gap:.25rem;color:#aeb2ba;font-size:.92rem;line-height:1.5;padding-left:clamp(1rem,3vw,2rem);border-left:1px solid #2a2e35}
.footer-parent__text strong{color:#fff;font-size:1.02rem}
.footer-parent__cta{display:inline-flex;align-items:center;min-height:46px;padding:.6rem 1.3rem;border-radius:999px;background:#fdd23c;color:#101216;font-weight:800;white-space:nowrap}
.footer-parent:hover .footer-parent__cta{background:#67cbe6}
.footer-brand .tbs-logo{width:92px;margin-bottom:.9rem}
.footer-title{padding-bottom:.7rem;margin-bottom:1rem!important;border-bottom:1px solid #2a2e35}
.footer-links{gap:.65rem!important}
.footer-links a{color:#c7cad0}
.footer-bottom{margin-top:2.2rem!important;align-items:center}
.footer-bottom a{color:#fdd23c;text-decoration:none;font-weight:700}
.footer-bottom a:hover{text-decoration:underline}
@media(max-width:800px){.footer-parent{grid-template-columns:1fr;gap:.9rem;text-align:left}.footer-parent__text{padding:.9rem 0 0;border-left:0;border-top:1px solid #2a2e35}.footer-parent__cta{justify-self:start}}

/* v1.0.12 — căn giữa chữ trong nút Thêm vào giỏ hàng */
a.add_to_cart_button,a.product_type_simple,a.product_type_variable,.product-card .button,ul.products .button,.wp-block-button__link.add_to_cart_button{display:inline-flex!important;align-items:center;justify-content:center;text-align:center;line-height:1.2;box-sizing:border-box}
.product-card .button,ul.products li.product .button{width:100%}

/* v1.0.13 — ảnh hero bấm được */
.hero-product__link{display:block;position:relative;z-index:5;cursor:pointer}
.hero-product__link img{display:block;width:100%;height:auto}
.hero-product__halo,.hero-product__shadow{pointer-events:none}

/* v1.0.14 — giao diện sáng, lưới sản phẩm ngay đầu trang */
.shop-top{padding:clamp(1.4rem,3vw,2.4rem) 0 clamp(2rem,4vw,3.2rem);background:#fff;border-bottom:1px solid var(--tbs-border-soft)}
.shop-top__head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:1rem 2rem;margin-bottom:1.6rem}
.shop-top h1{margin:.3rem 0 .25rem;font-size:clamp(1.7rem,3.4vw,2.6rem);line-height:1.12;color:var(--tbs-text)}
.shop-top__sub{margin:0;color:var(--tbs-text-muted);font-size:1rem}
.shop-top__chips{display:flex;flex-wrap:wrap;gap:.5rem}
.chip{display:inline-flex;align-items:center;min-height:40px;padding:.4rem 1rem;border:1px solid var(--tbs-border);border-radius:999px;background:#fff;color:var(--tbs-text);font-size:.88rem;font-weight:700;text-decoration:none;transition:background .15s,border-color .15s}
.chip:hover{border-color:var(--tbs-carbon);background:#f7f7f4}
.chip--hot{background:var(--tbs-accent);border-color:var(--tbs-accent);color:var(--tbs-carbon)}
.chip--hot:hover{background:var(--tbs-accent-hover);border-color:var(--tbs-accent-hover)}
.shop-top__more{display:flex;justify-content:center;margin-top:1.8rem}
.shop-top .products{margin-top:0}
.engineering{background:#f1efe8!important;color:var(--tbs-text)!important}
.engineering h2,.engineering h3{color:var(--tbs-text)}
.feature-list article{border-top-color:#dedbd1!important}
.feature-list p{color:#5d6168!important}
.engineering__plate img{box-shadow:0 24px 44px -26px rgb(16 18 22/.35)!important}
.site-footer{background:#f1efe8!important;color:var(--tbs-text)!important}
.site-footer .footer-brand p{color:#5d6168!important}
.site-footer .footer-links,.site-footer .footer-links a{color:#3b3f46!important}
.site-footer .footer-links a:hover{color:var(--tbs-carbon)!important;text-decoration:underline}
.site-footer .footer-title{color:#8a6a00!important;border-bottom-color:#dedbd1!important}
.site-footer .footer-stores .footer-links strong{color:var(--tbs-text)!important}
.site-footer .footer-stores .footer-links span{color:#5d6168!important}
.site-footer .footer-social a{border-color:#cfcbbf!important;color:var(--tbs-text)!important;background:#fff}
.site-footer .footer-social a:hover{border-color:var(--tbs-carbon)!important;color:var(--tbs-carbon)!important}
.site-footer .footer-bottom{border-top-color:#dedbd1!important;color:#5d6168!important}
.site-footer .footer-bottom a{color:#8a6a00!important}
.site-footer .tbs-logo,.site-footer .tbs-logo svg{color:var(--tbs-carbon)!important}
.site-footer .footer-parent{color:#fff!important}
.site-footer .footer-parent__text{color:#aeb2ba!important}
.site-footer .footer-parent__text strong{color:#fff!important}
.site-footer .footer-parent__cta{color:#101216!important}

.site-footer .tbs-logo img,.site-footer .tbs-logo--footer img{filter:none!important}
@media(max-width:700px){.shop-top__head{display:block;margin-bottom:1.1rem}.shop-top__chips{flex-wrap:nowrap;overflow-x:auto;margin:1rem -14px 0;padding:0 14px 6px;scrollbar-width:none}.shop-top__chips::-webkit-scrollbar{display:none}.chip{flex:none;min-height:38px}.shop-top h1{font-size:1.7rem}}

/* v1.0.16 — banner sáng đầu trang */
.banner{position:relative;overflow:hidden;background:linear-gradient(115deg,#fff3c4 0%,#f8ecc0 38%,#f1efe8 100%)}
.banner::before{content:"";position:absolute;right:-8%;top:-30%;width:62vw;height:62vw;max-width:780px;max-height:780px;border-radius:50%;background:var(--tbs-accent);opacity:.35}
.banner::after{content:"";position:absolute;left:-6%;bottom:-40%;width:34vw;height:34vw;border-radius:50%;background:#fff;opacity:.55}
.banner__inner{position:relative;z-index:1;display:grid;grid-template-columns:1.02fr 1fr;align-items:center;gap:clamp(1.5rem,4vw,4rem);padding-block:clamp(2.2rem,5vw,4.2rem)}
.banner__tag{display:inline-flex;margin:0 0 1rem;padding:.4rem .9rem;border-radius:999px;background:var(--tbs-carbon);color:#fff;font-size:.78rem;font-weight:700;letter-spacing:.04em}
.banner__title{margin:0 0 .9rem;font-size:clamp(2.2rem,5.4vw,4.2rem);line-height:1.03;letter-spacing:-.03em;color:var(--tbs-carbon)}
.banner__title span{display:inline-block;padding:0 .35em;border-radius:.2em;background:var(--tbs-carbon);color:var(--tbs-accent);transform:rotate(-2deg)}
.banner__lede{max-width:520px;margin:0 0 1.5rem;color:#4a4e55;font-size:clamp(1rem,1.5vw,1.15rem);line-height:1.6}
.banner__actions{display:flex;flex-wrap:wrap;gap:.7rem}
.banner .btn{min-height:52px;padding-inline:1.6rem}
.banner .btn--ghost{border-color:var(--tbs-carbon);color:var(--tbs-carbon)}
.banner .btn--ghost:hover{background:rgb(16 18 22/.07)}
.banner__points{display:flex;flex-wrap:wrap;gap:.5rem 1.2rem;margin:1.5rem 0 0;padding:0;list-style:none;font-weight:700;font-size:.9rem;color:var(--tbs-carbon)}
.banner__points li::before{content:"✓";display:inline-grid;place-items:center;width:20px;height:20px;margin-right:.45rem;border-radius:50%;background:var(--tbs-carbon);color:var(--tbs-accent);font-size:.7rem}
.banner__visual{position:relative;display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(.6rem,1.4vw,1.1rem);align-items:center}
.banner-card{display:block;padding:.6rem .6rem .9rem;border-radius:20px;background:#fff;color:var(--tbs-text)!important;text-decoration:none;box-shadow:0 26px 50px -24px rgb(16 18 22/.4);transition:transform .25s}
.banner-card:hover{transform:translateY(-6px) rotate(0)!important}
.banner-card img{display:block;width:100%;height:auto;border-radius:14px;aspect-ratio:1;object-fit:cover}
.banner-card--1{transform:translateY(18px) rotate(-3deg)}
.banner-card--2{transform:translateY(-14px) scale(1.04);z-index:2}
.banner-card--3{transform:translateY(18px) rotate(3deg)}
.banner-card__name{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:.7rem .3rem .2rem;font-size:.84rem;font-weight:700;line-height:1.3}
.banner-card__price{display:block;margin:0 .3rem;font-size:.95rem;font-weight:800}
.banner-card__price del{opacity:.5;font-weight:600}.banner-card__price ins{text-decoration:none}
.shop-top{border-top:0}
@media(max-width:900px){.banner__inner{grid-template-columns:1fr}.banner__visual{max-width:560px}}
@media(max-width:600px){.banner__title{font-size:2.3rem}.banner__actions .btn{flex:1 1 100%}.banner__visual{gap:.5rem}.banner-card{padding:.4rem .4rem .6rem;border-radius:14px}.banner-card__name{font-size:.72rem}.banner-card__price{font-size:.8rem}.banner-card--1,.banner-card--3{transform:translateY(8px) rotate(-2deg)}.banner-card--3{transform:translateY(8px) rotate(2deg)}.banner-card--2{transform:translateY(-6px)}}

/* v1.0.17 — phối màu cửa hàng: giá nổi, nút vàng, cửa hàng gọn */
:root{--tbs-price:#d6381b}
.trust{background:#fff8dc;border-bottom:1px solid #f1e6b8}
.trust__inner{display:grid;grid-template-columns:repeat(4,1fr);gap:.5rem 1rem;padding-block:.85rem;font-size:.88rem;font-weight:700;text-align:center}
.trust__inner span::before{content:"✓";display:inline-grid;place-items:center;width:20px;height:20px;margin-right:.45rem;border-radius:50%;background:var(--tbs-accent);color:var(--tbs-carbon);font-size:.7rem}
@media(max-width:700px){.trust__inner{grid-template-columns:1fr 1fr;text-align:left;font-size:.8rem}}
.woocommerce ul.products li.product{border-color:#ece6d2!important;background:#fff}
.woocommerce ul.products li.product:hover{box-shadow:0 22px 40px -26px rgb(16 18 22/.45)!important;border-color:#e0d6b0!important}
.woocommerce ul.products li.product .price,.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--tbs-price)!important;font-size:1.3rem!important;font-weight:800!important;letter-spacing:-.01em}
.woocommerce ul.products li.product .price del{color:#9a9fa8!important;font-size:.85rem!important;font-weight:600}
.woocommerce ul.products li.product .price ins{text-decoration:none;color:var(--tbs-price)!important}
.woocommerce ul.products li.product .button,.woocommerce ul.products li.product a.add_to_cart_button{background:var(--tbs-accent)!important;color:var(--tbs-carbon)!important;font-weight:800!important;box-shadow:0 8px 18px -10px rgb(224 176 10/.9)}
.woocommerce ul.products li.product .button:hover{background:var(--tbs-accent-hover)!important;color:var(--tbs-carbon)!important}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-weight:700!important;color:var(--tbs-text)}
.woocommerce a.added_to_cart{display:block;margin-top:.5rem;text-align:center;font-weight:700;color:var(--tbs-price)}
.mega-menu__all,.finder-form .btn,.btn--dark{background:var(--tbs-accent)!important;color:var(--tbs-carbon)!important}
.mega-menu__all:hover,.finder-form .btn:hover,.btn--dark:hover{background:var(--tbs-accent-hover)!important}
.cat-pills__item.is-active{background:var(--tbs-accent)!important;border-color:var(--tbs-accent)!important;color:var(--tbs-carbon)!important}
.woocommerce nav.woocommerce-pagination ul li span.current{background:var(--tbs-accent)!important;border-color:var(--tbs-accent)!important;color:var(--tbs-carbon)!important}
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a{background:var(--tbs-accent)!important;color:var(--tbs-carbon)!important}
.mini-cart .woocommerce-mini-cart__total .amount{color:var(--tbs-price)}
.mini-cart .woocommerce-mini-cart-item .quantity .amount{color:var(--tbs-price);font-weight:800}
.section{padding-block:clamp(2.2rem,5vw,3.6rem)!important}
.section-heading h2{font-size:clamp(1.5rem,3vw,2.1rem)!important;letter-spacing:-.02em}
.section-heading .lede{font-size:.95rem}
.store-grid{gap:1rem!important}
.store-tile{padding:1.25rem 1.3rem!important;border-color:#ece6d2!important;gap:.35rem!important}
.store-tile__city{font:800 1.15rem var(--tbs-font-sans)!important;letter-spacing:0!important;text-transform:none!important;color:var(--tbs-text)!important}
.store-tile__city::before{width:4px!important;height:1em!important;margin:0 .55rem -.15em 0!important;border-radius:2px;background:var(--tbs-accent)}
.store-tile__addr{font-size:.92rem!important;font-weight:500!important;color:#5d6168;margin-bottom:.9rem!important}
.store-tile__actions{display:grid!important;grid-template-columns:1.4fr 1fr;gap:.5rem!important}
.store-tile__actions .btn{min-height:46px;width:100%;font-weight:800;box-shadow:none}
.store-tile__map{display:flex;align-items:center;justify-content:center;min-height:46px;border:1.5px solid #e0d6b0;border-radius:999px;text-decoration:none!important;font-weight:700;color:var(--tbs-text)}
.store-tile__map:hover{background:#fff8dc;border-color:var(--tbs-accent)}
@media(min-width:1050px){.store-grid{grid-template-columns:repeat(6,1fr)!important}.store-tile{grid-column:span 2}.store-tile:nth-child(n+4){grid-column:span 3}}
@media(min-width:700px) and (max-width:1049px){.store-tile:last-child:nth-child(odd){grid-column:1/-1}}

.site-header [type=submit],.site-header .search-submit,.search-form [type=submit]{background:var(--tbs-accent)!important;color:var(--tbs-carbon)!important;font-weight:800}

/* v1.0.19 — bảng màu mới: chữ xanh navy (bỏ đen), giá đỏ cam, nút vàng, điểm nhấn xanh dương */
:root{--tbs-carbon:#1b3b6f;--tbs-text:#1b3b6f;--tbs-text-muted:#5f7398;--tbs-surface-dark:#1b3b6f;--tbs-blue:#2f7be5;--tbs-border:#e3dcc4;--tbs-border-soft:#efe9d6}
body{color:var(--tbs-text)}
.site-header .tbs-logo img{filter:brightness(0) saturate(100%) invert(17%) sepia(55%) saturate(1900%) hue-rotate(205deg) brightness(92%) contrast(95%)}
.banner__tag{background:var(--tbs-blue)!important;color:#fff!important}
.banner__title span{background:var(--tbs-accent)!important;color:var(--tbs-carbon)!important;box-shadow:0 8px 0 -2px var(--tbs-accent-hover)}
.banner__lede{color:#3f5a8c!important}
.banner .btn--ghost{border-color:var(--tbs-blue)!important;color:var(--tbs-blue)!important;background:#fff}
.banner .btn--ghost:hover{background:#eef4ff!important}
.banner__points li::before{background:var(--tbs-blue)!important;color:#fff!important}
.banner-card{box-shadow:0 26px 50px -26px rgb(27 59 111/.45)!important}
.trust{background:var(--tbs-blue)!important;border-bottom:0!important;color:#fff}
.trust__inner span::before{background:#fff!important;color:var(--tbs-blue)!important}
.chip{background:#fbf5e4!important;border-color:#ece3c4!important}
.chip--hot{background:var(--tbs-accent)!important;border-color:var(--tbs-accent)!important}
.chip:hover{border-color:var(--tbs-blue)!important}
.woocommerce ul.products li.product .woocommerce-loop-product__title{color:var(--tbs-text)!important}
.site-footer .footer-parent{background:linear-gradient(120deg,#1b3b6f 0%,#244a86 100%)!important;border-color:#2f5a9e!important}
.site-footer .footer-parent:hover{border-color:var(--tbs-accent)!important}
.site-footer .footer-parent__text{color:#c9d7f0!important}
.site-footer .footer-parent__cta{background:var(--tbs-accent)!important;color:#1b3b6f!important}
.site-footer .footer-parent:hover .footer-parent__cta{background:#fff!important}
.site-footer .footer-brand p,.site-footer .footer-links,.site-footer .footer-links a,.site-footer .footer-bottom{color:#4d6390!important}
.site-footer .footer-links a:hover{color:var(--tbs-carbon)!important}
.site-footer .footer-title{color:#9a6f00!important}
.site-footer .tbs-logo img{filter:brightness(0) saturate(100%) invert(17%) sepia(55%) saturate(1900%) hue-rotate(205deg) brightness(92%) contrast(95%)!important}
.eyebrow{color:#9a6f00}
.btn--ghost{border-color:currentColor}
.mini-cart .woocommerce-mini-cart__buttons a{border-color:var(--tbs-carbon)!important;color:var(--tbs-carbon)!important}
.mini-cart .woocommerce-mini-cart__buttons a.checkout{color:var(--tbs-carbon)!important}
