/* GĐ4 11/11/2026 — danh mục + chi tiết SP. Mobile trước, desktop từ 850px. */

/* Đơn vị sau giá */
.kah-unit{font-weight:400;font-size:.85em;color:#555;white-space:nowrap}

/* Chip danh mục / thương hiệu */
.kah-chips{display:flex;gap:8px;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding:10px 0 4px;margin:0 0 6px;align-items:center}
.kah-chips::-webkit-scrollbar{display:none}
.kah-chip{flex:0 0 auto;display:inline-flex;align-items:center;min-height:36px;padding:6px 14px;border:1px solid #d6dbe3;border-radius:99px;background:#fff;color:#222;font-size:14px;line-height:1.3;white-space:nowrap;text-decoration:none}
.kah-chip span{color:#777;margin-left:3px;font-size:12px}
.kah-chip:hover,.kah-chip:focus-visible{border-color:#1877f2;color:#1877f2}
.kah-chip.is-active{background:#1877f2;border-color:#1877f2;color:#fff}
.kah-chip.is-active span{color:#e6efff}
.kah-chips-t{flex:0 0 auto;font-size:14px;color:#555;margin-right:2px}
.kah-active-filter{font-size:14px;margin:4px 0 8px}
.kah-active-filter a{margin-left:6px;color:#1877f2}

/* Ngăn kéo "Lọc" */
.kah-drawer{padding:20px 16px}
.kah-drawer-t{font-weight:700;font-size:15px;margin:0 0 10px;color:#222}
.kah-drawer-list{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:22px}
.kah-drawer .kah-chip{white-space:normal}

/* Danh mục cha: các khối danh mục con */
.kah-cat-sec{margin:18px 0 26px}
.kah-cat-sec-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px;border-bottom:1px solid #e8ebf0;padding-bottom:8px;margin-bottom:12px}
.kah-cat-sec-head h2{font-size:18px;font-weight:700;margin:0;line-height:1.3}
.kah-cat-sec-head h2 a{color:#222}
.kah-cat-sec-all{flex:0 0 auto;font-size:14px;color:#1877f2;white-space:nowrap;padding:8px 0}
@media (min-width:550px) and (max-width:849px){.kah-cat-sec .products>.col:nth-child(4){display:none}}

/* Thẻ sản phẩm */
.product-small .box-text .price-wrapper .price,.product-small .box-text .price-wrapper .price .amount{font-size:15px!important;font-weight:700}
.product-small .box-text .price-wrapper .kah-unit{font-size:13px!important}
.product-small .kah-spec-line{font-size:12px;color:#666;margin:3px 0;line-height:1.4}

/* Link giải pháp */
.kah-sol-link{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;background:#f3f7fe;border:1px solid #dbe7fb;border-radius:8px;padding:12px 14px;margin:18px 0}
.kah-sol-link-t{font-size:14px;color:#444}
.kah-sol-link a{font-size:15px;font-weight:700;color:#0a3d78;min-height:32px;display:inline-flex;align-items:center}

/* Mô tả danh mục thu gọn */
.kah-cat-desc{margin-top:10px}
.kah-cat-desc.is-collapsed{max-height:600px;overflow:hidden;position:relative}
.kah-cat-desc.is-collapsed:after{content:"";position:absolute;left:0;right:0;bottom:0;height:90px;background:linear-gradient(rgba(255,255,255,0),#fff)}
.kah-more{display:block;margin:6px auto 30px;min-height:44px;padding:0 26px;border:1px solid #1877f2;border-radius:99px;background:#fff;color:#1877f2;font-weight:700;font-size:15px;text-transform:none;letter-spacing:0}

/* Chi tiết SP */
.product-info .price-wrapper .price,.product-info .price-wrapper .price .amount{font-size:22px!important;font-weight:700}
.product-info .price-wrapper .kah-unit{font-size:16px!important}
@media (max-width:849px){
	.product-info{display:flex;flex-direction:column}
	.product-info>*{order:9}
	.product-info>.woocommerce-breadcrumb,.product-info>.breadcrumbs{order:1}
	.product-info>.product-title{order:2}
	.product-info>.price-wrapper{order:3}
	.product-info>.stock{order:4}
	.product-info>form.cart{order:5}
	.product-info>.product-short-description{order:7}
	.product-info>li{order:8;list-style:none;margin-left:0}
	.product-info>form.cart{margin-top:8px}
}
@media (min-width:850px){
	.kah-chips{flex-wrap:wrap;overflow:visible}
	.product-info .price-wrapper .price,.product-info .price-wrapper .price .amount{font-size:24px!important}
	.kah-cat-sec-head h2{font-size:22px}
	.kah-cat-sec{margin:24px 0 34px}
}

/* ===== GĐ5 11/11/2026 — blog, tìm kiếm, 404 ===== */
.archive-page-header .page-title{text-transform:none!important;letter-spacing:0;display:block!important;font-size:24px;font-weight:700;margin:12px 0 8px}
.category-blog .archive-page-header .taxonomy-description{display:none}
.kah-blog-nav{margin-bottom:6px}
.kah-blog-nav .kah-chips{padding-top:4px}
.kah-search-head{margin:6px 0 14px}
.kah-search-head .kah-sol-link{margin:10px 0 0}
.kah-tabs .kah-chip{min-height:40px;font-weight:700}
.kah-empty{margin:10px 0 30px}
.kah-empty p{margin-bottom:6px}
.kah-404-more{padding-bottom:40px}
.kah-search-posts{margin:30px 0 10px;padding:0}
.kah-sec-head-row{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:12px}
.kah-sec-head-row h2{font-size:20px;margin:0}
.kah-sec-head-row a{flex:0 0 auto;font-size:14px;color:#1877f2;padding:8px 0}
.kah-post-rel{margin:30px 0 10px;padding-top:20px;border-top:1px solid #e8ebf0}
.kah-post-rel h2{font-size:20px;margin:0 0 10px}
.kah-post-rel .kah-sol-link{margin:0 0 16px}
.kah-post-grid{list-style:none;margin:0;padding:0}
@media (min-width:850px){.kah-sec-head-row h2,.kah-post-rel h2{font-size:22px}}

/* GĐ4b 12/11/2026 — chữ "Từ" trước giá SP biến thể */
.kah-from{font-weight:400;font-size:.85em}
