/* banmat.vn v2 – giao dien trang trong (san pham, danh muc, bai viet, gio hang) dong bo voi trang chu.
   Mau/font lay tu token trang chu: xanh #1354A0, navy #09121E, Lora cho tieu de, Lexend cho chu. */
body.bm-v2:not(.home) { --bm-blue: #1354A0; --bm-blue-dk: #0B3670; --bm-ink: #09121E; --bm-md: #354F65; --bm-line: #CBD5DF; --bm-soft: #F2F5F8; font-family: 'Lexend', sans-serif; color: var(--bm-md); }
body.bm-v2:not(.home) p, body.bm-v2:not(.home) li, body.bm-v2:not(.home) td, body.bm-v2:not(.home) th { font-family: 'Lexend', sans-serif; }

/* Tieu de: Lora, navy, bo mau xam mac dinh cua Flatsome. */
body.bm-v2:not(.home) h1, body.bm-v2:not(.home) h2, body.bm-v2:not(.home) h3, body.bm-v2:not(.home) h4 {
	font-family: 'Lora', serif; color: var(--bm-ink); font-weight: 600; letter-spacing: 0; text-transform: none; line-height: 1.3; }
body.bm-v2:not(.home) .entry-content h2, body.bm-v2:not(.home) .woocommerce-Tabs-panel h2 { font-size: clamp(22px, 2.4vw, 28px); margin: 1.8em 0 .6em; }
body.bm-v2:not(.home) .entry-content h3, body.bm-v2:not(.home) .woocommerce-Tabs-panel h3 { font-size: clamp(18px, 2vw, 22px); margin: 1.5em 0 .5em; }
body.bm-v2:not(.home) .bm-page-hero h1 { color: #fff; }
body.bm-v2:not(.home) .entry-content a, body.bm-v2:not(.home) .woocommerce-Tabs-panel a { color: var(--bm-blue); }
body.bm-v2:not(.home) .entry-content a:hover, body.bm-v2:not(.home) .woocommerce-Tabs-panel a:hover { color: var(--bm-blue-dk); }

/* Bai viet: cot doc de doc, dong thoang. */
body.bm-v2.single-post .entry-content, body.bm-v2.single-post .entry-header { max-width: 760px; margin-left: auto; margin-right: auto; }
body.bm-v2.single-post .entry-content { font-size: 17px; line-height: 1.8; }
body.bm-v2.single-post .entry-content p { margin-bottom: 1.1em; }
body.bm-v2:not(.home) .entry-content img, body.bm-v2:not(.home) .wp-caption img { border-radius: 10px; }
body.bm-v2:not(.home) .wp-caption-text, body.bm-v2:not(.home) figcaption { font-size: 13px; color: #6E8FA6; background: transparent; padding: 8px 0 0; }
body.bm-v2:not(.home) blockquote { border-left: 4px solid var(--bm-blue); background: var(--bm-soft); padding: 14px 18px; margin: 1.4em 0; border-radius: 0 8px 8px 0; }

/* Trang san pham: tieu de, gia, nut mua. */
body.bm-v2.single-product h1.product-title { font-size: clamp(24px, 2.8vw, 32px); }
body.bm-v2:not(.home) .price, body.bm-v2:not(.home) .price .amount, body.bm-v2:not(.home) .price .woocommerce-Price-amount { color: var(--bm-blue); font-weight: 700; font-family: 'Lexend', sans-serif; }
body.bm-v2:not(.home) .single_add_to_cart_button, body.bm-v2:not(.home) .button.alt, body.bm-v2:not(.home) .checkout-button {
	background: var(--bm-blue); color: #fff; border-radius: 6px; text-transform: none; font-weight: 600; letter-spacing: .02em; box-shadow: none; transition: background .2s; }
body.bm-v2:not(.home) .single_add_to_cart_button:hover, body.bm-v2:not(.home) .button.alt:hover, body.bm-v2:not(.home) .checkout-button:hover { background: var(--bm-blue-dk); color: #fff; }
body.bm-v2:not(.home) .quantity input.qty { border-radius: 6px; }
body.bm-v2.single-product .product-images .woocommerce-product-gallery__wrapper { border-radius: 12px; overflow: hidden; border: 1px solid var(--bm-line); background: #fff; }
body.bm-v2.single-product .product_meta { font-size: 14px; border-top: 1px solid var(--bm-line); padding-top: 12px; }
body.bm-v2.single-product .woocommerce-tabs .nav > li > a { font-family: 'Lexend', sans-serif; font-weight: 600; color: var(--bm-ink); }
body.bm-v2.single-product .woocommerce-tabs .nav > li.active > a { border-color: var(--bm-blue); color: var(--bm-blue); }
body.bm-v2:not(.home) .product-section-title { font-family: 'Lora', serif; text-transform: none; letter-spacing: 0; font-size: 22px; color: var(--bm-ink); }

/* Bang thong tin / thong so. */
body.bm-v2:not(.home) .entry-content table, body.bm-v2:not(.home) .shop_attributes { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--bm-line); border-radius: 10px; overflow: hidden; margin: 1.2em 0; }
body.bm-v2:not(.home) .entry-content th, body.bm-v2:not(.home) .shop_attributes th { background: var(--bm-soft); color: var(--bm-ink); font-size: 13px; text-transform: none; letter-spacing: 0; width: 34%; }
body.bm-v2:not(.home) .entry-content td, body.bm-v2:not(.home) .entry-content th, body.bm-v2:not(.home) .shop_attributes td, body.bm-v2:not(.home) .shop_attributes th { padding: 11px 14px; border: 0; border-bottom: 1px solid var(--bm-line); }
body.bm-v2:not(.home) .entry-content tr:last-child td, body.bm-v2:not(.home) .entry-content tr:last-child th { border-bottom: 0; }

/* The san pham o danh muc / lien quan: khung vien, bo goc, hover noi len. */
body.bm-v2:not(.home) .product-small.box { border: 1px solid var(--bm-line); border-radius: 12px; overflow: hidden; background: #fff; transition: box-shadow .2s, transform .2s; }
body.bm-v2:not(.home) .product-small.box:hover { box-shadow: 0 10px 28px rgba(9,18,30,.1); transform: translateY(-2px); }
body.bm-v2:not(.home) .product-small .box-image { background: #fff; }
body.bm-v2:not(.home) .product-small .box-text { padding: 14px 16px 16px; text-align: left; }
body.bm-v2:not(.home) .product-small .name, body.bm-v2:not(.home) .product-small .name a { font-family: 'Lexend', sans-serif; font-size: 15px; font-weight: 500; color: var(--bm-ink); line-height: 1.4; }
body.bm-v2:not(.home) .product-small .price { font-size: 15px; }
body.bm-v2:not(.home) .product-small .category { font-size: 12px; text-transform: none; letter-spacing: 0; color: #6E8FA6; }

/* O nhap, phan trang, breadcrumb. */
body.bm-v2:not(.home) .woocommerce-ordering select, body.bm-v2:not(.home) input[type=text], body.bm-v2:not(.home) input[type=email], body.bm-v2:not(.home) input[type=tel], body.bm-v2:not(.home) input[type=search], body.bm-v2:not(.home) textarea { border-radius: 6px; border-color: var(--bm-line); box-shadow: none; }
body.bm-v2:not(.home) .page-numbers { border-radius: 6px; }
body.bm-v2:not(.home) .page-numbers.current { background: var(--bm-blue); border-color: var(--bm-blue); color: #fff; }
body.bm-v2:not(.home) .breadcrumbs, body.bm-v2:not(.home) .breadcrumbs a { font-size: 13px; text-transform: none; letter-spacing: 0; color: #6E8FA6; }
body.bm-v2:not(.home) .woocommerce-message, body.bm-v2:not(.home) .woocommerce-info { border-top-color: var(--bm-blue); border-radius: 6px; }

/* Hỏi đáp danh mục + bảng giá. */
.bm-faq { margin: 40px 0 8px; padding-top: 24px; border-top: 1px solid var(--bm-line); }
.bm-faq details { border: 1px solid var(--bm-line); border-radius: 10px; margin: 0 0 10px; background: #fff; }
.bm-faq summary { cursor: pointer; padding: 14px 18px; font-weight: 600; color: var(--bm-ink); list-style: none; }
.bm-faq summary::-webkit-details-marker { display: none; }
.bm-faq summary::after { content: '+'; float: right; color: var(--bm-blue); font-size: 20px; line-height: 1; }
.bm-faq details[open] summary::after { content: '–'; }
.bm-faq details p { margin: 0; padding: 0 18px 16px; line-height: 1.7; }
.bm-bg-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 12px 0 8px; }
.bm-bg-table { min-width: 520px; }
.bm-bg-note { font-size: 14px; color: #6E8FA6; }
.bm-gia-lh { color: var(--bm-blue); font-weight: 600; font-size: .9em; }
@media (max-width: 768px) {
	body.bm-v2.single-post .entry-content { font-size: 16px; }
	body.bm-v2:not(.home) .product-small .box-text { padding: 12px; }
}
