/* =========================================================
 * Tám Sạch – Flatsome Child  (assets/css/tamsach.css)
 * Màu thương hiệu lấy từ theme cũ.
 * ========================================================= */
:root{
  --ts-green-darkest:#0f3d1a; --ts-green-dark:#14471f; --ts-green:#1c6b32;
  --ts-btn:#1f7a34; --ts-btn-hover:#176228; --ts-soft:#eef5ec; --ts-gold:#a87d3f;
  --ts-zalo:#0068ff; --ts-ink:#2b2f2b; --ts-muted:#6f756e; --ts-line:#e3e8e0;
  --ts-radius:12px; --ts-shadow:0 6px 22px rgba(20,60,30,.08); --ts-shadow-h:0 12px 30px rgba(20,60,30,.16);
}

/* ---------- Banner tiêu đề trang (archive / single) ---------- */
.ts-page-header{background-size:cover;background-position:center;color:#fff;padding:64px 0 54px;text-align:center}
.ts-page-header__title{color:#fff;font-size:clamp(26px,4vw,42px);margin:0 0 8px;line-height:1.2}
.ts-page-header__sub{margin:0 auto;max-width:720px;opacity:.92;font-size:16px}
.ts-breadcrumb{margin-top:12px;font-size:13px;opacity:.85}
.ts-breadcrumb a{color:#fff}
.ts-page-banner .ts-banner-title{color:#fff;font-size:clamp(28px,4vw,44px);margin-bottom:6px}
.ts-page-banner .ts-banner-sub{color:#fff;opacity:.92;font-size:17px;margin:0}

/* ---------- Hero trang chủ ---------- */
.ts-hero .ts-hero-title{font-size:clamp(44px,8vw,92px);letter-spacing:.04em;color:var(--ts-green-dark);margin:0;line-height:1.05}
.ts-hero .ts-hero-sub{font-size:clamp(20px,3.2vw,36px);letter-spacing:.12em;color:var(--ts-green);margin:.2em 0 .1em}
.ts-hero .ts-hero-script{font-family:"Playfair Display",serif;font-style:italic;color:var(--ts-gold);font-size:clamp(17px,2.2vw,26px);margin:0 0 22px}
.ts-hero .button{margin:4px 6px}
.ts-hero .ts-btn-ghost{background:rgba(255,255,255,.75)!important;color:var(--ts-green)!important;border-color:var(--ts-green)!important}
.ts-hero-feats-sec{position:relative;z-index:3;margin-top:-64px!important;background:transparent!important}
.ts-hero-feats-sec .section-content{padding:0}
@media (max-width:549px){.ts-hero-feats-sec{margin-top:-40px!important}}

/* ---------- Tiêu đề section ---------- */
.ts-sec-title .section-title-main,.ts-sec-title.section-title{color:var(--ts-green-dark)}
.ts-sec-title.section-title-center b{background:var(--ts-gold);opacity:.6}
.ts-sc-title{margin-bottom:10px}

/* ---------- Ô lợi ích ---------- */
.ts-iconbox{display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px;padding:18px 14px;border-radius:var(--ts-radius);height:100%}
.ts-iconbox--light{background:#fff;box-shadow:var(--ts-shadow)}
.ts-iconbox--glass{background:rgba(255,255,255,.92);box-shadow:var(--ts-shadow);backdrop-filter:blur(4px)}
.ts-iconbox--dark{color:#fff}
.ts-iconbox__ic{width:54px;height:54px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:var(--ts-soft);color:var(--ts-btn);margin-bottom:6px}
.ts-iconbox__ic svg{width:32px;height:32px;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.ts-iconbox__t{font-weight:700;color:var(--ts-green-dark);font-size:15px}
.ts-iconbox--dark .ts-iconbox__t{color:#fff}
.ts-iconbox__d{font-size:13px;color:var(--ts-muted)}

/* ---------- Danh sách check ---------- */
.ts-checks{list-style:none;margin:0 0 20px;padding:0;display:grid;gap:10px 18px}
.ts-checks--2{grid-template-columns:1fr 1fr}.ts-checks--3{grid-template-columns:repeat(3,1fr)}
.ts-checks li{display:flex;gap:10px;align-items:flex-start;margin:0}
.ts-checks__ic{flex:0 0 22px;height:22px;border-radius:50%;background:var(--ts-btn);color:#fff;display:inline-flex;align-items:center;justify-content:center}
.ts-checks__ic svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:3}
@media (max-width:549px){.ts-checks--2,.ts-checks--3{grid-template-columns:1fr}}
.ts-about-title{font-size:clamp(24px,3vw,34px);color:var(--ts-green-dark);line-height:1.25}
.ts-lead{font-size:17px;color:var(--ts-green)}
.ts-about-media,.ts-about-media img{border-radius:var(--ts-radius);overflow:hidden}

/* ---------- Thẻ sản phẩm ---------- */
.ts-pcard{background:#fff;border-radius:var(--ts-radius);overflow:hidden;box-shadow:var(--ts-shadow);transition:box-shadow .25s,transform .25s;height:100%;display:flex;flex-direction:column}
.ts-pcard:hover{box-shadow:var(--ts-shadow-h);transform:translateY(-3px)}
.ts-pcard .box-image{position:relative;background:#f5f7f4}
.ts-pcard .box-text{padding:14px 14px 16px;flex:1;display:flex;flex-direction:column}
.ts-pcard-title{font-family:inherit;font-size:15px;font-weight:600;line-height:1.4;margin:0 0 6px;min-height:2.8em}
.ts-pcard-title a{color:var(--ts-ink)}
.ts-pcard-title a:hover{color:var(--ts-btn)}
.ts-pcard-cat{margin:0 0 4px}
.ts-price{color:#c0392b;font-weight:700;margin-bottom:10px}
.ts-price del{color:#999;font-weight:400;margin-right:6px;font-size:.9em}
.ts-price--single{font-size:24px;margin:6px 0 14px}
.ts-pcard-acts{margin-top:auto;display:flex;gap:6px;justify-content:center}
.text-left .ts-pcard-acts{justify-content:flex-start}
.ts-pcard-acts .button{margin:0;flex:1;border-radius:99px;padding:0 10px}
.button.ts-btn-zalo,.ts-btn-zalo{background:var(--ts-zalo)!important;border-color:var(--ts-zalo)!important;color:#fff!important}
.button.ts-btn-zalo:hover{opacity:.9}
.ts-badge{position:absolute;left:10px;top:10px;background:#c0392b;color:#fff;font-size:12px;padding:2px 9px;border-radius:99px}
.ts-noimg{display:block;position:absolute;inset:0;background:var(--ts-soft) url("../images/hero-bonsai.jpg") center/cover;opacity:.35}
.ts-empty{padding:30px 0;color:var(--ts-muted)}

/* ---------- Danh mục ---------- */
.ts-cat{display:block;text-align:center;color:var(--ts-ink)}
.ts-cat__img{display:block;position:relative;overflow:hidden;border-radius:var(--ts-radius);background:#fff;box-shadow:var(--ts-shadow);transition:box-shadow .25s,transform .25s}
.ts-cat__img img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.ts-cat:hover .ts-cat__img{box-shadow:var(--ts-shadow-h);transform:translateY(-3px)}
.ts-cat__name{display:block;font-weight:600;font-size:14px;margin-top:10px;line-height:1.35}
.ts-cat:hover .ts-cat__name{color:var(--ts-btn)}
.ts-cat--circle .ts-cat__img{border-radius:50%}
.ts-cat--overlay{position:relative}
.ts-cat--overlay .ts-cat__name{position:absolute;left:0;right:0;bottom:0;margin:0;padding:24px 10px 12px;color:#fff;background:linear-gradient(transparent,rgba(15,61,26,.85));border-radius:0 0 var(--ts-radius) var(--ts-radius)}

/* ---------- Bộ lọc danh mục (archive) ---------- */
.ts-archive-products{padding:30px 0 50px;background:var(--ts-soft)}
.ts-term-filter{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin:0 0 26px}
.ts-term-pill{display:inline-flex;align-items:center;gap:8px;padding:6px 14px;border-radius:99px;background:#fff;border:1px solid var(--ts-line);color:var(--ts-ink);font-size:14px;font-weight:500}
.ts-term-pill span{width:26px;height:26px;border-radius:50%;background-size:cover;background-position:center}
.ts-term-pill:hover,.ts-term-pill.is-active{background:var(--ts-btn);border-color:var(--ts-btn);color:#fff}
.ts-pagination{margin:20px 0}
.ts-search{padding:30px 0 50px}
.ts-search-form{max-width:640px;margin-bottom:26px}

/* ---------- Chi tiết sản phẩm ---------- */
.ts-product-top{padding-top:36px}
.ts-product-summary .ts-product-title{color:var(--ts-green-dark);margin-bottom:4px}
.ts-product-meta{list-style:none;margin:0 0 16px;padding:0}
.ts-product-meta li{margin:0 0 6px;padding-left:0}
.ts-product-meta b{color:var(--ts-green-dark)}
.ts-product-buttons{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px}
.ts-product-buttons .button{margin:0}
.ts-product-excerpt{color:#4a524a;margin-bottom:12px}
.ts-spec-table{width:100%;border-collapse:collapse;border-radius:var(--ts-radius);overflow:hidden;border:1px solid var(--ts-line)}
.ts-spec-table th,.ts-spec-table td{padding:10px 14px;border-bottom:1px solid var(--ts-line);vertical-align:top;font-size:14px;text-align:left}
.ts-spec-table th{width:36%;background:var(--ts-soft);color:var(--ts-green-dark);font-weight:600;text-transform:none;letter-spacing:0}
.ts-spec-table tr:last-child th,.ts-spec-table tr:last-child td{border-bottom:0}
.ts-product-content{background:#fff;padding:26px 0}
.ts-content-title{color:var(--ts-green-dark);border-bottom:2px solid var(--ts-soft);padding-bottom:10px}
.ts-related{padding:20px 0 40px;background:var(--ts-soft)}
.ts-related .ts-sc-title{padding-top:30px}

.ts-gallery__main{position:relative;border-radius:var(--ts-radius);overflow:hidden;background:#f5f7f4;box-shadow:var(--ts-shadow)}
.ts-gallery__main img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.ts-gallery__thumbs{display:grid;grid-template-columns:repeat(var(--ts-thumb-cols,5),1fr);gap:8px;margin-top:10px}
.ts-gallery__thumb{padding:0;margin:0;border:2px solid transparent;border-radius:8px;overflow:hidden;cursor:pointer;aspect-ratio:1/1;background:#fff;min-height:0;line-height:0}
.ts-gallery__thumb img{width:100%;height:100%;object-fit:cover}
.ts-gallery__thumb.is-active,.ts-gallery__thumb:hover{border-color:var(--ts-btn)}

/* ---------- Liên hệ ---------- */
.ts-contact ul{list-style:none;margin:0;padding:0}
.ts-contact li{display:flex;gap:12px;align-items:flex-start;margin:0 0 12px;line-height:1.5}
.ts-contact__ic{flex:0 0 34px;height:34px;border-radius:50%;background:var(--ts-soft);color:var(--ts-btn);display:inline-flex;align-items:center;justify-content:center}
.ts-contact__ic svg{width:17px;height:17px}
.ts-contact__title{color:var(--ts-green-dark);margin-bottom:16px}
.ts-contact--dark,.ts-contact--dark a{color:rgba(255,255,255,.88)}
.ts-contact--dark .ts-contact__ic{background:rgba(255,255,255,.12);color:#a9cf70}
.ts-contact--dark .ts-contact__title{color:#fff;font-family:inherit;font-size:16px;letter-spacing:.05em}
.ts-form-col .col-inner,.ts-contact-col .col-inner{background:#fff;border-radius:var(--ts-radius);box-shadow:var(--ts-shadow);padding:26px}
.ts-form-title{color:var(--ts-green-dark)}
.ts-map{border-radius:var(--ts-radius);overflow:hidden;margin-top:24px;box-shadow:var(--ts-shadow)}

/* Form tư vấn (port từ theme cũ) */
.ts-contact-form p{margin:0 0 14px}
.ts-contact-form label{display:block;margin:0 0 6px;color:#2d392f;font-weight:600;font-size:14px}
.ts-contact-form label span{color:#d9233f}
.ts-contact-form input,.ts-contact-form textarea{width:100%;border-radius:10px;border:1px solid #dfe7dc;box-shadow:none;margin:0}
.ts-contact-form input:focus,.ts-contact-form textarea:focus{border-color:var(--ts-btn);box-shadow:0 0 0 3px rgba(31,122,52,.12)}
.ts-form-row-2{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.ts-contact-form button[type=submit]{background:var(--ts-btn);color:#fff;border:0;border-radius:99px;padding:0 30px;font-weight:700;min-height:46px;cursor:pointer}
.ts-contact-form button[type=submit]:hover{background:var(--ts-btn-hover)}
.ts-hp{position:absolute!important;left:-9999px!important;opacity:0!important;height:0!important;overflow:hidden!important}
.ts-form-notice{border-radius:8px;padding:11px 13px;margin:0 0 14px;font-weight:700;font-size:14px}
.ts-form-notice.success{background:#eef9f0;color:#176228;border:1px solid #cce8d1}
.ts-form-notice.error{background:#fff1f1;color:#b42318;border:1px solid #ffd1d1}
@media (max-width:760px){.ts-form-row-2{grid-template-columns:1fr;gap:0}.ts-contact-form button[type=submit]{width:100%}}

/* ---------- CTA + Footer block ---------- */
.ts-sec-cta .ts-cta-title{color:#fff;margin-bottom:6px}
.ts-footer{color:rgba(255,255,255,.85)}
.ts-footer .ts-footer-h{color:#fff;font-family:inherit;font-size:16px;letter-spacing:.05em;margin-bottom:16px}
.ts-footer .ts-footer-desc{color:rgba(255,255,255,.78);font-size:14px}
.ts-footer .ts-footer-brand{color:#fff}.ts-footer .ts-footer-brand small{display:block;font-size:13px;letter-spacing:.12em;opacity:.8}
.ts-footer .ux-menu-link__link{color:rgba(255,255,255,.85)}
.ts-footer .ux-menu-link__link:hover{color:#a9cf70}
.ts-fanpage{display:flex;gap:12px;align-items:center;margin-bottom:14px;background:rgba(255,255,255,.07);border-radius:var(--ts-radius);padding:12px}
.ts-fanpage__avatar{width:56px;height:56px;border-radius:50%;object-fit:contain;background:#fff;padding:4px}
.ts-fanpage b{display:block;color:#fff}.ts-fanpage span{font-size:13px;opacity:.8}
.absolute-footer a{color:rgba(255,255,255,.8)}

/* =========================================================
 * HEADER – theo theme cũ (topbar 38px #0f3d1a, header trắng 86px)
 * ========================================================= */
.header-top{font-size:13px}
.header-top,.header-top .nav > li > a{color:#dfe9df}
.header-top .nav > li > a:hover{color:#fff}
.header-top .html_topbar_left,.header-top .ts-top-text{color:#dfe9df;font-weight:400;text-transform:none;letter-spacing:0}
.header-top .ts-top-hotline{color:#fff;font-weight:600}
.header-top .ts-top-hotline b{color:#ffd45e;font-weight:700}
.header-main{border-bottom:1px solid #e3e8e0}
#logo img{max-height:62px;width:auto;object-fit:contain}
#logo{margin-right:8px}

/* Menu chính */
.header-main .header-nav-main > li > a,
.header-main .nav > li > a{font-size:14.5px;font-weight:600;color:#3a423a;padding:12px 13px;border-radius:6px;text-transform:none;letter-spacing:0;position:relative}
.header-main .nav > li{margin:0 3px}
.header-main .nav > li > a:hover,.header-main .nav > li.active > a,.header-main .nav > li.current-menu-ancestor > a{color:#1c6b32}
.header-main .nav > li.active > a::after,.header-main .nav > li.current-menu-item > a::after,.header-main .nav > li.current-menu-ancestor > a::after{content:"";position:absolute;left:13px;right:13px;bottom:2px;height:2.5px;background:#1c6b32;border-radius:2px}
.header-main .nav > li > a .icon-angle-down{font-size:9px;opacity:.7;margin-left:3px}
/* Dropdown */
.nav-dropdown{border:1px solid #e3e8e0;border-radius:8px;box-shadow:0 6px 22px rgba(20,60,30,.08);padding:8px;min-width:220px}
.nav-dropdown > li > a,.nav-dropdown-simple .nav-column li > a{display:block;padding:9px 12px!important;border-radius:6px;font-size:14px;color:#4a524a;border:0!important}
.nav-dropdown > li > a:hover{background:#eef5ec;color:#1c6b32}
/* Ô tìm kiếm bo tròn 230px */
.header-search-form{min-width:230px}
.header-search-form .searchform{background:#fff;border:1px solid #dce6da;border-radius:24px;padding:4px 4px 4px 16px;transition:border-color .18s,box-shadow .18s}
.header-search-form .searchform:hover,.header-search-form .searchform:focus-within{border-color:#1f7a34;box-shadow:0 0 0 3px rgba(31,122,52,.08)}
.header-search-form .searchform .search-field{border:0!important;box-shadow:none!important;background:transparent!important;height:34px;font-size:13.5px;color:#1f2c22;padding:0}
.header-search-form .searchform .search-field::placeholder{color:#7d8b7f}
.header-search-form .searchform .ux-search-submit,.header-search-form .searchform button.submit-button{width:34px;height:34px;min-height:34px;border-radius:50%!important;background:#eef7ef!important;color:#176228!important;padding:0;margin:0;line-height:1}
.header-search-form .searchform .ux-search-submit:hover{background:#1f7a34!important;color:#fff!important}
/* Icon cây (giỏ) */
.ts-head-cart{position:relative;font-size:22px;color:#3a423a;display:inline-flex;align-items:center;margin-left:6px;line-height:1}
.ts-head-cart .badge{position:absolute;top:-7px;right:-9px;background:#1f7a34;color:#fff;font-size:10px;font-weight:700;width:17px;height:17px;border-radius:50%;display:grid;place-items:center;line-height:1}
/* Mobile: ô tìm kiếm full width ở hàng dưới, ☰ màu xanh */
.header-bottom{border-bottom:1px solid #e3e8e0}
@media (max-width:849px){
  #logo img{max-height:56px;max-width:235px}
  .header-bottom .header-search-form,.header-bottom .header-search-form .searchform{width:100%;min-width:0}
  .header-bottom .flex-col,.header-bottom .nav{width:100%}
  .header-bottom .nav > li{width:100%;margin:0}
  .header-main .nav-icon a,.header-main .icon-menu{color:#1c6b32;font-size:24px}
  .ts-head-cart{font-size:18px}
}

/* =========================================================
 * FOOTER – theo footer-v2 của theme cũ (widget area "Footer 2")
 * ========================================================= */
.footer-2{background-color:#003018!important;background-image:radial-gradient(circle at 18% 0,rgba(166,198,118,.12),transparent 34%),linear-gradient(135deg,#013e20 0%,#002713 70%)!important;color:#d9ead9;font-size:13.5px;padding:54px 0 0!important}
.footer-2 > .row{display:grid;grid-template-columns:1.18fr 1.12fr .72fr 1.22fr;gap:46px;padding-bottom:34px;max-width:1266px}
.footer-2 > .row > .col{max-width:100%;flex-basis:auto;width:auto;padding:0!important;min-width:0}
.footer-2 .widget-title{display:block;color:#fff;font-family:"Be Vietnam Pro",sans-serif;font-size:14.5px;font-weight:800;letter-spacing:.7px;text-transform:uppercase;line-height:1.2}
.footer-2 .is-divider{width:30px;max-width:30px;height:1.5px;background:#9abb65!important;margin:9px 0 19px;opacity:1}
/* Cột thương hiệu */
.ts-flogo{display:flex;align-items:center;gap:13px;margin-bottom:15px;color:#fff}
.ts-flogo__img{max-height:66px;max-width:220px;width:auto;object-fit:contain}
.ts-flogo__mark{width:64px;height:54px;color:#f3f7ea}.ts-flogo__mark svg{width:100%;height:100%}
.ts-flogo__txt b{display:block;font-size:28px;font-weight:800;letter-spacing:1.4px;color:#fff;line-height:1}
.ts-flogo__txt span{display:block;margin-top:6px;font-size:12px;letter-spacing:1.45px;color:#cfe3b6;font-weight:700}
.footer-2 .ts-fdesc{font-size:13.5px;line-height:1.72;color:#dceadb;max-width:360px;margin:0 0 18px}
.ts-fsocial{display:flex;gap:12px;align-items:center}
.ts-fsocial a{width:40px;height:40px;border-radius:7px;display:grid;place-items:center;border:1px solid rgba(171,206,112,.55);box-shadow:0 8px 20px rgba(0,0,0,.16);color:#fff;transition:.22s}
.ts-fsocial a svg{width:22px;height:22px;display:block}
.ts-fsocial--fb{background:linear-gradient(180deg,#2684ff,#075bc5)}
.ts-fsocial--yt{background:linear-gradient(180deg,#ff3333,#c90000)}
.ts-fsocial--tt{background:#050505}
.ts-fsocial--zalo{background:#fff;color:#1788ff!important}
.ts-fsocial a:hover{transform:translateY(-4px);box-shadow:0 12px 26px rgba(0,0,0,.24)}
/* Cột liên hệ */
.ts-fcontact{list-style:none;margin:0;padding:0}
.ts-fcontact li{display:grid;grid-template-columns:24px 1fr;gap:10px;align-items:start;margin:0 0 12px;color:#e3eee1;font-size:13.5px;line-height:1.55;border:0;padding:0}
.ts-fcontact .ic{width:20px;height:20px;color:#a9cf70;display:block;margin-top:1px}
.ts-fcontact .ic svg{width:100%;height:100%;display:block}
.ts-fcontact strong{color:#fff;font-weight:700}
.ts-fcontact a{color:#e3eee1}.ts-fcontact a:hover{color:#fff}
.ts-fcontact__line{display:block}
/* Cột danh mục (widget Menu) */
.footer-2 .widget_nav_menu ul.menu{list-style:none;margin:0;padding:0}
.footer-2 .widget_nav_menu ul.menu li{margin:0 0 11px;border:0;padding:0;font-size:13.5px;line-height:1.45}
.footer-2 .widget_nav_menu ul.menu li a{display:inline-flex;align-items:center;gap:7px;color:#e3eee1;padding:0;transition:.2s}
.footer-2 .widget_nav_menu ul.menu li a::before{content:"";width:9px;height:9px;flex:0 0 9px;background:currentColor;clip-path:polygon(0 0,100% 50%,0 100%,30% 50%)}
.footer-2 .widget_nav_menu ul.menu li a:hover{color:#a9cf70;transform:translateX(4px)}
/* Cột fanpage */
.ts-fanpage2{display:grid;grid-template-columns:96px 1fr;gap:15px;background:#fff;border-radius:9px;padding:17px;box-shadow:0 14px 34px rgba(0,0,0,.18);color:#1f2b20;min-height:118px;align-items:center}
.ts-fanpage2__av{height:82px;border:1px solid #e6e9e2;border-radius:6px;display:grid;place-items:center;color:#0d5129;background:#fff;overflow:hidden}
.ts-fanpage2__av img{max-width:90%;max-height:90%;object-fit:contain}
.ts-fanpage2__av svg{width:60px;height:54px}
.ts-fanpage2__info b{display:block;color:#15251a;font-size:13.8px;line-height:1.3;margin-bottom:6px}
.ts-fanpage2__info span{display:block;color:#546154;font-size:12.5px;margin-bottom:11px}
.ts-fanpage2__btn{display:inline-flex;align-items:center;gap:7px;background:#f7f8f7;border:1px solid #d9ded8;border-radius:6px;color:#243024!important;font-weight:700;font-size:13px;padding:8px 12px;line-height:1;transition:.2s}
.ts-fanpage2__btn svg{width:17px;height:17px;color:#1877f2}
.ts-fanpage2__btn:hover{background:#edf4ff;border-color:#c8dcff}
/* Dòng bản quyền */
.absolute-footer{background:#003018!important;color:#d8e5d6;font-size:13px;padding:0!important}
.absolute-footer .container{border-top:1px solid rgba(154,187,101,.28);padding:16px 15px}
.absolute-footer .footer-primary,.absolute-footer .copyright-footer{color:#d8e5d6}
.ts-policy-nav{display:flex;flex-wrap:wrap;align-items:center}
.ts-policy-nav a{color:#d8e5d6;padding:0 13px;border-right:1px solid rgba(216,229,214,.45);line-height:1}
.ts-policy-nav a:first-child{padding-left:0}.ts-policy-nav a:last-child{border-right:0;padding-right:0}
.ts-policy-nav a:hover{color:#fff}
@media (max-width:1180px){.footer-2 > .row{grid-template-columns:1fr 1fr;gap:34px}}
@media (max-width:760px){
  .footer-2{padding-top:38px!important;font-size:13px}
  .footer-2 > .row{grid-template-columns:minmax(0,1fr);gap:28px;padding-bottom:28px}
  .footer-2 .widget-title{font-size:14px}
  .ts-flogo__img{max-width:230px;max-height:78px}
  .footer-2 .ts-fdesc,.ts-fcontact li,.footer-2 .widget_nav_menu ul.menu li{font-size:13px}
  .ts-fsocial a{width:38px;height:38px}
  .ts-fanpage2{grid-template-columns:82px 1fr;padding:14px}.ts-fanpage2__av{height:74px}
  .absolute-footer .container{text-align:left}
  .ts-policy-nav a{padding:0 10px 0 0;margin-right:10px}
}
@media (max-width:430px){.ts-fanpage2{grid-template-columns:1fr}.ts-fanpage2__av{max-width:108px;height:76px}}

/* =========================================================
 * Nút nổi Gọi / Zalo / ↑ – góc phải như theme cũ
 * ========================================================= */
.ts-floats{position:fixed;right:18px;bottom:24px;z-index:80;display:flex;flex-direction:column;gap:12px}
.ts-fbtn{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;cursor:pointer;border:none;color:#fff!important;box-shadow:0 6px 18px rgba(0,0,0,.22);transition:.2s;font-size:20px;position:relative;padding:0;margin:0;min-height:0;line-height:1}
.ts-fbtn:hover{transform:scale(1.08);color:#fff}
.ts-fbtn-call{background:#1f7a34}
.ts-fbtn-call::after{content:"";position:absolute;inset:-4px;border-radius:50%;border:2px solid #1f7a34;opacity:.6;animation:ts-ring 1.6s infinite}
.ts-fbtn-call svg{width:23px;height:23px;display:block;fill:#fff;position:relative;z-index:2}
.ts-fbtn-lbl{position:absolute;top:-8px;font-size:8px;background:#fff;color:#1c6b32;padding:1px 6px;border-radius:10px;font-weight:700;white-space:nowrap;z-index:3}
.ts-fbtn-zalo{background:#0068ff;font-weight:700;font-size:13px}
.ts-fbtn-up{background:#1f7a34}
@keyframes ts-ring{0%{transform:scale(1);opacity:.6}100%{transform:scale(1.35);opacity:0}}

/* ===== Fix hiển thị v1.0.1 ===== */
.ts-pcard .box-image,.ts-pcard .box-text{width:100%}
.ts-pcard-acts .button{white-space:nowrap;text-transform:none;font-size:13px;letter-spacing:0;min-height:34px;line-height:34px;padding:0 8px}
.header-main .header-nav{flex-wrap:nowrap}
.header-main .header-nav > li.html{white-space:nowrap}
.header-top .html_topbar_right,.header-top .ts-top-hotline{font-size:13px}
.footer-2 .widget ul > li,.footer-2 .widget > ul > li + li{border-top:0!important}
.ts-fcontact .ic svg{width:20px!important;height:20px!important;max-width:none}
.ts-fcontact li > span:last-child{min-width:0;overflow-wrap:anywhere}
.ts-fanpage2__av img{width:auto;height:auto}
.category .archive-page-header,.tag .archive-page-header{display:none}

/* v1.0.1b */
.ts-head-cart{font-size:22px!important;line-height:1}
.ts-head-cart img.emoji{width:22px!important;height:22px!important;max-height:none!important}
.ts-top-hotline b{margin-left:4px}
.ts-top-hotline img.emoji{margin-right:4px!important}

/* v1.0.2 */
.header-bottom .searchform .flex-col{width:auto}
.header-bottom .searchform .flex-grow{flex:1 1 auto;width:auto;min-width:0}
.header-bottom .searchform .search-field{width:100%}

/* v1.0.3 */
.ts-head-cart{display:inline-flex!important;min-width:28px}
.ts-head-cart img.emoji{display:inline-block!important;max-width:none!important;flex:0 0 22px;margin:0!important}

/* v1.0.4 */
.ts-search-form .searchform .ux-search-submit{background:#1f7a34!important;border-color:#1f7a34!important}
.ts-search-form .searchform .search-field{border-radius:8px 0 0 8px}

/* ===== v1.0.5: Thẻ bài viết (Kinh nghiệm chơi bonsai / Tin tức) ===== */
.ts-sec-news{background:linear-gradient(180deg,#fff 0%,#f4f8f1 100%)}
:is(.ts-news,.blog,.category,.tag) .post-item{padding-bottom:26px}
:is(.ts-news,.blog,.category,.tag) .post-item .col-inner{height:100%}
:is(.ts-news,.blog,.category,.tag) .box-blog-post{height:100%;display:flex;flex-direction:column;background:#fff;border:1px solid #e6ede3;border-radius:14px;overflow:hidden;box-shadow:0 6px 20px rgba(20,60,30,.06);transition:transform .25s ease,box-shadow .25s ease,border-color .25s}
:is(.ts-news,.blog,.category,.tag) .box-blog-post:hover{transform:translateY(-5px);box-shadow:0 16px 34px rgba(20,60,30,.14);border-color:#cfe0c9}
:is(.ts-news,.blog,.category,.tag) .box-blog-post .box-image{width:100%;position:relative;border-radius:0}
:is(.ts-news,.blog,.category,.tag) .box-blog-post .image-cover{padding-top:62%!important}
:is(.ts-news,.blog,.category,.tag) .box-blog-post .box-image img{transition:transform .6s ease}
:is(.ts-news,.blog,.category,.tag) .box-blog-post:hover .box-image img{transform:scale(1.07)}
:is(.ts-news,.blog,.category,.tag) .box-blog-post .box-image::after{content:"";position:absolute;inset:auto 0 0 0;height:40%;background:linear-gradient(transparent,rgba(15,61,26,.25));pointer-events:none}
:is(.ts-news,.blog,.category,.tag) .box-blog-post .box-text{flex:1;display:flex;flex-direction:column;padding:16px 18px 18px!important;text-align:left}
:is(.ts-news,.blog,.category,.tag) .box-blog-post .box-text-inner{display:flex;flex-direction:column;height:100%}
:is(.ts-news,.blog,.category,.tag) .box-blog-post .post-title{order:2;font-family:"Be Vietnam Pro",sans-serif;font-size:16px;font-weight:700;line-height:1.45;margin:0 0 10px;color:#1f2c22;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.9em}
:is(.ts-news,.blog,.category,.tag) .box-blog-post .post-title a{color:#1f2c22}
:is(.ts-news,.blog,.category,.tag) .box-blog-post:hover .post-title a{color:#1c6b32}
:is(.ts-news,.blog,.category,.tag) .box-blog-post .post-meta{order:1;display:inline-flex;align-items:center;gap:6px;align-self:flex-start;margin:0 0 10px;padding:3px 10px;border-radius:99px;background:#eef5ec;color:#1c6b32;font-size:12px;font-weight:600;opacity:1}
:is(.ts-news,.blog,.category,.tag) .box-blog-post .post-meta::before{content:"";width:12px;height:12px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2v2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2h-2V2h-2v2H9V2H7Zm12 8v10H5V10h14Z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2v2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2h-2V2h-2v2H9V2H7Zm12 8v10H5V10h14Z'/%3E%3C/svg%3E") center/contain no-repeat}
:is(.ts-news,.blog,.category,.tag) .box-blog-post .is-divider{display:none}
:is(.ts-news,.blog,.category,.tag) .box-blog-post .from_the_blog_excerpt{order:3;font-size:14px;line-height:1.65;color:#5b665b;margin:0 0 14px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
:is(.ts-news,.blog,.category,.tag) .box-blog-post .box-text-inner::after{order:9;content:"Đọc tiếp  →";margin-top:auto;padding-top:12px;border-top:1px dashed #dfe9dc;font-size:13px;font-weight:700;color:#1f7a34;letter-spacing:.2px;transition:letter-spacing .2s}
:is(.ts-news,.blog,.category,.tag) .box-blog-post:hover .box-text-inner::after{letter-spacing:.8px}
:is(.ts-news,.blog,.category,.tag) .box-blog-post .badge.post-date{top:12px;left:12px}
:is(.ts-news,.blog,.category,.tag) .box-blog-post .badge.post-date .badge-inner{background:#1f7a34;border:0;color:#fff;border-radius:10px;box-shadow:0 4px 12px rgba(0,0,0,.18)}
:is(.ts-news,.blog,.category,.tag) .box-blog-post .cat-label{order:0}
/* Cả thẻ bấm được (link phủ theo tiêu đề) */
:is(.ts-news,.blog,.category,.tag) .box-blog-post{position:relative}
:is(.ts-news,.blog,.category,.tag) .box-blog-post .post-title a::after{content:"";position:absolute;inset:0;z-index:2}
.ts-sec-news .button{margin-top:6px;border-radius:99px!important;padding:0 34px;box-shadow:0 8px 20px rgba(31,122,52,.22)}
@media (max-width:549px){
  :is(.ts-news,.blog,.category,.tag) .box-blog-post .post-title{font-size:15px;min-height:0}
  :is(.ts-news,.blog,.category,.tag) .box-blog-post .from_the_blog_excerpt{-webkit-line-clamp:2}
}

/* v1.0.6 */
:is(.ts-news,.blog,.category,.tag) .box-blog-post .post-title{display:block!important;min-height:0}
:is(.ts-news,.blog,.category,.tag) .box-blog-post .post-title a{display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.9em}

/* v1.0.7 */
:is(.ts-news,.blog,.category,.tag) .box-blog-post .post-title{display:block!important;line-height:1.45!important;height:2.9em;max-height:2.9em;overflow:hidden;-webkit-line-clamp:unset}
:is(.ts-news,.blog,.category,.tag) .box-blog-post .post-title a{display:inline!important;min-height:0;-webkit-line-clamp:unset;overflow:visible}

/* v1.0.8: hero + trang chính sách */
.ts-hero .text-box{top:auto!important;bottom:96px!important;transform:translate(-50%,0)!important}
.ts-hero .ts-hero-script{margin-bottom:18px}
.ts-hero-feats-sec{margin-top:-58px!important}
@media (max-width:849px){.ts-hero .text-box{bottom:76px!important}}
@media (max-width:549px){.ts-hero .text-box{bottom:56px!important}.ts-hero-feats-sec{margin-top:-36px!important}}
.ts-policy{font-size:15.5px;line-height:1.75;color:#364036}
.ts-policy h2{font-size:21px;color:#1c6b32;margin:26px 0 10px}
.ts-policy ul{margin-left:20px}
.ts-policy .ts-contact{background:#eef5ec;border-radius:12px;padding:18px 20px;margin-top:10px}

/* v1.0.9: nút Chi tiết / Zalo co theo chữ, không bị cắt */
.ts-pcard-acts{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}
.ts-pcard .ts-pcard-acts .button{flex:0 0 auto!important;width:auto!important;max-width:none!important;min-width:76px;padding:0 16px!important;margin:0!important;overflow:visible;box-sizing:border-box}
@media (max-width:549px){.ts-pcard .ts-pcard-acts .button{min-width:0;padding:0 12px!important}}
