/*
Theme Name:        TL Store
Theme URI:         https://example.com/tl-store
Author:            TL Store
Description:       Theme bán hàng WooCommerce độc lập cho cửa hàng laptop, linh kiện và đồ công nghệ. Header 3 tầng (top bar – logo/tìm kiếm/hotline/giỏ hàng – thanh menu đỏ có menu danh mục dọc), lưới sản phẩm có viền, nhãn giảm giá hình ngôi sao, nút "Mua ngay", khung khuyến mãi, thanh toán rút gọn. Hỗ trợ các shortcode bố cục [section] [row] [col] [ux_slider] [ux_banner] [ux_products] [title] [block]... để giữ nội dung trang cũ.
Version:           1.4.3
Requires at least: 6.0
Tested up to:      6.8
Requires PHP:      7.4
WC requires at least: 7.0
WC tested up to:   9.9
License:           GNU General Public License v2 or later
License URI:       https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:       tl-store
Tags:              e-commerce, woocommerce, custom-colors, custom-logo, custom-menu, right-sidebar, left-sidebar, translation-ready
*/

/* ==========================================================================
   1. Biến & nền tảng
   ========================================================================== */
:root {
	--tl-primary: #ce0707;
	--tl-secondary: #e80104;
	--tl-vmenu: #e10000;
	--tl-price: #e40000;
	--tl-hover: #e31586;
	--tl-tab-light: #ffabac;
	--tl-dark: #b30e10;
	--tl-accent: #ffeb3b;
	--tl-cart-btn: #ff9800;
	--tl-footer: #262626;
	--tl-footer-btm: #151515;
	--tl-body-bg: #fff;
	--tl-text: #333;
	--tl-muted: #777;
	--tl-border: #ddd;
	--tl-border-light: #ececec;
	--tl-container: 1200px;
	--tl-vmenu-w: 217px;
	--tl-logo-width: 200px;
	--tl-font: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
	--tl-shadow: 2px 2px 10px rgba(0, 0, 0, .1);
	--tl-radius: 5px;
}

@font-face {
	font-family: "Ultra";
	src: url("assets/fonts/Ultra-Regular.ttf") format("truetype");
	font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.tl-no-scroll { overflow: hidden; }
body {
	margin: 0;
	font-family: var(--tl-font);
	font-size: 15px;
	line-height: 1.6;
	color: var(--tl-text);
	background: var(--tl-body-bg);
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; vertical-align: middle; border: 0; }
a { color: var(--tl-text); text-decoration: none; transition: color .2s; }
a:hover { color: var(--tl-hover); }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .6em; color: #111; font-weight: 700; line-height: 1.3; }
h1 { font-size: 1.7em; } h2 { font-size: 1.5em; } h3 { font-size: 1.25em; } h4 { font-size: 1.1em; } h5 { font-size: 1em; } h6 { font-size: .9em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.3em; }
table { width: 100%; border-collapse: collapse; margin-bottom: 1.1em; }
th, td { padding: .6em .5em; border-bottom: 1px solid var(--tl-border-light); text-align: left; }
blockquote { margin: 0 0 1.1em; padding: .8em 1.2em; border-left: 4px solid var(--tl-primary); background: #fafafa; }
hr { border: 0; border-top: 1px solid var(--tl-border-light); margin: 1.5em 0; }
iframe { max-width: 100%; }
figure { margin: 0 0 1.1em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { position: fixed !important; top: 5px; left: 5px; z-index: 100000; width: auto; height: auto; clip: auto; padding: 10px 15px; background: #fff; color: #000; }
.relative { position: relative; }
.fill { position: absolute; inset: 0; }
.clearfix::after { content: ""; display: table; clear: both; }
.text-center { text-align: center; } .text-left { text-align: left; } .text-right { text-align: right; }
.uppercase { text-transform: uppercase; }
.is-small, .is-small.button { font-size: .85em; } .is-xsmall { font-size: .75em; } .is-large { font-size: 1.15em; } .is-larger { font-size: 1.3em; }
.op-7 { opacity: .7; } .op-8 { opacity: .8; }
.mb, .mb-1 { margin-bottom: 15px; } .mb-0 { margin-bottom: 0 !important; } .pb-0 { padding-bottom: 0 !important; } .mt-0 { margin-top: 0 !important; }
.is-divider { display: none; }
.tl-edit-block { position: absolute; z-index: 5; font-size: 11px; background: var(--tl-accent); color: #000; padding: 1px 6px; opacity: .7; }
.tl-block { position: relative; }

/* ==========================================================================
   2. Lưới (container / row / col)
   ========================================================================== */
.container, .row { width: 100%; margin-left: auto; margin-right: auto; }
.container { max-width: var(--tl-container); padding-left: 15px; padding-right: 15px; }
.row { max-width: var(--tl-container); display: flex; flex-flow: row wrap; }
.row.row-full-width { max-width: 100% !important; }
.container .row:not(.row-collapse), .row .row:not(.row-collapse), .col-inner .row:not(.row-collapse) { margin-left: -15px; margin-right: -15px; width: auto; max-width: none; }
.col { position: relative; width: 100%; margin: 0; padding: 0 15px 30px; }
.col-inner { position: relative; width: 100%; margin-left: auto; margin-right: auto; background-size: cover; background-position: 50% 50%; background-repeat: no-repeat; }
.row-small > .col { padding: 0 9.8px 19.6px; }
.container .row-small:not(.row-collapse), .row .row-small:not(.row-collapse), .col-inner .row-small:not(.row-collapse) { margin-left: -9.8px; margin-right: -9.8px; }
.row-large > .col { padding: 0 30px 30px; }
.container .row-large:not(.row-collapse), .row .row-large:not(.row-collapse) { margin-left: -30px; margin-right: -30px; }
.row-collapse > .col, .row-collapse > .col > .col-inner { padding: 0 !important; }
.row-collapse { margin-left: 0 !important; margin-right: 0 !important; }
.row.align-middle, .row.align-center-middle { align-items: center; }
.row.align-bottom { align-items: flex-end; }
.row.align-equal > .col { display: flex; } .row.align-equal > .col > .col-inner { height: 100%; }
.row.align-center { justify-content: center; } .row.align-right { justify-content: flex-end; }
.row-reverse { flex-direction: row-reverse; }
.row-divided > .col + .col:not(.large-12) { border-left: 1px solid var(--tl-border-light); }
.row-dashed > .col > .col-inner { border: 1px dashed var(--tl-border); padding: 15px; }
.row-solid > .col > .col-inner { border: 1px solid var(--tl-border); padding: 15px; }
.row-box-shadow-1 .col-inner, .box-shadow-1 { box-shadow: 0 1px 3px -2px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.24); }
.row-box-shadow-2 .col-inner, .box-shadow-2 { box-shadow: 0 3px 6px -4px rgba(0,0,0,.16), 0 3px 6px rgba(0,0,0,.23); }
.row-box-shadow-3 .col-inner, .box-shadow-3 { box-shadow: 0 10px 20px rgba(0,0,0,.19), 0 6px 6px rgba(0,0,0,.22); }

.small-1 { flex-basis: 8.3333%; max-width: 8.3333%; } .small-2 { flex-basis: 16.6667%; max-width: 16.6667%; }
.small-3 { flex-basis: 25%; max-width: 25%; } .small-4 { flex-basis: 33.3333%; max-width: 33.3333%; }
.small-5 { flex-basis: 41.6667%; max-width: 41.6667%; } .small-6 { flex-basis: 50%; max-width: 50%; }
.small-7 { flex-basis: 58.3333%; max-width: 58.3333%; } .small-8 { flex-basis: 66.6667%; max-width: 66.6667%; }
.small-9 { flex-basis: 75%; max-width: 75%; } .small-10 { flex-basis: 83.3333%; max-width: 83.3333%; }
.small-11 { flex-basis: 91.6667%; max-width: 91.6667%; } .small-12 { flex-basis: 100%; max-width: 100%; }
.small-columns-1 > .col { flex-basis: 100%; max-width: 100%; } .small-columns-2 > .col { flex-basis: 50%; max-width: 50%; }
.small-columns-3 > .col { flex-basis: 33.3333%; max-width: 33.3333%; } .small-columns-4 > .col { flex-basis: 25%; max-width: 25%; }

@media (min-width: 550px) {
	.medium-1 { flex-basis: 8.3333%; max-width: 8.3333%; } .medium-2 { flex-basis: 16.6667%; max-width: 16.6667%; }
	.medium-3 { flex-basis: 25%; max-width: 25%; } .medium-4 { flex-basis: 33.3333%; max-width: 33.3333%; }
	.medium-5 { flex-basis: 41.6667%; max-width: 41.6667%; } .medium-6 { flex-basis: 50%; max-width: 50%; }
	.medium-7 { flex-basis: 58.3333%; max-width: 58.3333%; } .medium-8 { flex-basis: 66.6667%; max-width: 66.6667%; }
	.medium-9 { flex-basis: 75%; max-width: 75%; } .medium-10 { flex-basis: 83.3333%; max-width: 83.3333%; }
	.medium-11 { flex-basis: 91.6667%; max-width: 91.6667%; } .medium-12 { flex-basis: 100%; max-width: 100%; }
	.medium-columns-1 > .col { flex-basis: 100%; max-width: 100%; } .medium-columns-2 > .col { flex-basis: 50%; max-width: 50%; }
	.medium-columns-3 > .col { flex-basis: 33.3333%; max-width: 33.3333%; } .medium-columns-4 > .col { flex-basis: 25%; max-width: 25%; }
	.medium-columns-5 > .col { flex-basis: 20%; max-width: 20%; } .medium-columns-6 > .col { flex-basis: 16.6667%; max-width: 16.6667%; }
}
@media (min-width: 850px) {
	.large-1 { flex-basis: 8.3333%; max-width: 8.3333%; } .large-2 { flex-basis: 16.6667%; max-width: 16.6667%; }
	.large-3 { flex-basis: 25%; max-width: 25%; } .large-4 { flex-basis: 33.3333%; max-width: 33.3333%; }
	.large-5 { flex-basis: 41.6667%; max-width: 41.6667%; } .large-6 { flex-basis: 50%; max-width: 50%; }
	.large-7 { flex-basis: 58.3333%; max-width: 58.3333%; } .large-8 { flex-basis: 66.6667%; max-width: 66.6667%; }
	.large-9 { flex-basis: 75%; max-width: 75%; } .large-10 { flex-basis: 83.3333%; max-width: 83.3333%; }
	.large-11 { flex-basis: 91.6667%; max-width: 91.6667%; } .large-12 { flex-basis: 100%; max-width: 100%; }
	.large-columns-1 > .col { flex-basis: 100%; max-width: 100%; } .large-columns-2 > .col { flex-basis: 50%; max-width: 50%; }
	.large-columns-3 > .col { flex-basis: 33.3333%; max-width: 33.3333%; } .large-columns-4 > .col { flex-basis: 25%; max-width: 25%; }
	.large-columns-5 > .col { flex-basis: 20%; max-width: 20%; } .large-columns-6 > .col { flex-basis: 16.6667%; max-width: 16.6667%; }
	.large-columns-7 > .col { flex-basis: 14.2857%; max-width: 14.2857%; } .large-columns-8 > .col { flex-basis: 12.5%; max-width: 12.5%; }
}

.flex-row { display: flex; flex-flow: row nowrap; align-items: center; justify-content: space-between; width: 100%; }
.flex-col { max-height: 100%; }
.flex-grow { flex: 1; }
.flex-left { margin-right: auto; } .flex-right { margin-left: auto; }

/* Ẩn / hiện theo màn hình */
@media (max-width: 549px) { .hide-for-small, .show-for-medium.hide-for-small, [data-show="hide-for-small"] { display: none !important; } }
@media (min-width: 550px) { .show-for-small { display: none !important; } }
@media (min-width: 850px) { .show-for-medium { display: none !important; } }
@media (max-width: 849px) { .hide-for-medium { display: none !important; } }
.hidden { display: none !important; }

/* ==========================================================================
   3. Nút & form
   ========================================================================== */
.button, button, input[type="submit"], input[type="button"], input[type="reset"], .woocommerce a.button, .woocommerce button.button {
	display: inline-block;
	position: relative;
	margin: 0 1em 1em 0;
	padding: 0 1.2em;
	min-height: 2.5em;
	line-height: 2.4em;
	font-family: inherit;
	font-size: .97em;
	font-weight: 700;
	letter-spacing: 0;
	text-align: center;
	text-decoration: none;
	vertical-align: middle;
	color: #fff;
	background-color: var(--tl-primary);
	border: 1px solid transparent;
	border-radius: 4px;
	cursor: pointer;
	transition: transform .2s, background-color .2s, box-shadow .2s, opacity .2s;
	-webkit-appearance: none;
}
.button:hover, button:hover, input[type="submit"]:hover { color: #fff; box-shadow: inset 0 0 0 100px rgba(0,0,0,.15); }
.button.secondary, .button.alt { background-color: var(--tl-secondary); }
.button.success { background-color: #7a9c59; } .button.alert { background-color: #b20000; }
.button.white { background: #fff; color: #333; }
.button.is-outline { background: transparent; border: 2px solid currentColor; color: var(--tl-primary); }
.button.is-outline.white { color: #fff; }
.button.is-outline:hover { background: var(--tl-primary); border-color: var(--tl-primary); color: #fff; box-shadow: none; }
.button.is-link, .button.is-underline { background: none; color: var(--tl-primary); padding: 0; }
.button.is-underline { text-decoration: underline; }
.button.is-small { font-size: .8em; } .button.is-large { font-size: 1.15em; } .button.is-larger { font-size: 1.3em; }
.button.expand { display: block; width: 100%; margin-right: 0; }
.button.lowercase { text-transform: none; }
.button.disabled, .button:disabled, button:disabled { opacity: .5; cursor: not-allowed; }
.button.loading { color: transparent !important; pointer-events: none; }
.button.loading::after { content: ""; position: absolute; top: 50%; left: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border: 2px solid #fff; border-right-color: transparent; border-radius: 50%; animation: tl-spin .5s linear infinite; }
@keyframes tl-spin { to { transform: rotate(360deg); } }

input[type="text"], input[type="email"], input[type="search"], input[type="number"], input[type="tel"], input[type="url"], input[type="password"], input[type="date"], textarea, select {
	width: 100%;
	max-width: 100%;
	height: 2.6em;
	padding: 0 .75em;
	margin-bottom: 1em;
	font-family: inherit;
	font-size: .97em;
	color: #333;
	background: #fff;
	border: 1px solid var(--tl-border);
	border-radius: 5px;
	box-shadow: inset 0 1px 2px rgba(0,0,0,.06);
	transition: border-color .2s, box-shadow .2s;
	-webkit-appearance: none;
}
textarea { height: auto; min-height: 120px; padding: .6em .75em; }
select { padding-right: 2em; background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%23666' d='M6 8 0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .7em center; background-size: 9px; }
input:focus, textarea:focus, select:focus { outline: 0; border-color: var(--tl-primary); box-shadow: 0 0 0 2px color-mix(in srgb, var(--tl-primary) 15%, transparent); }
label { display: block; margin-bottom: .35em; font-size: .92em; font-weight: 700; }
input[type="checkbox"], input[type="radio"] { display: inline; margin-right: 6px; }
input[type="checkbox"] + label, input[type="radio"] + label { display: inline; font-weight: 400; }

/* ==========================================================================
   4. Header
   ========================================================================== */
.header { position: relative; z-index: 50; }
.header-wrapper { position: relative; }

/* Top bar */
.header-top { background: var(--tl-primary); color: #fff; font-size: 13px; min-height: 32px; }
.header-top .container { min-height: 32px; }
.header-top a { color: #fff; }
.header-top a:hover { color: var(--tl-accent); }
.about-header { display: flex; align-items: center; gap: 8px; height: 25px; }
.about-header > .fa { opacity: .9; }
.menu-top { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.menu-top li { padding: 0 8px; border-right: 1px solid rgba(255,255,255,.7); line-height: 12px; }
.menu-top li:first-child { padding-left: 0; }
.menu-top li:last-child { border-right: 0; }
.services-top { display: flex; gap: 0; }
.services-top a { color: #fff; padding-left: 14px; white-space: nowrap; }
.services-top a .fa { margin-right: 4px; }

/* Header chính */
.header-main { background: #fff; box-shadow: 2px 2px 10px rgba(0,0,0,.14); position: relative; z-index: 10; }
.header-inner { gap: 20px; min-height: 92px; }
.logo { margin: 0; font-size: 1em; line-height: 1; }
.logo-col { flex: 0 0 auto; width: var(--tl-logo-width); max-width: 45%; }
.logo img, .logo .custom-logo { max-height: 70px; width: auto; max-width: 100%; display: block; }
.logo-text { font-size: 26px; font-weight: 700; color: var(--tl-primary); text-transform: uppercase; }

/* Tìm kiếm */
.header-search { max-width: 520px; }
.tl-search { display: flex; align-items: stretch; width: 100%; height: 43px; border: 2px solid var(--tl-primary); border-radius: 5px; background: #fff; overflow: hidden; }
.tl-search .search_categories { flex: 0 0 auto; width: auto; max-width: 140px; height: 100%; margin: 0; border: 0; border-right: 1px solid var(--tl-border); border-radius: 0; box-shadow: none; font-size: 13px; background-color: #f5f5f5; }
.tl-search .search-field { flex: 1; min-width: 0; height: 100%; margin: 0; border: 0; border-radius: 0; box-shadow: none; font-size: 14px; }
.tl-search .search-submit { flex: 0 0 54px; height: 100%; margin: 0; padding: 0; border-radius: 0; font-size: 17px; line-height: 1; background: var(--tl-primary); }
.tl-search-mobile { height: 38px; }

/* Ô hotline */
.html_top_right_text { display: flex; gap: 15px; padding-left: 20px; }
.html_top_right_text .item { position: relative; display: block; min-width: 160px; height: 62px; padding: 7px 18px 5px 30px; border: 1px solid var(--tl-border); border-radius: 5px; line-height: 1.35; }
.html_top_right_text .item > .fa { position: absolute; left: -20px; top: 10px; width: 40px; height: 40px; line-height: 38px; text-align: center; font-size: 22px; color: var(--tl-secondary); background: #fff; border: 1px solid var(--tl-border); border-radius: 50%; }
.html_top_right_text .item span { display: block; font-size: 13px; color: #000; }
.html_top_right_text .item b { display: block; font-size: 17px; color: var(--tl-secondary); font-style: italic; white-space: nowrap; }
.html_top_right_text .hotline b { font-size: 20px; }

/* Giỏ hàng */
.tl-cart { position: relative; }
.tl-cart-link { display: flex; align-items: center; gap: 8px; position: relative; color: #333; }
.tl-cart-link > .fa { font-size: 26px; color: var(--tl-primary); }
.tl-cart-text { font-size: 13px; line-height: 1.3; }
.tl-cart-text b { display: block; font-size: 14px; color: var(--tl-secondary); }
.tl-cart-text .amount { font-weight: 700; }
.cart-count { position: absolute; top: -7px; left: 16px; min-width: 19px; height: 19px; padding: 0 4px; line-height: 19px; text-align: center; font-size: 11px; font-weight: 700; color: #fff; background: #ffa000; border-radius: 99px; }
.tl-cart-dropdown { position: absolute; right: 0; top: 100%; z-index: 100; width: 320px; padding-top: 12px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s; }
.tl-cart.has-dropdown:hover .tl-cart-dropdown, .tl-cart.has-dropdown:focus-within .tl-cart-dropdown { opacity: 1; visibility: visible; transform: none; }
.tl-cart-dropdown .widget_shopping_cart_content { padding: 15px; background: #fff; border: 1px solid var(--tl-border-light); border-top: 2px solid var(--tl-primary); border-radius: 0 0 5px 5px; box-shadow: 0 6px 20px rgba(0,0,0,.15); }
.tl-menu-toggle { margin: 0; padding: 0 6px; min-height: 0; line-height: 1; background: none; color: #333; font-size: 24px; }
.tl-menu-toggle:hover { color: var(--tl-primary); box-shadow: none; }
.tl-cart-mobile .tl-cart-link > .fa { font-size: 24px; }
.header-search-mobile { padding-bottom: 10px; }

/* Thanh menu đỏ */
.header-bottom { background: var(--tl-primary); position: relative; z-index: 9; }
.header-bottom > .container { min-height: 44px; align-items: stretch; }
.header-bottom .flex-col { display: flex; align-items: center; }
.header-bottom.stuck { position: fixed; top: 0; left: 0; right: 0; z-index: 99; box-shadow: 0 2px 8px rgba(0,0,0,.25); animation: tl-down .3s; }
.admin-bar .header-bottom.stuck { top: 32px; }
@keyframes tl-down { from { transform: translateY(-100%); } to { transform: none; } }

/* Menu danh mục dọc */
.tl-vmenu { position: relative; width: var(--tl-vmenu-w); height: 100%; background: var(--tl-vmenu); align-self: stretch; }
.tl-vmenu::before, .tl-vmenu::after { content: ""; position: absolute; top: 0; width: 5px; height: 100%; }
.tl-vmenu::before { left: 2px; box-shadow: -3px 0 3px 0 var(--tl-dark); }
.tl-vmenu::after { right: 2px; box-shadow: 3px 0 3px 0 var(--tl-dark); }
.tl-vmenu-title { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; height: 100%; min-height: 44px; padding: 0 15px; font-weight: 700; font-size: 14px; color: #fff; text-transform: uppercase; cursor: pointer; white-space: nowrap; }
.tl-vmenu-dropdown { position: absolute; left: 0; top: 100%; z-index: 30; width: 100%; background: #fff; border: 1px solid var(--tl-border); border-top: 0; display: none; }
.tl-vmenu:hover .tl-vmenu-dropdown, .tl-vmenu:focus-within .tl-vmenu-dropdown { display: block; }
body.tl-vmenu-open:not(.tl-is-stuck) .tl-vmenu-dropdown { display: block; }
.tl-vmenu-list { margin: 0; padding: 0; list-style: none; }
.tl-vmenu-list > li { position: relative; border-top: 1px solid #eee; }
.tl-vmenu-list > li:first-child { border-top: 0; }
.tl-vmenu-list > li > a { display: flex; align-items: center; gap: 8px; padding: 8.5px 20px 8.5px 15px; font-size: 14px; color: #000; }
.tl-vmenu-list > li > a > img { width: 20px; height: 20px; object-fit: contain; }
.tl-vmenu-list > li.menu-item-has-children > a::after { content: "\f105"; font-family: "Font Awesome 5 Free"; font-weight: 900; margin-left: auto; color: #999; }
.tl-vmenu-list > li:hover > a { color: var(--tl-primary); background: #f7f7f7; }
.tl-vmenu-list .sub-menu { position: absolute; left: 100%; top: -1px; min-width: 230px; min-height: calc(100% + 2px); margin: 0; padding: 8px 0; list-style: none; background: #fff; border: 1px solid var(--tl-border); box-shadow: 4px 4px 14px rgba(0,0,0,.1); display: none; }
.tl-vmenu-list li:hover > .sub-menu { display: block; }
.tl-vmenu-list .sub-menu a { display: block; padding: 6px 18px; font-size: 14px; }
.tl-vmenu-list .sub-menu .sub-menu { position: static; display: block; border: 0; box-shadow: none; min-height: 0; padding: 0 0 0 10px; }

/* Menu chính */
.tl-primary-nav { padding-left: 15px; min-width: 0; }
.header-bottom-nav { display: flex; flex-wrap: nowrap; align-items: stretch; height: 100%; margin: 0; padding: 0; list-style: none; }
.header-bottom-nav > li { position: relative; display: flex; align-items: center; padding: 0 12px; white-space: nowrap; }
.header-bottom-nav > li:first-child { padding-left: 0; }
.header-bottom-nav > li > a { display: flex; align-items: center; gap: 4px; height: 100%; min-height: 44px; font-size: 14px; font-weight: 700; color: #fff; }
.header-bottom-nav > li > a .fa, .header-bottom-nav > li > a i { padding-right: 4px; }
.header-bottom-nav > li.menu-item-has-children > a::after { content: "\f107"; font-family: "Font Awesome 5 Free"; font-weight: 900; margin-left: 3px; font-size: 13px; }
.header-bottom-nav > li > a:hover, .header-bottom-nav > li.current-menu-item > a, .header-bottom-nav > li.current-menu-ancestor > a { color: var(--tl-accent); }
.header-bottom-nav .sub-menu { position: absolute; left: 0; top: 100%; z-index: 40; min-width: 220px; margin: 0; padding: 0; list-style: none; background: var(--tl-primary); box-shadow: 0 6px 14px rgba(0,0,0,.2); opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .2s; }
.header-bottom-nav li:hover > .sub-menu, .header-bottom-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.header-bottom-nav .sub-menu li { position: relative; }
.header-bottom-nav .sub-menu a { display: block; padding: 9px 18px; font-size: 14px; color: #fff; }
.header-bottom-nav .sub-menu li:hover { background: #000; }
.header-bottom-nav .sub-menu .sub-menu { left: 100%; top: 0; }

/* Mục bên phải thanh menu */
.tl-nav-right { gap: 14px; padding-left: 10px; }
.tl-nav-right a { display: flex; align-items: center; gap: 6px; max-width: 105px; color: #fff; font-weight: 700; font-size: 12px; line-height: 1.2; }
.tl-nav-right a .icon { font-size: 22px; color: var(--tl-accent); }
.tl-nav-right a:hover { color: var(--tl-accent); }
@media (max-width: 1365px) { .tl-nav-right a span { display: none; } .tl-nav-right a { max-width: none; } }

/* ==========================================================================
   5. Menu mobile
   ========================================================================== */
.tl-offcanvas { position: fixed; inset: 0; z-index: 1000; visibility: hidden; }
.tl-offcanvas.is-open { visibility: visible; }
.tl-offcanvas-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.55); opacity: 0; transition: opacity .25s; }
.tl-offcanvas.is-open .tl-offcanvas-overlay { opacity: 1; }
.tl-offcanvas-panel { position: absolute; left: 0; top: 0; bottom: 0; width: 300px; max-width: 86vw; overflow-y: auto; background: #fff; transform: translateX(-100%); transition: transform .25s; padding: 50px 0 30px; }
.tl-offcanvas.is-open .tl-offcanvas-panel { transform: none; }
.tl-offcanvas-close { position: absolute; top: 6px; right: 6px; margin: 0; padding: 0 10px; background: none; color: #333; font-size: 22px; }
.tl-offcanvas-close:hover { box-shadow: none; color: var(--tl-primary); }
.tl-offcanvas-search { padding: 0 15px 15px; }
.tl-offcanvas-heading { margin-top: 10px; padding: 10px 20px; font-weight: 700; font-size: 14px; color: #fff; background: var(--tl-primary); text-transform: uppercase; }
.tl-offcanvas .nav-vertical, .tl-offcanvas .tl-vmenu-list { margin: 0; padding: 0; list-style: none; }
.tl-offcanvas .nav-vertical li, .tl-offcanvas .tl-vmenu-list li { position: relative; border-top: 1px solid #eee; }
.tl-offcanvas .nav-vertical a, .tl-offcanvas .tl-vmenu-list a { display: block; padding: 12px 50px 12px 20px; font-size: 16px; color: #000; }
.tl-offcanvas .tl-vmenu-list > li.menu-item-has-children > a::after { display: none; }
.tl-offcanvas .sub-menu { display: none; margin: 0; padding: 0 0 0 15px; list-style: none; background: #fafafa; position: static; box-shadow: none; border: 0; min-width: 0; opacity: 1; visibility: visible; transform: none; }
.tl-offcanvas li.is-open > .sub-menu { display: block; }
.tl-offcanvas .sub-menu a { font-size: 15px; padding: 9px 20px; }
.tl-sub-toggle { position: absolute; right: 0; top: 0; width: 48px; height: 46px; margin: 0; padding: 0; background: none; color: #666; border-left: 1px solid #eee; border-radius: 0; }
.tl-sub-toggle:hover { box-shadow: none; color: var(--tl-primary); }
.tl-offcanvas li.is-open > .tl-sub-toggle .fa { transform: rotate(180deg); }
.tl-offcanvas-hotline { display: block; margin: 20px 15px 0; padding: 10px; text-align: center; font-weight: 700; font-size: 18px; color: #fff; background: var(--tl-secondary); border-radius: 5px; }
.tl-offcanvas-hotline:hover { color: #fff; }

/* ==========================================================================
   6. Tiêu đề khối (tab đỏ)
   ========================================================================== */
.section-title-container { margin-bottom: 0; }
.section-title { position: relative; display: flex; align-items: center; width: 100%; margin: 0 0 20px; font-size: 1.2em; }
.section-title b { display: block; flex: 1; height: 2px; opacity: .1; background: currentColor; }
.section-title-main { display: inline-block; }
.section-title-normal { align-items: flex-end; overflow: hidden; border-bottom: 2px solid var(--tl-primary); }
.section-title-normal b { display: none; }
.section-title-normal span.section-title-main {
	position: relative;
	flex: 0 0 auto;
	margin-right: 20px;
	padding: 7px 20px;
	font-size: 20px;
	line-height: 26px;
	font-weight: 700;
	text-transform: uppercase;
	color: #fff;
	background: var(--tl-secondary);
	border-radius: 5px 5px 0 0;
}
.section-title-normal span.section-title-main::before { content: ""; position: absolute; top: 8px; right: 0; width: 15px; height: 40px; margin-right: -13px; background: var(--tl-tab-light); transform: skewX(13deg); border-radius: 0 5px 0 0; }
.section-title-normal span.section-title-main::after { content: ""; position: absolute; top: 0; right: 0; width: 18px; height: 40px; margin-right: -7px; background: var(--tl-secondary); transform: skewX(21deg); border-radius: 0 5px 0 0; }
.section-title-normal span.section-title-main .fa { margin-right: 4px; color: var(--tl-accent); }
.section-title-normal .sub-title { display: block; font-size: 12px; font-weight: 400; text-transform: none; }
.section-title-center { justify-content: center; text-align: center; }
.section-title-center span, .section-title-bold-center span { margin: 0 15px; text-transform: uppercase; }
.section-title-bold b { height: 3px; opacity: .15; }
.section-title-bold span.section-title-main, .section-title-bold-center span.section-title-main { padding: 4px 15px; border: 2px solid rgba(0,0,0,.1); text-transform: uppercase; }
.hdevvn-show-cats { display: flex; flex: 1; align-self: center; flex-wrap: nowrap; overflow: hidden; margin: 0 0 0 10px; padding: 0; list-style: none; }
.hdevvn-show-cats li { display: block; margin: 0 8px; white-space: nowrap; }
.hdevvn-show-cats li a { font-size: 15px; font-weight: 400; text-transform: none; color: #000 !important; }
.hdevvn-show-cats li a:hover { color: var(--tl-primary) !important; }
.section-title a.link-xem-them { margin-left: auto; padding-bottom: 5px; align-self: center; font-size: 14px; font-weight: 400; white-space: nowrap; color: var(--tl-secondary); }
.section-title a.link-xem-them:hover { color: var(--tl-primary); text-decoration: underline; }
.section-category .section-title { margin-bottom: 15px; }
.section-category h1.section-title span.section-title-main { padding: 7px 14px; font-size: 20px; }

/* ==========================================================================
   7. Trang chủ
   ========================================================================== */
.home-default { padding-bottom: 20px; }
.home-hero { padding: 12px 0 0; }
.home-hero-grid { display: grid; grid-template-columns: var(--tl-vmenu-w) minmax(0, 1fr) 25%; gap: 10px; margin-bottom: 10px; }
.home-hero-grid.no-banners { grid-template-columns: var(--tl-vmenu-w) minmax(0, 1fr); }
body:not(.tl-vmenu-open) .home-hero-grid { grid-template-columns: minmax(0, 1fr) 25%; }
body:not(.tl-vmenu-open) .home-hero-grid.no-banners { grid-template-columns: 1fr; }
body:not(.tl-vmenu-open) .home-hero-grid .div-danh-muc { display: none; }
.div-slide { min-width: 0; }
.div-slide .tl-slider { border-radius: 4px; overflow: hidden; }
.tl-slide { position: relative; }
.tl-slide img { display: block; width: 100%; height: auto; }
.tl-slide-demo { display: flex; align-items: center; justify-content: center; min-height: 360px; padding: 30px; color: #fff; text-align: center; background: linear-gradient(135deg, var(--tl-primary), #7a0000); }
.tl-slide-demo-2 { background: linear-gradient(135deg, #1e3c72, #2a5298); }
.tl-slide-demo-3 { background: linear-gradient(135deg, #ff8008, #e10000); }
.tl-slide-demo strong { display: block; font-family: "Ultra", var(--tl-font); font-size: 40px; line-height: 1.2; font-weight: 400; text-shadow: 0 3px 8px rgba(0,0,0,.3); }
.tl-slide-demo span { display: block; margin-top: 10px; font-size: 20px; }
.tl-slide-demo small { display: block; margin-top: 18px; font-size: 12px; opacity: .8; }
.div-banner { display: flex; flex-direction: column; gap: 10px; }
.tl-banner-img { display: block; overflow: hidden; border-radius: 4px; position: relative; }
.tl-banner-img img { display: block; width: 100%; transition: transform .4s; }
.tl-banner-img:hover img { transform: scale(1.04); }
.banner-section { margin-bottom: 0; }
.home-section { padding: 10px 0 15px; }
.home-section > .container > .tl-carousel, .home-section > .container > .products { margin-top: 0; }

/* Dòng chữ chạy */
#home-contact { display: flex; height: 40px; line-height: 40px; margin: 5px 0 15px; color: #fff; background: #000; overflow: hidden; }
#home-contact .title { position: relative; flex: 0 0 auto; padding: 0 5px 0 15px; font-size: 14px; font-weight: 700; color: #fff; background: var(--tl-primary); white-space: nowrap; }
#home-contact .title::after { content: ""; position: absolute; right: -40px; top: 0; border: 20px solid transparent; border-left-color: var(--tl-primary); }
#home-contact .marquee { flex: 1; overflow: hidden; margin-left: 45px; position: relative; }
#home-contact .marquee-inner { display: inline-block; white-space: nowrap; padding-left: 100%; animation: tl-marquee 25s linear infinite; }
#home-contact .marquee:hover .marquee-inner { animation-play-state: paused; }
@keyframes tl-marquee { to { transform: translateX(-100%); } }

/* ==========================================================================
   8. Carousel
   ========================================================================== */
.tl-carousel { position: relative; }
.tl-carousel-track { display: flex !important; flex-wrap: nowrap !important; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.tl-carousel-track::-webkit-scrollbar { display: none; }
.tl-carousel-track > * { flex-shrink: 0; scroll-snap-align: start; }
.tl-slider .tl-carousel-track > * { flex: 0 0 var(--slide-width, 100%); max-width: var(--slide-width, 100%); }
.tl-slider .tl-carousel-track > style { display: none; }
.tl-nav { position: absolute; top: 50%; z-index: 5; width: 36px; height: 52px; margin: -26px 0 0; padding: 0; line-height: 1; font-size: 26px; color: #333; background: rgba(255,255,255,.92); border: 1px solid var(--tl-border-light); border-radius: 4px; box-shadow: 0 2px 6px rgba(0,0,0,.12); opacity: 0; transition: opacity .2s, left .2s, right .2s; }
.tl-prev { left: 0; } .tl-next { right: 0; }
.tl-carousel:hover .tl-nav { opacity: 1; }
.tl-carousel:not(.tl-has-overflow) .tl-nav { display: none; }
.tl-nav:hover { color: #fff; background: var(--tl-primary); box-shadow: none; }
.tl-slider .tl-nav { width: 40px; height: 40px; margin-top: -20px; border-radius: 50%; background: rgba(0,0,0,.35); color: #fff; border: 0; font-size: 22px; }
.tl-slider .tl-prev { left: 12px; } .tl-slider .tl-next { right: 12px; }
.tl-dots { position: absolute; left: 0; right: 0; bottom: 10px; z-index: 5; display: flex; justify-content: center; gap: 6px; }
.tl-dots button { width: 10px; height: 10px; min-height: 0; margin: 0; padding: 0; background: rgba(255,255,255,.55); border: 1px solid rgba(0,0,0,.15); border-radius: 50%; }
.tl-dots button.active { background: #fff; width: 22px; border-radius: 6px; }
@media (hover: none) { .tl-nav { opacity: .9; } }

/* ==========================================================================
   9. Ô sản phẩm
   ========================================================================== */
.products.row { margin-bottom: 15px; }
.product-small.col { padding-bottom: 19.6px; }
.product-small .col-inner { height: 100%; }
.product-small.box { position: relative; height: 100%; background: #fff; display: flex; flex-direction: column; }
.product-small .box-image { position: relative; overflow: hidden; padding: 15px; text-align: center; border-top-left-radius: 5px; border-top-right-radius: 5px; }
.product-small .box-image img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; transition: transform .35s; }
.product-small:hover .box-image img { transform: scale(1.04); }
.product-small .box-image::before { content: ""; position: absolute; top: 0; left: -75%; z-index: 2; display: block; width: 50%; height: 100%; background: linear-gradient(to right, rgba(255,255,255,0) 0, rgba(255,255,255,.3) 100%); transform: skewX(-25deg); pointer-events: none; }
.product-small .box-image:hover::before, .post-item .box-image:hover::before { animation: tl-shine .75s; }
@keyframes tl-shine { 100% { left: 125%; } }
.out-of-stock-label { position: absolute; left: 0; right: 0; top: 45%; padding: 6px; text-align: center; font-weight: 700; font-size: 13px; text-transform: uppercase; color: #fff; background: rgba(0,0,0,.6); }
.product-small .box-text { position: relative; flex: 1; padding: 6px 10px 12px; text-align: center; }
.product-small .category { margin: 0 0 3px; font-size: 11px; text-transform: uppercase; color: #8bc34a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-small .product-title { height: 40px; margin: 0 0 9px; overflow: hidden; font-size: 14px; line-height: 20px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.product-small .product-title a { color: #000; }
.product-small .product-title a:hover { color: var(--tl-hover); }
.product-small .star-rating { margin: 0 auto 6px; }

/* Lưới có viền (trang chủ, danh mục) */
.row-sp.products, .category-page-row .products, .row-sp .products { border-top: 1px solid var(--tl-border); border-left: 1px solid var(--tl-border); background: #fff; }
.container .row-sp.products, .col-inner .products.row-sp, .category-page-row .products, .col-inner .row-sp .products, .row-sp .col-inner .products, .container .row-sp .products { margin-left: 0 !important; margin-right: 0 !important; }
.row-sp.products > .product-small.col, .category-page-row .products > .product-small.col, .row-sp .products > .product-small.col { padding: 6px 0 0 !important; border-right: 1px solid var(--tl-border); border-bottom: 1px solid var(--tl-border); }
.tl-carousel .row-sp.products, .tl-carousel .row-sp .products { border-left: 0; }
.tl-carousel .row-sp.products > .product-small.col:first-child { border-left: 1px solid var(--tl-border); }

/* Giá */
.price { display: block; color: var(--tl-price); font-weight: 700; }
.price .amount { white-space: nowrap; }
.price del { display: inline-block; margin-right: 6px; color: #888; font-weight: 400; font-size: 13px; opacity: .9; }
.price del .amount { font-size: 13px !important; color: #888 !important; text-shadow: none !important; font-weight: 400 !important; }
.price ins { text-decoration: none; }
.woocommerce-Price-currencySymbol { padding-left: 2px; font-size: .75em; }
.product-small .price-wrapper { line-height: 1.3; }
.product-small .price .amount { font-size: 17px; font-weight: 700; color: var(--tl-price); text-shadow: 2px 0 0 #fff, -2px 0 0 #fff, 0 2px 0 #fff, 0 -2px 0 #fff, 0 3px 5px rgba(34,13,13,.35); }
.product-small .price del { display: block; margin: 0 0 1px; }
.product-small .price ins { display: block; }

/* Nhãn giảm giá */
.badge-container { position: absolute; top: 10px; right: 6px; z-index: 5; pointer-events: none; }
.badge.on-sale { display: flex; align-items: center; justify-content: center; width: 49px; height: 49px; background: var(--tl-secondary); clip-path: polygon(50.0% 0.0%,56.4% 9.5%,65.5% 2.4%,68.6% 13.5%,79.4% 9.5%,79.0% 21.0%,90.5% 20.6%,86.5% 31.4%,97.6% 34.5%,90.5% 43.6%,100.0% 50.0%,90.5% 56.4%,97.6% 65.5%,86.5% 68.6%,90.5% 79.4%,79.0% 79.0%,79.4% 90.5%,68.6% 86.5%,65.5% 97.6%,56.4% 90.5%,50.0% 100.0%,43.6% 90.5%,34.5% 97.6%,31.4% 86.5%,20.6% 90.5%,21.0% 79.0%,9.5% 79.4%,13.5% 68.6%,2.4% 65.5%,9.5% 56.4%,0.0% 50.0%,9.5% 43.6%,2.4% 34.5%,13.5% 31.4%,9.5% 20.6%,21.0% 21.0%,20.6% 9.5%,31.4% 13.5%,34.5% 2.4%,43.6% 9.5%); }
.badge.on-sale .onsale { font-size: 12px; font-weight: 700; color: #fff; letter-spacing: -.3px; }
.product-gallery .badge-container { top: 15px; right: 15px; }
.product-gallery .badge.on-sale { width: 58px; height: 58px; }
.product-gallery .badge.on-sale .onsale { font-size: 14px; }

/* Sao đánh giá */
.star-rating { position: relative; display: block; width: 5.4em; height: 1.1em; overflow: hidden; font-size: 13px; line-height: 1.1; letter-spacing: .12em; }
.star-rating::before { content: "\2605\2605\2605\2605\2605"; position: absolute; left: 0; top: 0; color: #ddd; }
.star-rating span { position: absolute; left: 0; top: 0; overflow: hidden; padding-top: 1.5em; height: 0; }
.star-rating span::before { content: "\2605\2605\2605\2605\2605"; position: absolute; left: 0; top: 0; color: #ffc107; }
p.stars { margin: 0 0 1em; }
p.stars span { display: inline-flex; gap: 2px; }
p.stars a { position: relative; display: inline-block; width: 1.3em; height: 1.3em; overflow: hidden; text-indent: -999em; font-size: 20px; }
p.stars a::before { content: "\2605"; position: absolute; left: 0; top: 0; text-indent: 0; color: #ddd; line-height: 1.3em; }
p.stars:hover a::before, p.stars.selected a::before { color: #ffc107; }
p.stars a:hover ~ a::before, p.stars.selected a.active ~ a::before { color: #ddd; }

/* ==========================================================================
   10. Trang danh mục
   ========================================================================== */
.div-breadcrumb { padding-top: 10px; }
#breadcrumbs, .breadcrumbs { margin-bottom: 10px; font-size: 14px; color: #888; }
#breadcrumbs a, .breadcrumbs a { color: #555; }
#breadcrumbs a:hover, .breadcrumbs a:hover { color: var(--tl-primary); }
.breadcrumbs .divider { margin: 0 4px; opacity: .6; }
.shop-page-title { padding-bottom: 5px; }
.category-page-row { padding-top: 10px; }
.term-description, .woocommerce-products-header__description, .page-description { margin-bottom: 15px; font-size: 14px; }
.tl-shop-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; padding: 8px 10px; background: #f5f5f5; border: 1px solid var(--tl-border-light); border-radius: 4px; }
.tl-shop-toolbar .woocommerce-result-count { margin: 0; font-size: 14px; color: #666; }
.tl-shop-toolbar .woocommerce-ordering { margin: 0; }
.tl-shop-toolbar .woocommerce-ordering select { margin: 0; height: 34px; font-size: 14px; min-width: 200px; }
.tl-filter-toggle { width: 100%; margin: 0 0 10px; background: #f5f5f5; color: #333; border: 1px solid var(--tl-border); }
.tl-filter-toggle:hover { color: #333; box-shadow: none; background: #eee; }
@media (max-width: 849px) {
	.shop-sidebar-col { padding-bottom: 5px; }
	.shop-sidebar-col #shop-sidebar { display: none; }
	.shop-sidebar-col.is-open #shop-sidebar { display: block; }
}

/* Sidebar cửa hàng */
#shop-sidebar .widget { margin-bottom: 20px; border: 1px solid var(--tl-border); }
#shop-sidebar span.widget-title { display: block; padding: 10px 15px; font-size: 15px; font-weight: 700; color: #fff; text-transform: uppercase; background: var(--tl-vmenu); }
#shop-sidebar .widget > :not(.widget-title) { margin-left: 15px; margin-right: 15px; }
#shop-sidebar .widget > ul, #shop-sidebar .widget > div > ul { padding-top: 5px; padding-bottom: 5px; }
.widget { margin-bottom: 25px; }
.widget ul { margin: 0; padding: 0; list-style: none; }
.widget ul li { position: relative; }
.widget_product_categories li, .widget_categories li, .widget_pages li, .widget_nav_menu li, .widget_archive li, .widget_meta li { border-top: 1px solid var(--tl-border-light); }
.widget_product_categories > ul > li:first-child, .widget_categories > ul > li:first-child { border-top: 0; }
.widget_product_categories li a, .widget_categories li a, .widget_pages li a, .widget_nav_menu li a, .widget_archive li a, .widget_meta li a { display: inline-block; padding: 7px 0; font-size: 14px; }
.widget_product_categories li.current-cat > a { color: var(--tl-primary); font-weight: 700; }
.widget .children, .widget .sub-menu { padding-left: 15px; }
.widget .count { color: #999; font-size: 12px; }
.widget_price_filter .price_slider { height: 6px; margin: 15px 0; background: #eee; border-radius: 4px; position: relative; }
.widget_price_filter .ui-slider-range { position: absolute; height: 100%; background: var(--tl-primary); border-radius: 4px; }
.widget_price_filter .ui-slider-handle { position: absolute; top: -5px; width: 16px; height: 16px; margin-left: -8px; background: #fff; border: 2px solid var(--tl-primary); border-radius: 50%; cursor: pointer; }
.widget_price_filter .price_slider_amount { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 13px; padding-bottom: 10px; }
.widget_price_filter .price_slider_amount .button { margin: 0; font-size: 12px; }
.widget_price_filter .price_slider_amount input { display: none; }

/* Danh sách sản phẩm trong widget */
.product_list_widget li { display: flex; flex-wrap: wrap; align-items: center; gap: 0 10px; padding: 8px 0; border-top: 1px solid var(--tl-border-light); line-height: 1.35; }
.product_list_widget li:first-child { border-top: 0; }
.product_list_widget li > a { display: flex; align-items: center; gap: 10px; flex: 1 1 100%; font-size: 14px; color: #222; }
.product_list_widget li img { flex: 0 0 60px; width: 60px; height: 60px; object-fit: cover; border-radius: 50%; border: 1px solid #eee; }
.product_list_widget li .amount { color: var(--tl-price); font-weight: 700; font-size: 14px; }
.product_list_widget li del .amount { color: #999; font-weight: 400; font-size: 12px; }
.product_list_widget li > .amount, .product_list_widget li > del, .product_list_widget li > ins, .product_list_widget li .star-rating, .product_list_widget li > .reviewer { margin-left: 70px; }
.product_list_widget li > ins { text-decoration: none; }

/* Phân trang */
.woocommerce-pagination, .tl-pagination { margin: 15px 0 25px; text-align: center; }
.woocommerce-pagination ul, .tl-pagination ul { display: inline-flex; flex-wrap: wrap; gap: 5px; margin: 0; padding: 0; list-style: none; border: 0; }
.woocommerce-pagination li, .tl-pagination li { border: 0; }
.woocommerce-pagination .page-numbers, .tl-pagination .page-numbers { display: block; min-width: 36px; height: 36px; padding: 0 8px; line-height: 34px; text-align: center; font-size: 14px; font-weight: 700; color: #555; border: 1px solid var(--tl-border); border-radius: 4px; }
.woocommerce-pagination .page-numbers.current, .woocommerce-pagination a.page-numbers:hover, .tl-pagination .page-numbers.current, .tl-pagination a.page-numbers:hover { color: #fff; background: var(--tl-primary); border-color: var(--tl-primary); }

/* ==========================================================================
   11. Trang chi tiết sản phẩm
   ========================================================================== */
.product-main { padding: 20px 0 10px; }
.product-info .breadcrumbs, .product-info #breadcrumbs { margin-bottom: 6px; font-size: 14px; text-transform: none; }
.product-info .div-breadcrumb { padding-top: 0; }
.product-info .product-title { margin-bottom: 6px; font-size: 20px; line-height: 1.35; color: #111; }
.tt-product-brand { margin: 0 0 8px; font-size: 14px; }
.tt-product-brand .tt-brand-label { color: #555; }
.tt-product-brand .tt-brand-name, .tt-product-brand a { font-weight: 700; }
.product-info .woocommerce-product-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 13px; }
.product-info .price-wrapper { margin: 5px 0 10px; padding: 10px 12px; background: #fafafa; border-radius: 5px; }
.product-info .price { margin: 0; font-size: 17px; font-weight: 400; color: gray; }
.product-info p.price span.amount, .product-info .price ins span.amount { font-size: 28px; font-weight: 700; color: var(--tl-price); text-shadow: 3px 0 0 #e9dede, -3px 0 0 #fff, 0 3px 0 #fff, 0 -3px 0 #fff, 2px 2px #fff, -2px -2px 0 #fff, 2px -2px 0 #fff, 0 3px 5px #220d0d; }
.product-info .price del span.amount { font-size: 17px !important; }
.product-info .woocommerce-product-details__short-description { font-size: 14px; }
.product-info .woocommerce-product-details__short-description p { margin-bottom: .5em; }
.product-info .woocommerce-product-details__short-description ul { padding-left: 1.1em; }
.thong-tin-ky-thuat { margin-bottom: 10px; border: 1px solid var(--tl-border-light); border-radius: 4px; font-size: 14px; }
.thong-tin-ky-thuat .row-info { display: flex; border-top: 1px solid var(--tl-border-light); }
.thong-tin-ky-thuat .row-info:first-child { border-top: 0; }
.thong-tin-ky-thuat .left { width: 40%; padding: 6px 10px; background: #f7f7f7; font-weight: 700; }
.thong-tin-ky-thuat .right { flex: 1; padding: 6px 10px; }
.stock { font-size: 14px; font-weight: 700; color: #7a9c59; }
.stock.out-of-stock { color: #b20000; }
.single-product form.cart { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; width: 100%; margin: 10px 0 0; }
.single-product form.variations_form { display: block; }
.single-product .single_variation_wrap .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 10px; }
form.cart .quantity { margin: 0; }
form.cart .single_add_to_cart_button, form.cart .buy_now_button { margin: 0; height: 48px; text-transform: none; font-size: 16px; border-radius: 4px; }
form.cart .single_add_to_cart_button:not(.buy_now_button) { flex: 1 1 160px; background: var(--tl-cart-btn); }
form.cart .single_add_to_cart_button:not(.buy_now_button)::before { content: "\f217"; font-family: "Font Awesome 5 Free"; font-weight: 900; margin-right: 6px; }
form.cart .buy_now_button { flex: 1 1 100%; order: -1; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.2; height: 56px; background: var(--tl-secondary); }
.buy_now_button strong { font-size: 17px; text-transform: uppercase; }
.buy_now_button small { display: block; margin-top: 2px; font-size: 12px; font-weight: 400; opacity: .95; }
.single_variation_wrap .woocommerce-variation-add-to-cart .buy_now_button { order: -1; }
.woocommerce-variation-add-to-cart-disabled .buy_now_button { opacity: .5; }
table.variations { margin: 14px 0 0; border: 0; }
table.variations td, table.variations th { border: 0; padding: 0; }
.reset_variations { font-size: 13px; color: #888; }
.woocommerce-variation-description p { font-size: 14px; margin-top: 10px; }

/* Số lượng */
.quantity { display: inline-flex; align-items: stretch; }
.quantity .qty { width: 52px; height: 48px; margin: 0; padding: 0 4px; text-align: center; border-radius: 0; box-shadow: none; -moz-appearance: textfield; }
.quantity .qty::-webkit-outer-spin-button, .quantity .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.tl-qty-btn { width: 32px; min-height: 0; height: auto; margin: 0; padding: 0; line-height: 1; font-size: 18px; font-weight: 400; color: #333; background: #f5f5f5; border: 1px solid var(--tl-border); border-radius: 0; }
.tl-qty-btn.minus { border-right: 0; border-radius: 4px 0 0 4px; }
.tl-qty-btn.plus { border-left: 0; border-radius: 0 4px 4px 0; }
.tl-qty-btn:hover { color: #fff; background: var(--tl-primary); box-shadow: none; }
.woocommerce-cart-form .quantity .qty, .woocommerce-mini-cart .quantity .qty { height: 36px; }

/* Khung khuyến mãi */
.product-offer { position: relative; margin: 30px 0 15px; border: 1px solid var(--tl-secondary); border-radius: 5px; }
.product-offer .title { position: absolute; top: -15px; left: 15px; padding: 5px 20px; font-size: 14px; font-weight: 700; line-height: 1.3; color: #fff; text-transform: uppercase; background: var(--tl-secondary); border-radius: 30px; }
.product-offer .title .fa { margin-right: 5px; font-size: 18px; }
.product-offer .content { padding: 25px 12px 10px; color: var(--tl-price); font-size: 14px; }
.product-offer ul { margin: 0; padding: 0; list-style: none; }
.product-offer li { margin: 5px 0; }
.product-offer .content p { margin-bottom: .4em; }
#tbl_cacchinhsach { width: 100%; margin: 10px 0 5px; padding: 6px; border: 1px solid var(--tl-border); font-size: 14px; border-collapse: separate; }
#tbl_cacchinhsach td { padding: 4px 10px; border: 0; }
#tbl_cacchinhsach .fa { color: #0996da; margin-right: 4px; }
.product_meta { margin-top: 12px; font-size: 13px; color: #666; }
.product_meta > span { display: block; padding: 3px 0; border-top: 1px dotted var(--tl-border); }

/* Gallery */
.woocommerce-product-gallery { position: relative; margin-bottom: 15px; border: 1px solid var(--tl-border-light); border-radius: 4px; overflow: hidden; background: #fff; opacity: 1 !important; }
.woocommerce-product-gallery__wrapper { margin: 0; }
.woocommerce-product-gallery__image img { display: block; width: 100%; height: auto; }
.woocommerce-product-gallery__trigger { position: absolute; top: 10px; left: 10px; z-index: 9; width: 34px; height: 34px; font-size: 0; background: #fff; border: 1px solid var(--tl-border); border-radius: 50%; text-indent: -999em; overflow: hidden; }
.woocommerce-product-gallery__trigger::before { content: "\f00e"; font-family: "Font Awesome 5 Free"; font-weight: 900; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 15px; text-indent: 0; color: #555; }
.woocommerce-product-gallery__trigger img { display: none !important; }
.woocommerce-product-gallery .flex-control-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin: 0; padding: 8px; list-style: none; border-top: 1px solid var(--tl-border-light); }
.woocommerce-product-gallery .flex-control-thumbs li img { display: block; width: 100%; cursor: pointer; border: 1px solid var(--tl-border-light); border-radius: 3px; opacity: .6; transition: opacity .2s, border-color .2s; }
.woocommerce-product-gallery .flex-control-thumbs li img.flex-active, .woocommerce-product-gallery .flex-control-thumbs li img:hover { opacity: 1; border-color: var(--tl-primary); }
.woocommerce-product-gallery .flex-viewport { transition: height .3s; }
.woocommerce-product-gallery .flex-direction-nav { display: none; }

/* Sidebar cạnh sản phẩm */
#product-sidebar { padding-bottom: 0; }
#nut-buy { padding: 15px; text-align: center; border: 1px solid var(--tl-border-light); border-radius: 5px; box-shadow: 2px 2px 10px rgba(0,0,0,.07); }
.tl-support-icon { width: 70px; height: 70px; margin: 0 auto 10px; line-height: 62px; font-size: 32px; color: var(--tl-primary); background: #fff8e1; border: 4px solid #ffecb3; border-radius: 50%; }
#nut-buy h3 { font-size: 16px; margin-bottom: 4px; }
.tl-support-phone { display: block; font-family: "Ultra", var(--tl-font); font-size: 24px; color: var(--tl-secondary); }
#nut-buy p.des { margin: 4px 0 10px; font-size: 13px; color: #ff9800; }
#nut-buy ul { margin: 0; padding: 0; list-style: none; text-align: left; font-size: 13px; color: gray; }
#nut-buy li { padding: 4px 0; border-top: 1px dotted var(--tl-border); }
#nut-buy li .fa { color: #0996da; margin-right: 4px; }

/* Sidebar tab đỏ (bài viết, sản phẩm) */
#secondary span.widget-title, #product-sidebar span.widget-title { display: flex !important; align-items: flex-end; padding: 6px 0 0 !important; margin-bottom: 10px; line-height: 0; overflow: hidden; border-bottom: 2px solid var(--tl-primary); }
#secondary span.widget-title span, #product-sidebar span.widget-title span { position: relative; display: block; flex: 0 0 auto; box-sizing: content-box; height: 26px; margin: 0 20px 0 0; padding: 7px 14px; font-size: 18px; line-height: 26px; font-weight: 700; color: #fff; text-transform: uppercase; background: var(--tl-secondary); border-radius: 5px 5px 0 0; }
#secondary span.widget-title span::after, #product-sidebar span.widget-title span::after { content: ""; position: absolute; top: 0; right: 0; width: 18px; height: 40px; margin-right: -7px; background: var(--tl-secondary); transform: skewX(21deg); border-radius: 0 5px 0 0; }
#secondary span.widget-title span::before, #product-sidebar span.widget-title span::before { content: ""; position: absolute; top: 8px; right: 0; width: 15px; height: 40px; margin-right: -13px; background: var(--tl-tab-light); transform: skewX(13deg); border-radius: 0 5px 0 0; }
#secondary .product_list_widget, #secondary .widget_recent_entries ul, .product-footer .product_list_widget { padding: 10px; border: 1px solid var(--tl-border-light); border-radius: 5px; box-shadow: var(--tl-shadow); }
#secondary .widget_recent_entries li { padding: 6px 0; border-top: 1px solid var(--tl-border-light); font-size: 15px; }
#secondary .widget_recent_entries li:first-child { border-top: 0; }

/* Tiêu đề widget dạng khối (block widgets) */
.widget h2.wp-block-heading, .widget .wp-block-search__label, .widget .wc-block-product-categories__title { display: block; margin: 0 0 10px; padding-bottom: 6px; font-size: 16px; font-weight: 700; text-transform: uppercase; border-bottom: 2px solid var(--tl-primary); }
#shop-sidebar .widget h2.wp-block-heading { margin: 0; padding: 10px 15px; color: #fff; background: var(--tl-vmenu); border: 0; font-size: 15px; }
.wp-block-search__inside-wrapper { display: flex; gap: 6px; }
.wp-block-search__input { margin: 0; }
.wp-block-search__button { margin: 0; }

/* Phần dưới: mô tả + cột phải */
.product-footer { margin-top: 20px; }
.row-info { display: flex; flex-wrap: wrap; }
.product-footer .row-info > .left { width: 72%; }
.product-footer .row-info > .right { width: 28%; padding-left: 15px; }
.product-footer .right span.widget-title { position: relative; display: inline-block; margin: 0 0 12px; padding: 10px 20px 8px; font-size: 16px; font-weight: 700; text-transform: uppercase; color: #fff; background: var(--tl-primary); }
.product-footer .right span.widget-title::after { content: ""; position: absolute; top: 0; bottom: 0; right: -26px; width: 27px; background: var(--tl-primary); clip-path: polygon(0 0, 0 100%, 100% 100%); }

/* Tab mô tả */
.woocommerce-tabs { margin-bottom: 25px; }
.woocommerce-tabs ul.tabs { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; list-style: none; }
.woocommerce-tabs ul.tabs li { margin: 0; }
.woocommerce-tabs ul.tabs li a { display: block; padding: 9px 20px; font-size: 15px; font-weight: 700; color: #000; background: #eaeaea; border-radius: 5px 5px 0 0; }
.woocommerce-tabs ul.tabs li.active a, .woocommerce-tabs ul.tabs li a:hover { color: #fff; background: var(--tl-primary); }
.woocommerce-tabs .panel { padding: 15px; font-size: 15px; background: #fff; border: 1px solid var(--tl-border-light); border-radius: 0 5px 5px 5px; box-shadow: var(--tl-shadow); }
.woocommerce-tabs .panel > h2:first-child { display: none; }
.woocommerce-tabs .panel img { height: auto; }
.woocommerce-tabs .panel table { border: 1px solid var(--tl-border-light); }
.woocommerce-tabs .panel table td, .woocommerce-tabs .panel table th { border: 1px solid var(--tl-border-light); }

/* Đánh giá */
#reviews .commentlist { margin: 0 0 20px; padding: 0; list-style: none; }
#reviews .commentlist li { padding: 12px 0; border-bottom: 1px solid var(--tl-border-light); }
#reviews .comment_container { display: flex; gap: 12px; }
#reviews .comment_container img.avatar { width: 50px; height: 50px; border-radius: 50%; }
#reviews .comment-text { flex: 1; }
#reviews .comment-text .star-rating { float: right; }
#reviews .meta { font-size: 13px; color: #888; }
#review_form_wrapper { margin-top: 15px; }
#reviews .comment-reply-title { display: block; margin-bottom: 8px; font-size: 16px; font-weight: 700; }

/* Tiêu đề sản phẩm liên quan */
.related-products-wrapper, .up-sells { padding-top: 10px; margin-bottom: 20px; }
#nz-div { display: block; margin-bottom: 12px; border-bottom: 2px solid var(--tl-primary); }
#nz-div h3.tde { display: inline-block; margin: 0; font-size: 16px; line-height: 20px; text-transform: uppercase; vertical-align: bottom; }
#nz-div h3.tde span { position: relative; display: inline-block; margin: 0 26px 0 0; padding: 10px 20px 8px; color: #fff; background: var(--tl-primary); }
#nz-div h3.tde span::after { content: ""; position: absolute; top: 0; bottom: 0; right: -26px; width: 27px; background: var(--tl-primary); clip-path: polygon(0 0, 0 100%, 100% 100%); }
.related .product-small.box, .up-sells .product-small.box { box-shadow: 2px 2px 12px rgba(0,0,0,.09); border-radius: 5px; }
.related .product-small .price .amount, .up-sells .product-small .price .amount { font-size: 16px; }

/* ==========================================================================
   12. Tin tức
   ========================================================================== */
.page-wrapper { padding-top: 20px; padding-bottom: 10px; }
.blog-archive { background: #f7f7f7; padding-top: 10px; }
.archive-page-header .col { padding-bottom: 0; }
.blog-archive h1.page-title { display: block; height: 43px; margin: 0 0 23px; overflow: hidden; font-size: 20px; border-bottom: 2px solid var(--tl-primary); }
.blog-archive h1.page-title span { position: relative; display: inline-block; height: 41px; margin-right: 20px; padding: 7px 14px; font-size: 20px; line-height: 27px; font-weight: 700; color: #fff; text-transform: uppercase; background: var(--tl-secondary); border-radius: 5px 5px 0 0; }
.blog-archive h1.page-title span::after { content: ""; position: absolute; top: 0; right: 0; width: 18px; height: 41px; margin-right: -7px; background: var(--tl-secondary); transform: skewX(21deg); border-radius: 0 5px 0 0; }
.blog-archive h1.page-title span::before { content: ""; position: absolute; top: 8px; right: 0; width: 15px; height: 41px; margin-right: -13px; background: var(--tl-tab-light); transform: skewX(13deg); border-radius: 0 5px 0 0; }
.taxonomy-description { margin-bottom: 15px; }
.post-item .col-inner { height: 100%; }
.box-blog-post { height: 100%; background: #fff; border-radius: 5px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,.08); transition: box-shadow .2s, transform .2s; }
.post-item:hover .box-blog-post { box-shadow: 0 6px 18px rgba(0,0,0,.12); transform: translateY(-2px); }
.box-blog-post .box-image { position: relative; overflow: hidden; }
.box-blog-post .box-image::before { content: ""; position: absolute; top: 0; left: -75%; z-index: 2; width: 50%; height: 100%; background: linear-gradient(to right, rgba(255,255,255,0) 0, rgba(255,255,255,.3) 100%); transform: skewX(-25deg); }
.image-cover { position: relative; padding-top: 56%; overflow: hidden; background: #eee; }
.image-cover img, .image-cover .tl-noimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tl-noimg { display: flex; align-items: center; justify-content: center; font-size: 40px; color: #ccc; }
.box-blog-post .box-text { padding: 10px 10px 15px; }
.box-blog-post .post-title { height: 42px; margin: 0 0 5px; overflow: hidden; font-size: 15px; line-height: 21px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; color: #111; }
.post-item a:hover .post-title { color: var(--tl-hover); text-decoration: underline; }
.post-meta { font-size: 12px; color: #999; margin-bottom: 4px; }
.from_the_blog_excerpt { height: 40px; margin: 0; overflow: hidden; font-size: 13px; line-height: 20px; color: #666; }
.tl-post-list > .col { flex-basis: 100% !important; max-width: 100% !important; }
.tl-post-list .box-blog-post { display: flex; }
.tl-post-list .box-image { flex: 0 0 35%; }
.post-sidebar { padding-left: 5px; padding-right: 5px; }
.blog-single .entry-title { font-size: 26px; margin-bottom: 8px; }
.entry-meta { display: flex; flex-wrap: wrap; gap: 15px; margin-bottom: 15px; padding-bottom: 10px; font-size: 14px; color: gray; border-bottom: 1px solid var(--tl-border-light); }
.entry-meta a { color: gray; }
.entry-content { font-size: 16px; line-height: 1.75; }
.entry-content h2 { font-size: 22px; margin-top: 1.2em; } .entry-content h3 { font-size: 19px; margin-top: 1.1em; }
.entry-content img { border-radius: 4px; }
.entry-content a { color: #0a6ebd; }
.entry-content .wp-caption, .entry-content figure { max-width: 100%; }
.entry-content .wp-caption-text, .entry-content figcaption { font-size: 13px; color: #888; text-align: center; }
.entry-content table { border: 1px solid var(--tl-border-light); }
.entry-content td, .entry-content th { border: 1px solid var(--tl-border-light); }
.alignleft { float: left; margin: 0 1.2em 1em 0; } .alignright { float: right; margin: 0 0 1em 1.2em; } .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.entry-tags { margin: 15px 0; font-size: 14px; }
.entry-tags a { display: inline-block; margin: 0 4px 4px 0; padding: 2px 10px; font-size: 13px; background: #f1f1f1; border-radius: 3px; }
.blog-share { margin: 20px 0; text-align: center; }
.social-icons { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.social-icons .icon { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; color: #fff; border-radius: 50%; background: #999; }
.social-icons .icon:hover { color: #fff; opacity: .85; }
.share-facebook, .follow-facebook { background: #3a589d !important; } .share-twitter, .follow-twitter { background: #2478ba !important; }
.share-pinterest, .follow-pinterest { background: #cb2320 !important; } .share-linkedin, .follow-linkedin { background: #0072b7 !important; }
.follow-youtube { background: #c33223 !important; } .follow-instagram { background: #8a3ab9 !important; } .follow-tiktok { background: #000 !important; }
.tl-post-nav { display: flex; justify-content: space-between; gap: 15px; margin: 20px 0; padding: 12px 0; border-top: 1px solid var(--tl-border-light); border-bottom: 1px solid var(--tl-border-light); font-size: 14px; }
.tl-post-nav .next { text-align: right; }
.related-post { margin-top: 25px; }
.related-post .section-title-container { padding: 0; }
.comments-area { margin-top: 25px; }
.comment-list { margin: 0 0 20px; padding: 0; list-style: none; }
.comment-list .comment { padding: 12px 0; border-top: 1px solid var(--tl-border-light); }
.comment-list .children { list-style: none; padding-left: 30px; }
.comment-author img { float: left; margin-right: 10px; border-radius: 50%; }
.comment-metadata { font-size: 12px; }
.comment-respond { margin-top: 15px; }

/* ==========================================================================
   13. Phần tử shortcode
   ========================================================================== */
.section { position: relative; display: flex; align-items: center; width: 100%; min-height: auto; padding: 30px 0; }
.section > .section-content { width: 100%; z-index: 1; }
.section-bg { background-size: cover; background-position: 50% 50%; background-repeat: no-repeat; }
.section-bg, .section-bg-overlay { z-index: 0; }
.dark, .dark p, .dark h1, .dark h2, .dark h3, .dark h4, .dark h5, .dark h6, .dark a:not(.button) { color: #fff; }
.dark .section-title-normal span.section-title-main { color: #fff; }

.banner { position: relative; width: 100%; overflow: hidden; background: #446084; }
.banner-inner { overflow: hidden; }
.banner-bg { background-size: cover; background-position: 50% 50%; transition: transform .6s; }
.banner .overlay { z-index: 1; }
.banner-link { z-index: 2; }
.banner-layers { position: absolute; inset: 0; z-index: 3; height: 100%; max-width: var(--tl-container); margin: 0 auto; pointer-events: none; }
.banner-layers a, .banner-layers button, .banner-layers input { pointer-events: auto; }
.banner.hover-zoom:hover .banner-bg, .banner.hover-zoom-fade:hover .banner-bg { transform: scale(1.08); }
.text-box { position: absolute; max-width: 100%; }
.text-box-content { font-size: 1rem; }
.text-box .button { margin-bottom: 0; }
.tl-slider .banner { margin: 0; }

.img { position: relative; max-width: 100%; margin-bottom: 0; }
.img .img-inner { position: relative; overflow: hidden; }
.img .img-inner[data-ratio] img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.img img { display: block; width: 100%; }
.img .caption { padding: 6px; font-size: 13px; color: #777; text-align: center; }
.img.image-zoom:hover img { transform: scale(1.06); transition: transform .5s; }
.gap-element { display: block; height: auto; }
.is-divider.divider { display: none; }
.html-block, .text { width: 100%; }
.message-box { position: relative; padding: 15px; background: #f5f5f5; }

.icon-box { position: relative; display: flex; align-items: flex-start; gap: 15px; }
.icon-box-top, .icon-box-center { flex-direction: column; align-items: center; }
.icon-box-right { flex-direction: row-reverse; }
.icon-box-img { flex: 0 0 auto; max-width: 100%; }
.icon-box-img img { display: block; width: 100%; }
.icon-box-text { flex: 1; min-width: 0; }
.icon-box-text h5 { margin-bottom: 5px; }

/* Ô cam kết (footer) */
.tieu-chi-section { padding: 25px 0 5px; background: #f5f5f5; border-top: 1px solid var(--tl-border-light); }
.row-icon .icon-box { position: relative; align-items: center; gap: 15px; min-height: 92px; padding: 14px 20px; color: #fff; background: var(--tl-primary); }
.row-icon .icon-box::before { content: ""; position: absolute; inset: 7px; border: 1px solid rgba(255,255,255,.85); pointer-events: none; }
.row-icon .icon-box-img { width: 48px; font-size: 34px; text-align: center; color: var(--tl-accent); }
.row-icon .icon-box-text h3 { margin: 0 0 2px; font-size: 15px; color: #fff; text-transform: uppercase; }
.row-icon .icon-box-text p { margin: 0; font-size: 13px; opacity: .92; }

/* Danh mục dạng ô */
.product-category .box-category { display: block; padding: 3px; border: 1px solid #dfdfdf; border-radius: 3px; background: linear-gradient(135deg, #fff 0%, #dfdfdf 99%); transition: box-shadow .2s; }
.product-category .box-category:hover { box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.product-category .box-image { position: relative; padding: 7px; overflow: hidden; }
.product-category .box-image[data-ratio] img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.product-category .box-image img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; }
.product-category .box-text { padding: 2px 4px 6px; }
.product-category .header-title { min-height: 20px; margin: 0; font-size: 13px; text-transform: none; color: #111; }
.product-category .count { margin: 0; color: #888; }

/* Tab & accordion (shortcode) */
.tl-tabs { margin-bottom: 20px; }
.tl-tabs > .nav { display: flex; flex-wrap: wrap; gap: 2px; margin: 0 0 15px; padding: 0; list-style: none; border-bottom: 2px solid var(--tl-primary); }
.tl-tabs > .nav.nav-center { justify-content: center; } .tl-tabs > .nav.nav-right { justify-content: flex-end; }
.tl-tabs > .nav a { display: block; padding: 8px 15px; font-weight: 700; font-size: 14px; text-transform: uppercase; color: #333; background: #f1f1f1; border-radius: 4px 4px 0 0; }
.tl-tabs > .nav li.active a, .tl-tabs > .nav a:hover { color: #fff; background: var(--tl-secondary); }
.tl-tabs > .tab-panels > .panel { display: none; }
.tl-tabs > .tab-panels > .panel.active { display: block; }
.accordion-item { border-top: 1px solid var(--tl-border-light); }
.accordion-item:last-child { border-bottom: 1px solid var(--tl-border-light); }
.accordion-title { position: relative; display: block; padding: 10px 30px 10px 5px; font-weight: 700; cursor: pointer; list-style: none; }
.accordion-title::-webkit-details-marker { display: none; }
.accordion-title::after { content: "+"; position: absolute; right: 8px; top: 8px; font-size: 18px; color: var(--tl-primary); }
.accordion-item[open] > .accordion-title::after { content: "−"; }
.accordion-inner { padding: 5px 5px 15px; }
.video-fit { position: relative; height: 0; overflow: hidden; }
.video-fit iframe, .video-fit object, .video-fit embed { position: absolute; inset: 0; width: 100%; height: 100%; }
.ux-menu { margin: 0; padding: 0; list-style: none; }
.ux-menu li { border-top: 1px solid var(--tl-border-light); }
.ux-menu li a { display: block; padding: 7px 0; }
.ux-menu-title { padding: 7px 0; font-weight: 700; text-transform: uppercase; }
.tl-stack { display: flex; flex-wrap: wrap; }
.testimonial-box { padding: 15px; text-align: center; }
.testimonial-img { width: 80px; height: 80px; margin-bottom: 10px; border-radius: 50%; }
.gallery-col img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 3px; }

/* ==========================================================================
   14. Giỏ hàng, thanh toán, tài khoản
   ========================================================================== */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews, p.no-comments { position: relative; margin: 0 0 15px; padding: 12px 15px 12px 45px; list-style: none; font-size: 14px; background: #f7f7f7; border-left: 4px solid #7a9c59; border-radius: 4px; }
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { position: absolute; left: 15px; top: 12px; font-family: "Font Awesome 5 Free"; font-weight: 900; }
.woocommerce-message::before { content: "\f058"; color: #7a9c59; }
.woocommerce-info { border-left-color: #1e85be; } .woocommerce-info::before { content: "\f05a"; color: #1e85be; }
.woocommerce-error { border-left-color: #b20000; } .woocommerce-error::before { content: "\f071"; color: #b20000; }
.woocommerce-message .button, .woocommerce-info .button, .woocommerce-error .button { float: right; margin: -4px 0 0 10px; font-size: 13px; }
.woocommerce-error li { margin: 0; }
.woocommerce-message:empty, .woocommerce-message[role="alert"]:empty { display: none; }
.woocommerce-cart .woocommerce, .woocommerce-checkout .woocommerce { margin-bottom: 30px; }
.woocommerce-cart .page-wrapper .entry-content > .woocommerce { padding: 20px; border-radius: 5px; box-shadow: 2px 2px 20px rgba(0,0,0,.1); }
.shop_table { width: 100%; margin-bottom: 20px; font-size: 14px; border: 0; }
.shop_table th { font-size: 13px; text-transform: uppercase; color: #555; border-bottom: 2px solid var(--tl-border-light); }
.shop_table td { vertical-align: middle; }
.shop_table .product-thumbnail img { width: 70px; border-radius: 4px; }
.shop_table .product-name a { font-weight: 700; color: #111; }
.shop_table .product-remove a { display: inline-block; width: 24px; height: 24px; line-height: 22px; text-align: center; font-size: 18px; color: #999; border: 1px solid #ddd; border-radius: 50%; }
.shop_table .product-remove a:hover { color: #fff; background: #b20000; border-color: #b20000; }
.shop_table .amount { font-weight: 700; color: var(--tl-price); }
.woocommerce-cart-form .actions { text-align: right; }
.woocommerce-cart-form .coupon { display: inline-flex; gap: 8px; float: left; }
.woocommerce-cart-form .coupon label { display: none; }
.woocommerce-cart-form .coupon input { width: 180px; margin: 0; }
.woocommerce-cart-form .actions .button { margin: 0; }
.cart-collaterals { display: flex; justify-content: flex-end; }
.cart_totals { width: 100%; max-width: 460px; padding: 15px 20px; background: #fafafa; border: 1px solid var(--tl-border-light); border-radius: 5px; }
.cart_totals h2 { font-size: 16px; text-transform: uppercase; }
.wc-proceed-to-checkout .checkout-button { display: block; width: 100%; margin: 10px 0 0; height: 48px; line-height: 46px; font-size: 16px; text-transform: none; border-radius: 5px; background: var(--tl-price); }
.woocommerce-shipping-methods { margin: 0; padding: 0; list-style: none; }
.cross-sells { margin-top: 20px; }

.woocommerce-checkout .col2-set, .u-columns.col2-set { display: flex; flex-wrap: wrap; gap: 30px; }
.woocommerce-checkout .col2-set > div, .u-columns.col2-set > div { flex: 1 1 300px; }
form.checkout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 0 30px; }
form.checkout > .woocommerce-NoticeGroup { grid-column: 1 / -1; }
form.checkout #customer_details { grid-column: 1; }
form.checkout #customer_details .col2-set { display: block; }
form.checkout #order_review_heading, form.checkout #order_review { grid-column: 2; }
form.checkout #order_review_heading { margin: 0; padding: 12px 20px 0; font-size: 16px; text-transform: uppercase; background: #fafafa; border: 1px solid var(--tl-border-light); border-bottom: 0; border-radius: 5px 5px 0 0; }
form.checkout #order_review { padding: 0 20px 20px; background: #fafafa; border: 1px solid var(--tl-border-light); border-top: 0; border-radius: 0 0 5px 5px; align-self: start; }
form.checkout #customer_details { grid-row: 1 / span 2; }
.woocommerce-billing-fields h3, .woocommerce-shipping-fields h3, .woocommerce-additional-fields h3 { font-size: 16px; text-transform: uppercase; }
.form-row { margin: 0 0 12px; }
.form-row label .required { color: #b20000; text-decoration: none; }
.form-row-first, .form-row-last { width: 100%; }
.woocommerce-input-wrapper input, .woocommerce-input-wrapper textarea, .woocommerce-input-wrapper select { margin-bottom: 0; border-radius: 5px; box-shadow: none; font-size: 14px; }
#ship-to-different-address label { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; }
#payment { margin-top: 15px; }
#payment .wc_payment_methods { margin: 0 0 15px; padding: 0; list-style: none; }
#payment .wc_payment_method { padding: 8px 0; border-top: 1px solid var(--tl-border-light); }
#payment .wc_payment_method label { display: inline; font-size: 14px; }
#payment .payment_box { margin: 8px 0 0; padding: 10px; font-size: 13px; background: #fff; border-radius: 4px; }
#payment #place_order { display: block; width: 100%; height: 50px; margin: 10px 0 0; font-size: 17px; border-radius: 5px; text-transform: none; background: var(--tl-price); }
.woocommerce-terms-and-conditions-wrapper { font-size: 13px; }
.select2-container .select2-selection--single { height: 2.6em !important; border-color: var(--tl-border) !important; border-radius: 5px !important; }
.select2-container .select2-selection--single .select2-selection__rendered { line-height: 2.5em !important; }
.select2-container .select2-selection--single .select2-selection__arrow { height: 2.5em !important; }

.woocommerce-account .woocommerce { display: flex; flex-wrap: wrap; gap: 30px; }
.woocommerce-MyAccount-navigation { flex: 0 0 230px; }
.woocommerce-MyAccount-navigation ul { margin: 0; padding: 0; list-style: none; border: 1px solid var(--tl-border-light); border-radius: 5px; overflow: hidden; }
.woocommerce-MyAccount-navigation li { border-top: 1px solid var(--tl-border-light); }
.woocommerce-MyAccount-navigation li:first-child { border-top: 0; }
.woocommerce-MyAccount-navigation li a { display: block; padding: 10px 15px; font-size: 14px; }
.woocommerce-MyAccount-navigation li.is-active a { color: #fff; background: var(--tl-primary); }
.woocommerce-MyAccount-content { flex: 1; min-width: 0; }
.woocommerce-account .woocommerce > h2, .woocommerce-account .woocommerce > .u-columns { flex: 1 1 100%; }
.woocommerce-form-login, .woocommerce-form-register { padding: 20px; border: 1px solid var(--tl-border-light); border-radius: 5px; }
.woocommerce-form-login .woocommerce-form-login__rememberme { display: inline-flex; align-items: center; gap: 6px; font-weight: 400; }
.woocommerce-form-login .button, .woocommerce-form-register .button { margin: 10px 0 0; }
.woocommerce-order-overview { display: flex; flex-wrap: wrap; gap: 10px 30px; padding: 15px; list-style: none; background: #fafafa; border: 1px dashed var(--tl-border); border-radius: 5px; }
.woocommerce-thankyou-order-received { font-size: 18px; font-weight: 700; color: #7a9c59; }

/* Mini cart */
.woocommerce-mini-cart { margin: 0; padding: 0; list-style: none; max-height: 340px; overflow-y: auto; }
.woocommerce-mini-cart-item { position: relative; display: block; min-height: 80px; padding: 10px 24px 10px 70px; border-bottom: 1px solid var(--tl-border-light); font-size: 14px; line-height: 1.35; }
.woocommerce-mini-cart-item > a:not(.remove) { display: block; color: #222; }
.woocommerce-mini-cart-item img { position: absolute; left: 0; top: 10px; width: 60px !important; height: 60px !important; object-fit: cover; border-radius: 50%; border: 1px solid #eee; }
.woocommerce-mini-cart-item .remove { position: absolute; right: 0; top: 10px; width: 20px; height: 20px; line-height: 18px; text-align: center; color: #999; border: 1px solid #ddd; border-radius: 50%; }
.woocommerce-mini-cart-item .remove:hover { color: #fff; background: #b20000; border-color: #b20000; }
.woocommerce-mini-cart-item .quantity { display: block; margin-top: 4px; font-size: 13px; color: #777; }
.woocommerce-mini-cart-item .quantity .amount { color: var(--tl-price); font-weight: 700; }
.woocommerce-mini-cart__total { display: flex; justify-content: space-between; margin: 10px 0; font-size: 14px; }
.woocommerce-mini-cart__total .amount { color: var(--tl-price); font-weight: 700; }
.woocommerce-mini-cart__buttons { display: flex; gap: 8px; margin: 0; }
.woocommerce-mini-cart__buttons .button { flex: 1; margin: 0; font-size: 13px; text-transform: none; border-radius: 5px; color: #fff; }
.woocommerce-mini-cart__buttons .button:not(.checkout) { background: #555; }
.woocommerce-mini-cart__empty-message { margin: 0; text-align: center; font-size: 14px; color: #777; }

/* ==========================================================================
   15. Footer
   ========================================================================== */
.footer-wrapper { position: relative; }
.footer-widgets { padding: 30px 0 0; color: rgba(255,255,255,.8); background: var(--tl-footer); font-size: 14px; }
.footer-2 { background: color-mix(in srgb, var(--tl-footer) 85%, #000); }
.footer-widgets .widget-title { display: block; margin-bottom: 12px; padding-bottom: 8px; font-size: 15px; font-weight: 700; text-transform: uppercase; color: #fff; border-bottom: 2px solid var(--tl-primary); }
.footer-widgets a { color: rgba(255,255,255,.8); }
.footer-widgets a:hover { color: #fff; }
.footer-widgets h1, .footer-widgets h2, .footer-widgets h3, .footer-widgets h4, .footer-widgets h5, .footer-widgets p, .footer-widgets strong { color: inherit; }
.footer-widgets h3, .footer-widgets h4 { color: #fff; }
.footer-widgets .widget_nav_menu li, .footer-widgets li { border-top: 0; }
.footer-widgets .widget_nav_menu li a, .footer-widgets ul li a { padding: 4px 0; }
.footer-widgets ul li a::before { content: "\f105"; font-family: "Font Awesome 5 Free"; font-weight: 900; margin-right: 6px; color: var(--tl-primary); }
.footer-widgets .product_list_widget li a::before { display: none; }
.footer-widgets .product_list_widget li { border-color: rgba(255,255,255,.1); }
.footer-widgets .product_list_widget li > a { color: #fff; }
.footer-widgets input { background: rgba(255,255,255,.95); }
.absolute-footer { padding: 12px 0; font-size: 14px; color: rgba(255,255,255,.7); background: var(--tl-footer-btm); }
.absolute-footer .flex-row { flex-wrap: wrap; gap: 10px; }
.copyright-footer p, .copyright-footer h4 { margin: 0; }
.absolute-footer a { color: rgba(255,255,255,.85); }
.absolute-footer a:hover { color: #fff; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 15px; margin: 0; padding: 0; list-style: none; }
.back-to-top { position: fixed; right: 15px; bottom: 20px; z-index: 90; display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; font-size: 22px; color: #fff !important; background: var(--tl-primary); border-radius: 50%; box-shadow: 0 2px 8px rgba(0,0,0,.25); opacity: 0; visibility: hidden; transform: translateY(15px); transition: all .3s; }
.back-to-top.active { opacity: 1; visibility: visible; transform: none; }

/* ==========================================================================
   16. Khác
   ========================================================================== */
.tl-404 { padding: 40px 15px 50px; }
.tl-404-code { font-family: "Ultra", var(--tl-font); font-size: 110px; line-height: 1; color: var(--tl-primary); }
.tl-404-search { max-width: 480px; margin: 20px auto; }
.tl-empty, .tl-empty-products { padding: 30px; text-align: center; color: #888; background: #fafafa; border-radius: 5px; }
.page-inner .has-border { padding: 15px; border: 1px dashed var(--tl-secondary); border-radius: 5px; background: #fff9f9; }
.page-right-sidebar .large-3, .page-left-sidebar .large-3 { padding-left: 0; }
.page-builder > .section:first-child { padding-top: 15px; }
.searchform { height: 40px; }
.entry-content.single-page { padding-left: 5px; padding-right: 5px; }
.wp-block-image img { height: auto; }

/* ==========================================================================
   17. Responsive
   ========================================================================== */
@media (max-width: 1100px) {
	.html_top_right_text .item-2 { display: none; }
}
@media (max-width: 849px) {
	body { font-size: 14px; }
	.header-main { position: sticky; top: 0; z-index: 60; }
	.admin-bar .header-main { top: 46px; }
	.header-inner { min-height: 60px; gap: 10px; }
	.logo-col { flex: 1; width: auto; max-width: none; text-align: center; }
	.logo img, .logo .custom-logo { max-height: 44px; margin: 0 auto; }
	.logo-text { font-size: 20px; }
	.home-hero-grid, .home-hero-grid.no-banners { grid-template-columns: 1fr !important; }
	.div-danh-muc { display: none; }
	.div-banner { flex-direction: row; }
	.div-banner .tl-banner-img { flex: 1; }
	.tl-slide-demo { min-height: 200px; }
	.tl-slide-demo strong { font-size: 26px; }
	.tl-slide-demo span { font-size: 15px; }
	.product-footer .row-info > .left, .product-footer .row-info > .right { width: 100%; padding-left: 0; }
	.product-main .row { margin-left: 0 !important; margin-right: 0 !important; }
	.product-main .col { padding-left: 10px; padding-right: 10px; }
	.product-gallery.col { padding-bottom: 10px; }
	form.checkout { display: block; }
	form.checkout #order_review_heading { margin-top: 20px; }
	.woocommerce-MyAccount-navigation { flex: 1 1 100%; }
	.page-right-sidebar .large-3, .page-left-sidebar .large-3 { padding-left: 15px; }
	.section-title-normal span.section-title-main { font-size: 16px; padding: 6px 14px; }
	.section-title a.link-xem-them { font-size: 13px; }
	#home-contact .marquee { margin-left: 45px; }
	.blog-archive h1.page-title span { font-size: 16px; }
	.tieu-chi-section .col { flex-basis: 50%; max-width: 50%; }
	.row-icon .icon-box { padding: 12px; min-height: 80px; gap: 8px; }
	.row-icon .icon-box-img { width: 34px; font-size: 26px; }
	.row-icon .icon-box-text h3 { font-size: 13px; }
	.row-icon .icon-box-text p { font-size: 12px; }
	.woocommerce-cart-form .coupon { float: none; width: 100%; margin-bottom: 10px; }
	.woocommerce-cart-form .coupon input { flex: 1; width: auto; }
	.shop_table.cart thead { display: none; }
	.shop_table.cart tr.cart_item { display: grid; grid-template-columns: 70px 1fr auto; gap: 4px 10px; padding: 10px 0; border-bottom: 1px solid var(--tl-border-light); }
	.shop_table.cart tr.cart_item td { padding: 0; border: 0; }
	.shop_table.cart td.product-thumbnail { grid-row: 1 / span 3; }
	.shop_table.cart td.product-remove { grid-column: 3; grid-row: 1; }
	.shop_table.cart td.product-name { grid-column: 2; grid-row: 1; }
	.shop_table.cart td.product-price { display: none; }
	.shop_table.cart td.product-quantity { grid-column: 2; }
	.shop_table.cart td.product-subtotal { grid-column: 2; }
	.shop_table.cart td::before { display: none; }
}
@media (max-width: 549px) {
	.container { padding-left: 10px; padding-right: 10px; }
	.div-banner { display: none; }
	.product-small .box-image { padding: 4px; }
	.product-small .product-title { font-size: 13px; }
	.product-small .price .amount { font-size: 15px; }
	.badge.on-sale { width: 40px; height: 40px; }
	.badge.on-sale .onsale { font-size: 10px; }
	.hdevvn-show-cats { display: none; }
	.tl-shop-toolbar .woocommerce-ordering select { min-width: 0; }
	.product-info p.price span.amount, .product-info .price ins span.amount { font-size: 24px; }
	.blog-single .entry-title { font-size: 21px; }
	.tl-post-nav { flex-direction: column; }
	.tl-post-nav .next { text-align: left; }
	#home-contact .title { font-size: 12px; }
	.tieu-chi-section .col { flex-basis: 100%; max-width: 100%; }
}
@media print {
	.header-top, .header-bottom, .footer-wrapper, .back-to-top, #product-sidebar { display: none !important; }
}

/* Giỏ hàng / thanh toán dạng khối của WooCommerce: giữ kiểu gốc của khối */
.wc-block-components-product-price, .wc-block-components-product-price .amount, .wc-block-cart .price, .wc-block-checkout .price { font-weight: inherit; color: inherit; font-size: inherit; text-shadow: none; }
.wc-block-components-product-price ins .amount, .wc-block-components-product-price__value.is-discounted { color: var(--tl-price); }
.wc-block-components-button:not(.is-link) { background: var(--tl-primary); color: #fff; border-radius: 5px; }
.wc-block-components-button:not(.is-link):hover { color: #fff; }
.wc-block-components-product-metadata__description { display: none; }


/* ==========================================================================
   Giống demo dientutuyenquang.net (header)
   ========================================================================== */
.header-top { background: #000; font-size: 12.8px; min-height: 33px; }
.header-top .container { min-height: 33px; }
.header-top .flex-left { display: flex; align-items: center; gap: 0; }
.header-top a { color: rgba(255,255,255,.8); }
.header-top a:hover { color: #fff; }
.tl-account-link { padding-right: 14px; margin-right: 14px; border-right: 1px solid rgba(255,255,255,.3); }
.services-top a { padding: 0 10px 0 0; margin-right: 4px; }
.services-top a .fa { margin-right: 2px; }
.tl-topbar-cart { margin-left: 14px; white-space: nowrap; }
.tl-topbar-cart .fa { margin-left: 3px; }
.header-inner { min-height: 91px; }
.header-search { max-width: 340px; margin-left: 20px; }
.tl-search { border: 0; border-radius: 99px; background: rgba(0,0,0,.03); overflow: hidden; }
.tl-search .search-field { background: transparent; padding-left: 14px; font-size: 14px; }
.tl-search .search-submit { flex: 0 0 40px; background: transparent; color: #232323; border-radius: 99px; }
.tl-search .search-submit:hover { color: var(--tl-primary); background: transparent; box-shadow: none; }
.html_top_right_text { margin-left: auto; }
.html_top_right_text .item { padding: 5px 25px; }
.header-bottom { background: var(--tl-vmenu); }
.tl-vmenu-title { font-size: 15px; text-transform: none; }
.header-bottom-nav > li > a { font-size: 14px; }
.tl-nav-right .div-km, .tl-nav-right .div-km a { display: block; }
.tl-nav-right { margin-left: auto; padding-left: 0; }
.icon-title-deal-nav { display: block; width: 260px; height: 54px; background: url(assets/images/sprite.png?v=2.1) 0 -110px no-repeat; margin-top: -10px; }
.tl-nav-right a:hover .icon-title-deal-nav { opacity: .92; }
@media (max-width: 1100px) { .icon-title-deal-nav { width: 200px; background-size: auto; } }
.tl-nav-right .div-km a { max-width: none; }


/* ==========================================================================
   Giống demo dientutuyenquang.net (thẻ sản phẩm, nhãn giảm giá, footer)
   ========================================================================== */
.product-small .box-text { text-align: left; padding: 10px 0 20px; }
.product-small .category { display: none; }
.product-small .product-title { height: 40px; margin: 0 0 6px; font-size: 14.4px; line-height: 18.72px; }
.product-small .price-wrapper { height: 50px; line-height: 1.1; }
.product-small .price .amount { font-size: 25px; line-height: 25px; color: #e40000; text-shadow: none; }
.woocommerce-Price-currencySymbol { padding-left: 0; font-size: 13px; }
.product-small .price del { display: inline; margin: 0; color: #232323; opacity: 1; }
.product-small .price del .amount { font-size: 14.4px !important; font-weight: 700 !important; color: #e40000 !important; }
.product-small .price ins { position: absolute; top: -19px; left: 0; display: block; }
.badge-container { top: 0; right: 0; left: auto; margin-top: 10px; }
.badge.on-sale { width: 49px; height: 49px; background: url(assets/images/giamgia.png) center no-repeat; clip-path: none; }
.badge.on-sale .onsale { font-size: 13px; letter-spacing: 0; }
.section-title a.link-xem-them { color: #f00; font-weight: 700; }
.section-title-normal span.section-title-main { text-transform: uppercase; }

/* Footer: nền đỏ, thanh bản quyền xám nhạt */
.footer-widgets { padding: 30px 0; color: #f1f1f1; background: var(--tl-vmenu); font-size: 16px; }
.footer-2 { background: var(--tl-vmenu); padding-top: 0; }
.footer-widgets .widget-title, .footer-widgets h4 { display: block; margin-bottom: 9px; padding: 0; font-size: 18px; font-weight: 700; text-transform: none; color: #fff; border: 0; }
.footer-widgets a { color: #f1f1f1; }
.footer-widgets ul li a::before { display: none; }
.footer-widgets .widget_nav_menu li a, .footer-widgets ul li a { padding: 2px 0; }
.footer-widgets input { background: #fff; }
.absolute-footer { padding: 12px 0; text-align: center; color: rgba(0,0,0,.5); background: #f0eded; font-size: 14px; }
.absolute-footer .flex-row { justify-content: center; }
.absolute-footer a { color: rgba(0,0,0,.6); }
.absolute-footer a:hover { color: #000; }
@media (min-width: 850px) {
	.footer-1 .row.large-columns-4 > .col, .footer-1 .row.large-columns-4 > .widget { flex-basis: 16.666%; max-width: 16.666%; }
	.footer-1 .row.large-columns-4 > :nth-child(1), .footer-1 .row.large-columns-4 > :nth-child(4) { flex-basis: 33.333%; max-width: 33.333%; }
}

/* Bố cục hàng slide trang chủ (theo theme demo): cột menu 19% – slide 56% – banner 25% */
.tl-vmenu { flex: 0 0 var(--tl-vmenu-w); width: var(--tl-vmenu-w); max-width: var(--tl-vmenu-w); }
.product-small.box .product-title, .product-small .product-title { height: 37px; }
@media (min-width: 1023px) {
	.section-chi-tiet .div-chi-tiet-trai { max-width: 80%; flex-basis: 80%; }
	.section-chi-tiet .div-chi-tiet-phai { max-width: 20%; flex-basis: 20%; }
	.col.div-danh-muc, .div-danh-muc { max-width: 19%; flex-basis: 19%; }
	.col.div-slide, .div-slide { max-width: 56%; flex-basis: 56%; }
	.list-sp .product-small, .list-sp .col { padding-bottom: 0 !important; }
}
.div-hinh-phai .img { margin-bottom: 5px !important; }
#footer .tieu-chi-section .col.medium-2 { flex-basis: 50%; max-width: 50%; }
.tl-primary-nav { justify-content: center; }
.tl-vmenu-title { background: var(--tl-vmenu); }

/* Menu danh mục: cao độ giống bản gốc, che kín cột đệm phía sau */
.tl-vmenu-list > li > a { padding: 8.5px 20px; line-height: 19px; }
.tl-vmenu-list > li > a::after { padding-right: 0; }
.div-danh-muc > .col-inner, .div-danh-muc > * { visibility: hidden; }
.div-danh-muc { overflow: hidden; }
/* Khoảng cách / lề trang chủ giống bản gốc */
.san-pham-section .col.large-12 { padding-bottom: 0; }
.row-sp-ngoai { margin-left: 0 !important; margin-right: 0 !important; }
.col-inner .section-title-container, .section-content .col .section-title-container { padding-left: 0; padding-right: 0; }
.row-sp.products > .product-small.col, .category-page-row .products > .product-small.col, .row-sp .products > .product-small.col { padding: 6px 9.8px 0 !important; }
.woocommerce-Price-currencySymbol { padding-left: 4px; }
/* Mobile: giữ cỡ chữ / khoảng cách như demo (không co nhỏ quá) */
@media (max-width: 849px) {
	body { font-size: 16px; }
	.header-top .container { flex-wrap: wrap; justify-content: center; gap: 2px 14px; padding-top: 5px; padding-bottom: 5px; text-align: center; }
	.header-top .flex-right { order: -1; margin-left: 0; }
	.header-top .flex-left { margin-right: 0; flex-wrap: wrap; justify-content: center; }
	.header-top .html-topbar, .header-top .services-top { flex-wrap: wrap; justify-content: center; }
	.tl-account-link { margin-right: 10px; padding-right: 10px; }
	.section-title-normal span.section-title-main { font-size: 20px; padding: 6px 20px; }
	.section-title a.link-xem-them { font-size: 14px; }
}
@media (max-width: 549px) {
	.product-small .box-image { padding: 15px; }
	.product-small .product-title { font-size: 13.6px; }
	.product-small .price .amount { font-size: 25px; }
	.product-small .price del .amount { font-size: 13.6px !important; }
	.badge.on-sale { width: 49px; height: 49px; }
	.badge.on-sale .onsale { font-size: 13px; }
	.footer-widgets { font-size: 16px; }
}

/* ==========================================================================
   1.2.5 – Khớp bố cục trang chủ với demo ở máy tính / máy tính bảng / điện thoại
   (đo trực tiếp trên dientutuyenquang.net, chép từ CSS của theme con cũ)
   ========================================================================== */
/* Khoảng cách cột "xsmall" (khối Thông báo / tin tức) */
.row-xsmall > .col { padding: 0 2px 3px; }
.container .row-xsmall:not(.row-collapse), .row .row-xsmall:not(.row-collapse), .col-inner .row-xsmall:not(.row-collapse) { margin-left: -2px; margin-right: -2px; }

/* Hàng slide + các cột "không đệm" không có khoảng trống phía dưới */
.slider-section .col { padding-bottom: 0; }
.div-no-padding { padding-bottom: 0 !important; }
.section-title { margin-bottom: 18px; }

/* Lưới sản phẩm có viền: tràn ra 10px mỗi bên như bản gốc (không thụt vào) */
.col.row-sp > .col-inner > .tl-products-sc > .products, .col.row-sp > .col-inner > .products { margin-left: -10px !important; margin-right: -10px !important; }

/* Cột "danh mục" trong hàng slide: chỉ che dưới menu dọc ở màn hình lớn */
@media (max-width: 849px) {
	.col.div-danh-muc { display: block; }
	.div-danh-muc > .col-inner, .div-danh-muc > * { visibility: visible; }
	.div-danh-muc .row { flex-wrap: nowrap; overflow: hidden; }
}

/* Máy tính bảng + điện thoại (theo @media max-width:855px của theme cũ) */
@media (max-width: 855px) {
	.div-sp { padding-left: 8px !important; padding-right: 8px !important; }
	.product-small .box-image { padding: 4px; }
	.list-sp .col, .list-sp .product-small { padding-bottom: 0 !important; }
	.list-sp .col { padding: 2px; }
	.section-tin, .section-tin .post-item { padding-bottom: 0 !important; }
	.message-box .container { padding: 0; }
	.div-anh { padding-left: 5px !important; padding-right: 5px !important; }
	.section-ban-chay { margin-top: 0; padding-left: 5px !important; padding-right: 5px !important; }
	.hdevvn-show-cats { display: none; }
	.product-main .row { margin-left: 0 !important; margin-right: 0 !important; }
}
@media (max-width: 549px) {
	.product-small .box-image { padding: 4px; }
	/* Top bar: "Giỏ hàng | Đăng nhập" chung 1 dòng, các mục dịch vụ xuống dòng dưới */
	.header-top .flex-left { display: contents; }
	.header-top .flex-right { order: 1; }
	.header-top .tl-account-link { order: 2; margin-right: 0; padding-right: 0; border-right: 0; padding-left: 12px; border-left: 1px solid rgba(255,255,255,.3); }
	.header-top .html-topbar, .header-top .about-header { order: 3; flex-basis: 100%; }
}

/* Ô sản phẩm: tên cắt gọn như bản gốc (không thêm "..."), giá cao vừa nội dung */
.product-small .product-title { display: block; -webkit-line-clamp: unset; line-height: 1.3; height: 37px; margin-bottom: 9px; overflow: hidden; }
.product-small .price-wrapper { height: auto; min-height: 25px; }
.row-sp .products.row { margin-bottom: 0; }

/* Cột danh mục trong hàng slide ở máy tính bảng: 1 hàng ảnh nhỏ, không tràn chữ */
@media (max-width: 849px) {
	.div-danh-muc .row { max-height: 63px; overflow: hidden; }
	.div-danh-muc .box-image { width: 100%; padding: 0; }
	.div-danh-muc .box-image img { width: 100%; height: auto; }
	.div-danh-muc .box-text { display: none; }
}

/* Hàng slide rộng đúng như bản gốc => menu danh mục thẳng hàng với slide & banner */
.row.row-small { max-width: 1192.5px; }
.tl-vmenu-list > li > a { line-height: 18.2px; }
.tl-vmenu-dropdown { border-top: 1px solid var(--tl-border); }
.tl-vmenu-list > li:first-child { border-top: 0; }

/* Thẻ bài viết (Thông báo / Blog) giống bản gốc */
.box-blog-post { position: relative; background: transparent; border-radius: 0; box-shadow: none; overflow: visible; }
.post-item:hover .box-blog-post { box-shadow: none; transform: none; }
.box-blog-post .box-image { overflow: hidden; }
.box-blog-post .box-text { padding: 15px 5px 20px; text-align: left; }
.box-blog-post .post-title { display: block; height: auto; margin: 0 0 1.5px; overflow: visible; font-size: 14.72px; font-weight: 700; line-height: 1.3; color: #0a0a0a; -webkit-line-clamp: unset; }
.box-blog-post .from_the_blog_excerpt { height: auto; margin: 0 0 1.3px; font-size: 12.8px; line-height: 1.6; color: #232323; }
.box-blog-post .button.is-outline { display: inline-block; margin: 10px 0 0; padding: 0 12.3px; min-height: 25.6px; line-height: 22.4px; font-size: 10.24px; font-weight: 700; text-transform: uppercase; color: #c0c0c0; background: transparent; border: 2px solid #c0c0c0; border-radius: 0; box-shadow: none; }
.post-item:hover .box-blog-post .button.is-outline { color: #fff; background: var(--tl-primary); border-color: var(--tl-primary); }
.box-blog-post .post-date { position: absolute; top: 22.5px; left: 0; z-index: 5; width: 44.8px; height: 44.8px; margin-left: -6.4px; }
.box-blog-post .post-date .badge-inner { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; font-weight: 700; line-height: 1.1; text-align: center; color: var(--tl-primary); background: #fff; border: 2px solid var(--tl-primary); }
.box-blog-post .post-date br { display: none; }
.box-blog-post .post-date-day { font-size: 17px; }
.box-blog-post .post-date-month { font-size: 10.24px; }

/* Dải logo hãng (div-logo) */
.div-logo .row, .div-logo .tl-carousel .row { margin-left: 0 !important; margin-right: 0 !important; padding: 10px 0; border: 1px solid #ddd; }
.div-logo .gallery-col { padding: 0 15px !important; }
.div-logo .box-image { display: block; padding: 2px; border: 1px solid #eee; }
.div-logo .gallery-col img { display: block; width: 100%; height: auto !important; aspect-ratio: auto 2 / 1; contain-intrinsic-size: none; object-fit: contain; border-radius: 0; }
.div-logo .box-text, .div-logo .tl-nav, .div-logo button { display: none; }

/* Footer dựng bằng Khối nội dung (footer-section) */
#footer .footer-section { padding: 30px 0; color: #f1f1f1; background-color: var(--tl-vmenu); }
#footer .footer-section .col { padding-bottom: 0; }
#footer .footer-section h4 { margin-bottom: 9px; font-size: 18px; font-weight: 700; color: #fff; }
#footer .footer-section, #footer .footer-section p, #footer .footer-section .textwidget, #footer .footer-section a:not(.button) { color: #f1f1f1; }
#footer .footer-section a:hover { color: #fff; }
#footer .footer-section .sidebar-wrapper, #footer .footer-section .menu { margin: 0; padding: 0; list-style: none; }
#footer .footer-section .widget { padding: 0 !important; margin: 0; }
#footer .footer-section .menu li { border: 0; }
#footer .footer-section .menu li a { display: block; padding: 6px 0; }
#footer .footer-section .widget-title { display: none; }

/* 1.2.6 – Cột danh mục ẩn sau menu dọc: không chiếm chiều cao (ảnh lazy-load bị tính tạm 1500px) */
@media (min-width: 850px) { .div-danh-muc > .col-inner { display: none; } }
.product-category img, .gallery-col img, .div-danh-muc img { contain-intrinsic-size: none; }
/* 1.2.7 – Footer khối nội dung: cỡ chữ & vạch ngăn như bản gốc */
#footer .footer-section, #footer .footer-section .textwidget, #footer .footer-section .menu li a { font-size: 16px; }
#footer .footer-section .menu li + li { border-top: 1px solid rgba(255,255,255,.08); }
/* 1.2.8 – Màu theo "Bộ màu": footer (kể cả khối nội dung có màu nền ghi sẵn), chữ "Xem thêm", giá */
:root { --tl-footer-bg: var(--tl-vmenu); }
.section-title a.link-xem-them { color: var(--tl-secondary); }
.product-small .price .amount { color: var(--tl-price); }
.product-small .price del .amount { color: var(--tl-price) !important; }
#footer .footer-section { background-color: var(--tl-footer-bg) !important; }
.footer-widgets, .footer-2 { background: var(--tl-footer-bg); }

/* ==========================================================================
   1.2.9 – Trang chi tiết sản phẩm giống theme gốc (đo trên dientutuyenquang.net)
   ========================================================================== */
.section-chi-tiet.row-large { max-width: 1230px; }
.section-chi-tiet.row-large > .col { padding: 0 30px 30px; }
.section-chi-tiet.row-large > .div-chi-tiet-phai { padding-left: 15px; }
.row-divided.row-reverse > .col + .col:not(.large-12) { border-left: 0; border-right: 1px solid var(--tl-border-light); }
.section-chi-tiet .product-main { padding: 20px 0 10px; }
.section-chi-tiet .product-main > .row { margin-left: -15px; margin-right: -15px; }
.section-chi-tiet .product-gallery.col { padding: 0 15px 30px; }
.section-chi-tiet .product-info.col { padding: 0 0 30px; }
.section-chi-tiet .product-info.col-fit { flex: 1 1 0; max-width: 50%; }

/* Ảnh: không viền như bản gốc */
.section-chi-tiet .woocommerce-product-gallery { border: 0; border-radius: 0; }
.section-chi-tiet .woocommerce-product-gallery__trigger { top: auto; bottom: 10px; left: 10px; }

/* Cột thông tin */
.product-info .woocommerce-breadcrumb { margin: 0 0 7px; font-size: 14px; line-height: 1.2; color: #222; text-transform: none; }
.product-info .woocommerce-breadcrumb a { color: #222; }
.product-info .woocommerce-breadcrumb a:hover { color: var(--tl-hover); }
.product-info .woocommerce-breadcrumb .divider { margin: 0 6px; opacity: .6; }
.product-info .product_title, .product-info .product-title { margin: 0; font-size: 20px; line-height: 26px; font-weight: 700; color: #0a0a0a; }
.product-info .tt-product-brand { margin-bottom: 8px; font-size: 15.2px; }
.product-info .price-wrapper { margin: 0; padding: 0; background: none; border-radius: 0; }
.product-info .price { font-size: 16px; }
.product-info p.price span.amount, .product-info .price ins span.amount { font-size: 25px; line-height: 25px; color: var(--tl-price); text-shadow: none; }
.product-info .price del span.amount { font-size: 16px !important; color: #888; }
.product-info .woocommerce-product-details__short-description { margin-top: 8px; font-size: 16px; line-height: 1.6; color: #232323; }
.product-info .stock { margin: 17px 0 12.8px; font-size: 12.8px; color: #7a9c59; }
.product-info form.cart { display: flex; flex-wrap: wrap; align-items: center; gap: 0 20px; margin-bottom: 0; }
.product-info form.cart .quantity { height: 40px; margin: 0; }
.product-info form.cart .quantity input.qty { width: 40px; height: 40px; font-size: 16px; }
.product-info form.cart .quantity .minus, .product-info form.cart .quantity .plus { width: 21px; height: 40px; background: #f9f9f9; }
.product-info .single_add_to_cart_button:not(.buy_now_button) { flex: 0 0 auto !important; width: auto !important; height: 40px; min-height: 40px; margin: 0; padding: 0 19.2px; font-size: 16px; font-weight: 700; line-height: 40px; text-transform: none; color: #fff; background: #ffb400; border-radius: 4px; }
.product-info .single_add_to_cart_button:not(.buy_now_button):hover { color: #fff; background: #e6a200; }
.product-info .variations_form .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; align-items: center; gap: 0 20px; }
.product-info .product-offer { margin: 30px 0 20px; }
.product-info .product-offer .title { font-size: 16px; text-transform: uppercase; }
.product-info .share-row { margin-top: 0; }
.product-info .share-icons { display: flex; gap: 4px; }
.product-info .share-icons a { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; font-size: 14px; color: #c0c0c0; border: 2px solid #c0c0c0; border-radius: 999px; background: none; }
.product-info .share-icons a:hover { color: #fff; background: var(--tl-primary); border-color: var(--tl-primary); }

/* Mô tả (các mục nối tiếp như theme cũ) */
.product-page-accordian .title-tab { margin: 20px 0; padding-bottom: 3px; font-size: 21px; font-weight: 700; text-transform: uppercase; color: #0a0a0a; border-bottom: 2px solid #0a0a0a; }
.product-page-accordian .tab-content { font-size: 16px; line-height: 1.6; }
.product-page-accordian .tab-content > h2:first-child { display: none; }

/* Sản phẩm tương tự: lưới 4 cột, không đổ bóng */
.product-footer .related { margin-top: 20px; }
#nz-div { margin-bottom: 8px; }
.related .product-small.box, .up-sells .product-small.box { box-shadow: none; border-radius: 0; }
.related .product-small .price .amount, .up-sells .product-small .price .amount { font-size: 25px; }

/* Cột phải: tiêu đề "Có thể bạn quan tâm" */
h3.title-chi-tiet { margin: 0 0 8.5px; padding: 4px; font-size: 17px; font-weight: 700; text-align: center; color: #fff; background: var(--tl-vmenu); }
.section-chi-tiet .div-chi-tiet-phai .product-small { padding: 10px; border: 1px solid #eee; }
.section-chi-tiet .div-chi-tiet-phai .product-small .product-title { height: auto; }
.section-chi-tiet .div-chi-tiet-phai .product-small .price ins { position: static; }

@media (max-width: 849px) {
	.section-chi-tiet.row-large > .col { padding: 0 15px 30px; }
	.section-chi-tiet .product-gallery.col, .section-chi-tiet .product-info.col-fit { max-width: 100%; flex-basis: 100%; }
	.section-chi-tiet .product-info.col { padding: 0 15px 30px; }
}

/* 1.3.0 – Trang sản phẩm: cỡ chữ mô tả ngắn, khung khuyến mãi, ký hiệu tiền, nút chia sẻ viền xám như bản gốc */
.product-info .woocommerce-product-details__short-description { margin-top: 8px; font-size: 13px; line-height: 1.6; }
.product-info .woocommerce-product-details__short-description p { margin: 0 0 1.3em; }
.product-info .product-offer .content, .product-info .product-offer li { font-size: 16px; line-height: 1.6; }
.product-info .price .woocommerce-Price-currencySymbol { font-size: .75em; }
.product-info .share-icons a.icon, .product-info .share-icons a { color: #c0c0c0 !important; background: none !important; border: 2px solid #c0c0c0 !important; }
.product-info .share-icons a:hover { color: #fff !important; background: var(--tl-primary) !important; border-color: var(--tl-primary) !important; }
/* 1.3.1 – "Có thể bạn quan tâm": chỉ 1 khung viền cho mỗi sản phẩm (như bản gốc) */
.section-chi-tiet .div-chi-tiet-phai .products.row { margin-left: 0 !important; margin-right: 0 !important; }
.section-chi-tiet .div-chi-tiet-phai .product-small .product-small { padding: 0; border: 0 !important; }

/* ==========================================================================
   1.3.2 – Trang Cửa hàng / danh mục giống theme gốc
   ========================================================================== */
/* Phân trang: nút tròn viền đậm (lỗi cũ: thẻ <ul class="page-numbers"> bị dính kiểu của 1 nút => các số xếp chồng dọc) */
.woocommerce-pagination, .tl-pagination { margin: 0; text-align: center; }
.woocommerce-pagination ul.page-numbers, .tl-pagination ul.page-numbers { display: flex; flex-wrap: wrap; justify-content: center; gap: 5.44px; min-width: 0; height: auto; margin: 5px 0 20px; padding: 0; line-height: normal; list-style: none; color: inherit; background: none; border: 0; border-radius: 0; }
.woocommerce-pagination ul.page-numbers li, .tl-pagination ul.page-numbers li { display: inline-block; margin: 0; padding: 0; border: 0; }
.woocommerce-pagination li .page-numbers, .tl-pagination li .page-numbers { display: flex; align-items: center; justify-content: center; min-width: 34px; height: 34px; padding: 0 7px; font-size: 14.96px; font-weight: 700; line-height: 1; color: #232323; background: none; border: 2px solid #232323; border-radius: 99px; }
.woocommerce-pagination li .page-numbers.current, .woocommerce-pagination li a.page-numbers:hover, .tl-pagination li .page-numbers.current, .tl-pagination li a.page-numbers:hover { color: #fff; background: var(--tl-primary); border-color: var(--tl-primary); }

/* Lưới sản phẩm trang danh mục: chữ căn giữa, không có dòng "Hiển thị..." và ô sắp xếp */
.category-page-row .tl-shop-toolbar { display: none; }
.category-page-row .product-small .box-text { padding: 15px 10px; text-align: center; }
.category-page-row .product-small .price ins { left: 0; right: 0; }

/* Sidebar danh mục: danh mục con gập lại, có nút mở */
#shop-sidebar span.widget-title { padding: 10px; font-size: 16px; }
#shop-sidebar .widget_product_categories ul.product-categories { margin: 0; padding: 0; list-style: none; }
#shop-sidebar .product-categories li { position: relative; margin: 0; padding: 0 15px; border: 0; }
#shop-sidebar .product-categories > li > a { display: block; padding: 6px 30px 6px 0; font-size: 16px; color: #232323; }
#shop-sidebar .product-categories > li > a:hover, #shop-sidebar .product-categories li.current-cat > a { color: var(--tl-primary); }
#shop-sidebar .product-categories .children { display: none; margin: 0; padding: 0 0 6px 10px; list-style: none; }
#shop-sidebar .product-categories li.is-open > .children { display: block; }
#shop-sidebar .product-categories .children li { padding: 0; }
#shop-sidebar .product-categories .children a { display: block; padding: 4px 0; font-size: 14px; color: #555; }
#shop-sidebar .product-categories li::before, #shop-sidebar .product-categories a::before { display: none; }
.tl-cat-toggle { position: absolute; top: 6px; right: 8px; width: 26px; height: 26px; min-height: 0; margin: 0; padding: 0; font-size: 16px; line-height: 26px; color: #999; background: none; border: 0; box-shadow: none; }
.tl-cat-toggle:hover { color: var(--tl-primary); background: none; box-shadow: none; }
.tl-cat-toggle i { transition: transform .2s; }
li.is-open > .tl-cat-toggle i { transform: rotate(180deg); }
#shop-sidebar .product-categories > li:not(.cat-parent) > a { padding-right: 0; }


/* 1.3.3 – Ảnh nhỏ dưới ảnh sản phẩm: 1 hàng 4 ảnh, các ảnh còn lại trượt bằng nút (như theme gốc) */
.woocommerce-product-gallery { overflow: visible; }
.tl-thumbs { position: relative; margin: 16px -9.8px 0; }
.woocommerce-product-gallery .flex-control-thumbs { display: flex; flex-wrap: nowrap; gap: 0; margin: 0; padding: 0; overflow-x: auto; overflow-y: hidden; list-style: none; border: 0; scroll-snap-type: x mandatory; scrollbar-width: none; }
.woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar { display: none; }
.woocommerce-product-gallery .flex-control-thumbs li { flex: 0 0 25%; max-width: 25%; margin: 0; padding: 0 9.8px; scroll-snap-align: start; }
.woocommerce-product-gallery .flex-control-thumbs li img { display: block; width: 100%; height: auto; border: 0; border-radius: 0; opacity: .5; cursor: pointer; transition: opacity .2s; }
.woocommerce-product-gallery .flex-control-thumbs li img.flex-active, .woocommerce-product-gallery .flex-control-thumbs li img:hover { opacity: 1; border: 0; }
.tl-thumb-nav { position: absolute; top: 50%; z-index: 3; width: 30px; height: 30px; min-height: 0; margin: -15px 0 0; padding: 0; font-size: 22px; line-height: 30px; color: #333; background: rgba(255,255,255,.85); border: 0; border-radius: 50%; box-shadow: 0 1px 4px rgba(0,0,0,.2); opacity: 0; transition: opacity .2s; }
.tl-thumb-prev { left: 12px; } .tl-thumb-next { right: 12px; }
.tl-thumbs:hover .tl-thumb-nav, .tl-thumb-nav:focus { opacity: 1; }
.tl-thumb-nav:hover { color: #fff; background: var(--tl-primary); box-shadow: none; }
@media (hover: none) { .tl-thumb-nav { opacity: 1; } }

/* 1.3.4 – Trang sản phẩm: cách thanh menu 20px như bản gốc (sidebar "Có thể bạn quan tâm" không dính vào menu) */
.section-chi-tiet.row { padding-top: 20px; }

/* ==========================================================================
   1.3.5 – Trang giỏ hàng 2 cột giống theme gốc
   ========================================================================== */
.tl-cart-row { margin-left: -30px !important; margin-right: -30px !important; max-width: none; }
.tl-cart-row > .col { padding: 0 30px 30px; }
.tl-cart-row > .col.pb-0 { padding-bottom: 0; }
.tl-cart-row.row-divided > .col + .col { border-left: 1px solid #ececec; }
.tl-cart-row .shop_table { margin-bottom: 0; font-size: 14.4px; }
.tl-cart-row .shop_table thead th { padding: 7.2px 7.2px 7.2px 0; font-size: 14.4px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #232323; border-bottom: 3px solid #ececec; }
.tl-cart-row .shop_table td { padding: 15px 0; border-bottom: 1px solid #ececec; vertical-align: middle; }
.tl-cart-row .shop_table td.product-remove { width: 24px; padding-right: 15px; }
.tl-cart-row .shop_table .product-remove a { width: 24px; height: 24px; line-height: 20px; font-size: 15px; color: #ccc; border: 2px solid #ccc; border-radius: 100%; }
.tl-cart-row .shop_table .product-remove a:hover { color: #fff; background: #000; border-color: #000; }
.tl-cart-row .shop_table td.product-thumbnail { width: 90px; padding-right: 14px; }
.tl-cart-row .shop_table .product-thumbnail img { width: 76px; height: auto; border-radius: 0; }
.tl-cart-row .shop_table .product-name { padding-right: 15px; }
.tl-cart-row .shop_table .product-name a { font-weight: 400; line-height: 1.3; color: #3365c1; }
.tl-cart-row .shop_table .product-name a:hover { color: var(--tl-hover); }
.tl-cart-row .shop_table td.product-price, .tl-cart-row .shop_table td.product-subtotal { padding-right: 7px; white-space: nowrap; }
.tl-cart-row .shop_table .amount { font-weight: 700; color: #111; }
.tl-cart-row .shop_table td.product-subtotal { text-align: right; }
.tl-cart-row .shop_table th.product-subtotal { text-align: right; padding-right: 0; }
.tl-cart-row .woocommerce-cart-form .actions { padding: 15px 0 0; text-align: left; border-bottom: 0; }
.tl-cart-row .tl-continue-shopping { display: inline-block; margin: 0; padding: 0 14px; min-height: 35px; line-height: 31px; font-size: 14px; font-weight: 700; color: var(--tl-primary); background: transparent; border: 2px solid var(--tl-primary); border-radius: 5px; box-shadow: none; text-transform: none; }
.tl-cart-row .tl-continue-shopping:hover { color: #fff; background: var(--tl-primary); }
.tl-cart-row .tl-update-cart { display: none !important; }

/* Cột phải: Tổng cộng + Mã ưu đãi */
.tl-cart-row .cart-collaterals { display: block; }
.tl-cart-row .cart_totals { max-width: none; padding: 0; background: none; border: 0; border-radius: 0; }
.tl-cart-row .cart_totals h2 { margin: 0; padding: 7.2px 0; font-size: 14.4px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; border-bottom: 3px solid #ececec; }
.tl-cart-row .cart_totals .shop_table th { padding: 7.2px 0; font-size: 14.4px; font-weight: 400; text-transform: none; letter-spacing: 0; color: #232323; border-bottom: 1px solid #ececec; }
.tl-cart-row .cart_totals .shop_table td { padding: 7.2px 0; font-size: 14.4px; text-align: right; border-bottom: 1px solid #ececec; }
.tl-cart-row .cart_totals .woocommerce-shipping-destination, .tl-cart-row .cart_totals .woocommerce-shipping-calculator { font-size: 12.8px; }
.tl-cart-row .wc-proceed-to-checkout { padding: 15px 0 0; }
.tl-cart-row .wc-proceed-to-checkout .checkout-button { height: 39px; min-height: 39px; margin: 0; line-height: 39px; font-size: 15.5px; font-weight: 700; color: #fff; background: #ffb400; border-radius: 5px; }
.tl-cart-row .wc-proceed-to-checkout .checkout-button:hover { background: #e6a200; }
.tl-cart-coupon { margin-top: 25px; }
.tl-cart-coupon .widget-title { display: block; margin: 0 0 15px; padding: 7.2px 0; font-size: 15.2px; font-weight: 700; color: #232323; border-bottom: 3px solid #ececec; }
.tl-cart-coupon .widget-title .fa { margin-right: 4px; color: #999; }
.tl-cart-coupon .input-text { display: block; width: 100%; height: 39px; margin: 0 0 10px; border-radius: 0; }
.tl-cart-coupon .button { display: block; width: 100%; height: 39px; min-height: 39px; margin: 0; line-height: 39px; font-size: 15px; color: #fff; background: var(--tl-primary); border-radius: 0; text-transform: none; }

@media (max-width: 849px) {
	.tl-cart-row { margin-left: -15px !important; margin-right: -15px !important; }
	.tl-cart-row > .col { flex-basis: 100%; max-width: 100%; padding: 0 15px 30px; }
	.tl-cart-row.row-divided > .col + .col { border-left: 0; }
	.tl-cart-row .shop_table td.product-thumbnail { width: auto; padding-right: 0; }
	.tl-cart-row .shop_table td.product-subtotal { text-align: left; }
}
.tl-cart-row table.shop_table, .tl-cart-row table.shop_table th, .tl-cart-row table.shop_table td { border-left: 0 !important; border-right: 0 !important; border-top: 0 !important; border-radius: 0 !important; }
.tl-cart-row table.shop_table { border-collapse: collapse; }
.tl-cart-row a.tl-continue-shopping { color: var(--tl-primary) !important; background: transparent !important; border: 2px solid var(--tl-primary) !important; }
.tl-cart-row a.tl-continue-shopping:hover { color: #fff !important; background: var(--tl-primary) !important; }
/* 1.3.6 – Giỏ hàng: nút số lượng gọn 79px như bản gốc, các cột có khoảng cách 7.2px */
.tl-cart-row .shop_table td.product-name, .tl-cart-row .shop_table td.product-price, .tl-cart-row .shop_table td.product-quantity { padding: 15px 7.2px; }
.tl-cart-row .shop_table td.product-subtotal { padding: 15px 0 15px 7.2px; }
.tl-cart-row .shop_table thead th.product-quantity, .tl-cart-row .shop_table thead th.product-price { padding-left: 7.2px; }
.tl-cart-row .quantity { width: 79px; height: 36px; }
.tl-cart-row .quantity .minus, .tl-cart-row .quantity .plus { flex: 0 0 21px; width: 21px; height: 36px; min-height: 0; padding: 0; font-size: 14px; line-height: 34px; background: #f9f9f9; }
.tl-cart-row .quantity input.qty { flex: 0 0 37px; width: 37px; height: 36px; padding: 0; font-size: 14.4px; text-align: center; }
/* 1.3.7 – Giỏ hàng: bảng rộng đúng như bản gốc (tên sản phẩm 3 dòng thay vì 4) */
.tl-cart-row .shop_table td.product-remove { width: 24px; padding: 15px 0; }
.tl-cart-row .shop_table td.product-thumbnail { width: 90px; padding: 15px 7.2px; }
@media (min-width: 850px) {
	.tl-cart-row { margin-left: -35px !important; margin-right: -35px !important; }
}
/* 1.3.8 – Trang Cửa hàng / danh mục trên điện thoại: lưới sản phẩm chỉ chừa 5px như bản gốc (giá không lòi ra ngoài ô) */
@media (max-width: 549px) {
	.category-page-row > .col { padding-left: 5px; padding-right: 5px; }
}
/* 1.3.9 – Điện thoại: giỏ hàng không lòi ra mép phải; menu trượt bên trái chỉ mở danh mục con khi BẤM (không tự bật/tắt khi rê chuột) */
@media (max-width: 849px) {
	.tl-cart-mobile { padding-right: 10px; }
}
.tl-offcanvas .tl-vmenu-list li:not(.is-open):hover > .sub-menu, .tl-offcanvas .tl-vmenu-list .sub-menu .sub-menu, .tl-offcanvas .nav-vertical li:not(.is-open):hover > .sub-menu { display: none; }
.tl-offcanvas .tl-vmenu-list li.is-open > .sub-menu, .tl-offcanvas .nav-vertical li.is-open > .sub-menu { display: block; }
/* 1.4.1 – Bài viết / trang trên điện thoại: lề 10px mỗi bên (trước 20px), thẳng hàng với header, chữ hiển thị được nhiều hơn */
@media (max-width: 549px) {
	.blog-single > .row > .col, .page-wrapper > .row > .col { padding-left: 10px; padding-right: 10px; }
	.entry-content.single-page { padding-left: 0; padding-right: 0; }
	.blog-single .entry-content { line-height: 1.65; }
	.blog-single .entry-content p { margin-bottom: 1em; }
	.blog-single .related-post .row { margin-left: -10px; margin-right: -10px; }
	.blog-single .related-post .row > .col { padding-left: 10px; padding-right: 10px; }
}
/* 1.4.2 – Trang chi tiết sản phẩm trên điện thoại: lề 10px mỗi bên như bài viết (trước: ảnh/thông tin 30px, mô tả 15px) */
@media (max-width: 549px) {
	.section-chi-tiet.row-large > .col { padding: 0 10px 20px; }
	.section-chi-tiet .product-main > .row { margin-left: 0; margin-right: 0; }
	.section-chi-tiet .product-gallery.col, .section-chi-tiet .product-info.col { padding: 0 0 20px; }
	.section-chi-tiet .tl-thumbs { margin: 12px -5px 0; }
	.section-chi-tiet .woocommerce-product-gallery .flex-control-thumbs li { padding: 0 5px; }
	.section-chi-tiet .related .products { margin-left: -5px !important; margin-right: -5px !important; }
	.section-chi-tiet .related .products > .product-small.col { padding-left: 5px; padding-right: 5px; }
	.product-page-accordian .tab-content { line-height: 1.65; }
}
/* 1.4.3 – Tiêu đề dạng tab: tab đè lên vạch kẻ (vạch vẽ bằng box-shadow) => không còn khe trắng mảnh trên điện thoại do làm tròn pixel lẻ */
.blog-archive h1.page-title { height: 43px; border-bottom: 0; box-shadow: inset 0 -2px 0 var(--tl-primary); }
.blog-archive h1.page-title span { height: 43px; }
.section-title-normal { border-bottom: 0; box-shadow: inset 0 -2px 0 var(--tl-primary); }