/**
	Theme Name: Goya Child Theme
	Description: This is a child theme of Goya.
	Template: goya
	Version: 1.0
	Author: Everthemes
	Author URI: http://themeforest.net/user/luisvelaz
	Tags: responsive-layout, flexible-header, custom-colors, mega-menu, woocommerce, shop, ajax, page-builder, translation-ready, gutenberg
	License: GNU General Public License v2 or later
	License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/


/*---------------------------   khai báo fonts   ---------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

/*---------------------------   Toàn trang   ---------------------------*/
:root {

	/*padding*/
	--padding_canh_pc: 15px;
	--color_accent: #e40232;
	--color_heading: #282828;
	--chu_dam: #282828;
	--border_nhat: 1px solid #f2efef;
	--border_dam: 1px ridge #e3dfdf;
	--boxshadow_nhe: 0 4px 8px rgba(0, 0, 0, 0.03), 0 -4px 8px rgba(0, 0, 0, 0.03), 4px 0 8px rgba(0, 0, 0, 0.03), -4px 0 8px rgba(0, 0, 0, 0.03);
	--boxshadow_3huong: 0 1px 3px rgba(0, 0, 0, 0.08), 0 6px 12px rgba(0, 0, 0, 0.06), 0 12px 24px rgba(0, 0, 0, 0.05);
	--boxshadow_dam: 0px 8px 16px -8px rgba(0, 0, 0, 0.3), 0px 13px 27px -5px rgba(50, 50, 93, 0.25);
	--backgr_table_head: #f1f1f1;
	--backgr_xam: rgba(201, 201, 201, 0.13);
	--backgr_nhat: #fefefe;
	--back_hover_dam: rgba(128, 128, 128, 0.2);
	--backgr_main: #f8f8f8;
}

/*--------- Heading, paragraph ---------*/

/* Đặt font và line-height mặc định cho các heading */
h1, h2, h3, h4 {
	font-family: "Roboto", sans-serif;     /* Sử dụng font mặc định */
	line-height: 1.2;     /* Sử dụng line-height mặc định */
	font-weight: 500;     /* Không thay đổi font-weight */
	color: var(--color_heading);     /* Sử dụng màu chữ mặc định của theme */
	margin-bottom: 1rem;     /* Giữ margin-bottom cơ bản */
}

/* Đặt line-height mặc định cho paragraph */
p {
	line-height: 1.25;     /* Giữ nguyên line-height mặc định */
}

/* Đặt cỡ chữ cho heading */
h1 {
	font-size: 3rem;     /* Cỡ chữ cho h1 */
}

h2 {
	font-size: 2.25rem;     /* Cỡ chữ cho h2 */
}

h3 {
	font-size: 1.75rem;     /* Cỡ chữ cho h3 */
}

h4 {
	font-size: 1.375rem;     /* Cỡ chữ cho h4 */
}

/* Paragraph */
p {
	font-size: 1rem;     /* Cỡ chữ mặc định cho paragraph */
	margin-bottom: 1rem;     /* Giữ margin-bottom cơ bản */
}

/* Media Queries */
@media screen and (max-width:1200px) {
	h1 {
		font-size: 2.75rem;         /* Cỡ chữ cho h1 khi màn hình nhỏ */
	}

	h2 {
		font-size: 2rem;         /* Cỡ chữ cho h2 khi màn hình nhỏ */
	}

	h3 {
		font-size: 1.625rem;         /* Cỡ chữ cho h3 khi màn hình nhỏ */
	}

	h4 {
		font-size: 1.25rem;         /* Cỡ chữ cho h4 khi màn hình nhỏ */
	}

}

@media screen and (max-width:768px) {
	h1 {
		font-size: 2.5rem;         /* Cỡ chữ cho h1 khi màn hình nhỏ hơn */
	}

	h2 {
		font-size: 1.875rem;         /* Cỡ chữ cho h2 khi màn hình nhỏ hơn */
	}

	h3 {
		font-size: 1.5rem;         /* Cỡ chữ cho h3 khi màn hình nhỏ hơn */
	}

	h4 {
		font-size: 1.125rem;         /* Cỡ chữ cho h4 khi màn hình nhỏ hơn */
	}

	p {
		font-size: 0.9375rem;         /* Cỡ chữ cho paragraph khi màn hình nhỏ */
	}

}

@media screen and (max-width:480px) {
	h1 {
		font-size: 2rem;         /* Cỡ chữ cho h1 khi màn hình rất nhỏ */
	}

	h2 {
		font-size: 1.625rem;         /* Cỡ chữ cho h2 khi màn hình rất nhỏ */
	}

	h3 {
		font-size: 1.25rem;         /* Cỡ chữ cho h3 khi màn hình rất nhỏ */
	}

	h4 {
		font-size: 1rem;         /* Cỡ chữ cho h4 khi màn hình rất nhỏ */
	}

	p {
		font-size: 0.875rem;         /* Cỡ chữ cho paragraph khi màn hình rất nhỏ */
	}

}

/*---------------------------   Thanh pagination   ---------------------------*/

/* Chỉnh sửa các phần tử trong phân trang */
ul.page-numbers {
	justify-content: center;
	margin: 0 auto 50px;
	display: flex;
	width: fit-content;
	padding: 0.4rem 1.7rem;
	list-style: none;
	border: hsla(0, 6%, 83%, 0.5) solid 1px;
	border-radius: 6px;
	box-shadow: var(--boxshadow_3huong);
}

/* Các phần tử li trong phân trang */
.page-numbers li {
	margin: 0;
}

/* Các trang số */
.page-numbers .page-numbers {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 30px;
	padding: 4px 7px 6px;
	margin: 4px 2px;
	text-decoration: none;
	border-radius: 5px;
	transition: all 0.2s ease;
}

/* Hiệu ứng hover trên các trang */
.page-numbers .page-numbers:hover {
	background-color: var(--back_hover_dam);
}

/* Trang hiện tại */
.page-numbers .current {
	background-color: #ec6210;
	color: white !important;
	text-decoration: none !important;
	pointer-events: none;
}

/* Nút Previous/Next */
.page-numbers .next, .page-numbers .prev {
	padding-left: 12px;
	padding-right: 12px;
}

.page-numbers .next {
	margin-left: 2rem;
}

.page-numbers .prev {
	margin-right: 2rem;
}

/* Dấu ba chấm (ellipsis) */
.page-numbers .dots {
	color: #666;
}

/* Xóa outline mặc định và thêm outline mới khi focus vào liên kết */
.page-numbers a:focus {
	outline: none;
	border: solid 1px #ec6210;
}

/* Điều chỉnh phân trang trên màn hình nhỏ (mobile) */
@media (max-width:768px) {
	ul.page-numbers {
		padding: .4rem 1rem;
	}

	.page-numbers .page-numbers {
		font-size: 12px;
		padding: 3px 3px 4px;
		min-width: 32px;
		margin: 0 1px;
	}

	.page-numbers .next, .page-numbers .prev {
		padding: 0 8px;
	}

	.page-numbers .next {
		margin-left: 1rem;
	}

	.page-numbers .prev {
		margin-right: 1rem;
	}

}

/*---------------------------   FiboSearch   ---------------------------*/
.dgwt-wcas-suggestions-wrapp {
	width: fit-content !important;
	overflow: visible;
	height: fit-content;
}

.dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input {
	height: 37px;
}

.dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input {
	padding: 10px 15px 11px;
}

.dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit {
	height: 100%;
}

.dgwt-wcas-suggestion {
	display: flex;     /* Sử dụng flexbox để căn chỉnh nội dung */
	align-items: center;     /* Căn giữa theo chiều dọc */
	white-space: nowrap;     /* Ngăn không cho văn bản tự động xuống dòng */
}

.dgwt-wcas-si img {
	max-width: 30px;     /* Giới hạn kích thước hình ảnh */
	margin-right: 10px;     /* Khoảng cách giữa hình ảnh và tiêu đề */
}

.dgwt-wcas-st-label-in {
	margin-left: 5px;
}

.dgwt-wcas-search-submit .dgwt-wcas-ico-magnifier path {
	fill: #909999 !important;     /* Change to your desired color */
}

/* tạo border toàn khung tìm kiếm fibosearch */
.dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input {
	border-width: 1px;     /* Adjust the border width for all sides */
	border-color: #ddd;     /* Add a border color */
	box-shadow: none !important;
	border-radius: 4px;
	width: 300px;
}

/*---------------------------   Layout grid trong product catalog   ---------------------------*/
.shop-products-col.col {
	padding: 0 !important;
}

/* Product Grid Item Container */
.products .product_after_title {
	display: none;
}

.product-grid-item {
	display: flex;
	height: 100%;
}

/* Product Inner Container */
.product-inner {
	overflow: hidden;
	width: 100%;
	background: #fff;
	border: 1px solid #e5e5e5;
	transition: border-color 0.3s ease;
	padding: 10px;
	border-radius: 8px;
	display: flex;
	flex-direction: column;
	height: 100%;
}

@media (max-width:768px) {
	.product-inner {
		padding: 7px;
		border-radius: 6px;
	}

}

.product-inner:hover {
	box-shadow: 0 0 8px rgba(160, 160, 160, 0.4);
	transform: translateY(-1px);
}

/* Product Image Container */
.product_thumbnail {
	overflow: hidden;
	margin: 0;
	padding: 10px 0;
	flex: 0 0 auto;
}

@media (max-width:768px) {
	.product_thumbnail {
		padding: 5px 0 !important;
	}

}

.product_thumbnail img {
	height: 100%;
	width: auto;
}

/* Product Info */
.caption {
	padding: 15px 0 5px !important;
	border-top: 1px solid #e5e5e5;
	flex: 1 0 auto;
	display: flex;
}

.product-inner .product-title {
	padding: 0;
	width: 100%;
	display: flex;
	margin: 0 !important;
}

.product-inner .product-title h2 {
	margin: 0 auto !important;     /* Đảm bảo không có khoảng cách mặc định */
	font-family: "Roboto", sans-serif !important;
	font-optical-sizing: auto;
	font-size: 16px !important;
	font-weight: 400 !important;
}

@media (max-width:768px) {
	.product-inner .product-title h2 {
		font-size: 13px !important;
	}

}

.product-title a {
	text-decoration: none;
	transition: color 0.1s;     /* Chỉ cần chuyển đổi màu sắc */
	display: block !important;
	text-align: center !important;
	color: #000;

	/* Màu sắc mặc định */
	&:hover {
		color: var(--color_accent);         /* Màu sắc khi hover (có thể thay đổi theo ý thích) */
	}

}

/* Responsive */
@media (max-width:767px) {
	.product_thumbnail {
		padding: 0;
	}

	.product-title h2 {
		font-size: 13px !important;
	}

}

/*--------------------------- lắt nhắt ---------------------------*/
@media (min-width:1024px) {
	.sticky-product-bar {
		height: fit-content !important;
		padding: 15px 0;
	}

	.sticky-product-bar-image {
		display: none;
	}

	.sticky-product-bar-title {
		max-width: unset;
	}

}

header .header-contents.container {
	padding-top: 0 !important;
}

strong {
	font-weight: 500;
}

/*---------------------------   Product info   ---------------------------*/

/*--------- Product meta ---------*/
.et-product-detail .product_meta {
	font-size: 1rem;
}

.posted_in.expanded a {
	padding: unset;
	margin-left: unset;
}

.posted_in {
	padding-right: unset;
}

.product_meta a {
	color: inherit !important;
}

.product_meta {
	font-weight: bold;
	color: unset;
}

.product_meta span span, .product_meta span a {
	font-weight: normal;
	color: unset;
}

.sku_wrapper .sku {
	color: inherit !important;
}

/*--------------------------- Định dạng table-list ---------------------------*/
*, :after, :before {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	text-rendering: optimizeLegibility;
}

figure.table {
	margin: 0;
}

table {
	color: #686868;
	width: fit-content !important;     /* Thay đổi từ auto sang fit-content */
	margin: 0 auto 28px;
	border-collapse: separate;
	border-spacing: 0;
	display: inline-block;     /* Thay đổi từ block sang inline-block */
	overflow-x: auto;          /* Chỉ cho phép cuộn ngang */
	overflow-y: visible;       /* Không cuộn dọc, để bảng cao tự nhiên */
	scrollbar-width: thin;
	border-top: var(--border_dam);
	border-bottom: var(--border_dam);
}

/* Style cho thead nếu có */
thead th {
	position: sticky;
	top: 0;
	background-color: var(--backgr_table_head);
	z-index: 2;
	color: #282828;
	font-weight: bold;
	padding: 0.6em 0.8em;
	border: var(--border_dam);
	text-transform: none;
}

thead th::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	background-color: #ccc;
	z-index: 1;
}

thead th::before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 1px;
	background-color: #ccc;
	z-index: 1;
}

/* Style cho tr:first-child khi không có thead */
table:not(:has(thead)) tr:first-child td {
	position: sticky;
	top: 0;
	background-color: var(--backgr_table_head);
	z-index: 2;
	color: #282828;
	font-weight: bold;
	padding: 0.6em 0.8em;
	border: var(--border_dam);
	text-transform: none;
}

table:not(:has(thead)) tr:first-child td::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	background-color: #ccc;
	z-index: 1;
}

table:not(:has(thead)) tr:first-child td::before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 1px;
	background-color: #ccc;
	z-index: 1;
}

td {
	padding: 0.6em 0.8em;
	border: var(--border_dam) !important;
	background-color: #fff;
}

td strong, td b {
	font-weight: 600 !important;
}

tr:hover td {
	background-color: #f1f1f1;
}

ul, ol {
	margin: 0 0 28px 0.7em;
	padding-left: 20px;
}

li {
	line-height: 1.7;
}

li::marker {
	color: #002f70;
}

:-webkit-scrollbar-thumb:hover {
	background: rgba(0, 0, 0, 0.5);
}

@media (max-width:768px) {
	table {
		width: 100%;
		margin: 0;
	}

	th, td {
		font-size: 12px;
		padding: 0.5em;
		word-wrap: break-word;
		white-space: normal;
	}

	td.long-content {
		max-height: 40px;
		overflow: hidden;
		position: relative;
	}

	td.long-content:after {
		content: "Xem thêm...";
		position: absolute;
		bottom: 0;
		right: 0;
		background: white;
		color: blue;
		cursor: pointer;
		font-size: 12px;
	}

	table::-webkit-scrollbar {
		height: 6px;
	}

	table::-webkit-scrollbar-thumb {
		background: rgba(0, 0, 0, 0.2);
		border-radius: 5px;
	}
}


/*---------------------------   Filter sidebar  product catalog   ---------------------------*/

/*--------- Featured product ---------*/

/* Đảm bảo ul chứa các sản phẩm có style reset */
.product_list_widget {
	list-style: none;
	padding: 0;
	margin: 0;
}

/* Tạo kiểu cho từng item trong danh sách sản phẩm */
.product_list_widget li {
	display: flex;
	align-items: center;
	margin-bottom: 10px;
}

/* Định dạng hình ảnh sản phẩm */
.product_list_widget li img {
	flex-shrink: 0;
	width: auto !important;
	height: 40px !important;
	margin-right: 10px;
	object-fit: contain !important;
}

/* Định dạng tên sản phẩm */
.product_list_widget li .product-title {
	white-space: nowrap;     /* Không cho tên sản phẩm xuống dòng */
	overflow: hidden;     /* Ẩn phần nội dung vượt quá kích thước container */
	text-overflow: ellipsis;     /* Hiển thị dấu '...' nếu tên quá dài */
	font-size: 14px !important;     /* Kích thước chữ cho tên sản phẩm */
	line-height: 1.5;     /* Giãn dòng để cân đối */
}

/* Đảm bảo link không bị phá vỡ */
.product_list_widget li a {
	display: flex !important;
	align-items: center !important;
	color: inherit;

	&:hover {
		color: var(--color_accent);
	}

}

/* title */
h3.widgettitle.collapsible {
	font-size: 18px !important;
	text-transform: none !important;
	font-weight: 500 !important;
	font-family: "Roboto", serif !important;
	color: #282828 !important;
	letter-spacing: normal !important;
}

/* Bọc khung sản phẩm bán chạy */
ul.product_list_widget {
	padding: 5px 0;
	border: var(--border_nhat);
}

/*--------- Phần lọc ---------*/

/* Ẩn checkbox gốc */
.wc-block-components-checkbox__input, .wc-block-components-checkbox__mark {
	display: none !important;
}

/* Tạo khung filter */
.wc-block-components-checkbox.wc-block-checkbox-list__checkbox {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0.1rem 0.6rem;
	border: 1px solid #dcdcdc;
	border-radius: 5px;
	cursor: pointer;
	transition: all 0.3s ease;
	text-align: center;
	white-space: nowrap;
	margin-top: 0 !important;
}

h3.wp-block-heading {
	margin-bottom: 12px;
	font-size: large;
}

/* Hover effect */
.wc-block-components-checkbox.wc-block-checkbox-list__checkbox:hover {
	background-color: var(--backgr_xam);
}

/* Checked state */
.wc-block-components-checkbox.wc-block-checkbox-list__checkbox .wc-block-components-checkbox__input:checked ~ .wc-block-components-checkbox__label {
	color: var(--color_accent);
}

.wc-block-components-checkbox.wc-block-checkbox-list__checkbox .wc-block-components-checkbox__input:checked ~ .wc-block-components-checkbox__label::before {
	content: "✓";
	margin-right: 5px;
}

/* Flexbox cho danh sách các checkbox */
.wc-block-checkbox-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem;
}

/* Chữ bên trong */
.wc-block-components-checkbox__label {
	font-size: 14px;
}

.wc-block-components-checkbox-list li {
	margin: 0 !important;
}

.shop-sidebar .widget ul li {
	padding-left: 0;
}

.side-panel-content h2 {
	margin-bottom: 1rem;
	font-size: 1.8rem;
}

.shop-sidebar-col {
	padding: 0 2rem 0 0;
}

/*--------- Blockquote ---------*/

/* Reset blockquote */
blockquote, blockquote::before, .wp-block-quote::before {
	all: unset;
}

/* Định dạng chung cho blockquote */
blockquote {
	background-color: #f1f6ffd6;
	border: 0.8px solid #4c7bd978;
	border-radius: 10px;
	display: inline-block;
	width: fit-content;
	margin: 25px 40px;
	padding: 17px 30px;
}

/* Định dạng cho nội dung trong blockquote */
blockquote * {
	width: fit-content;
	margin-bottom: 0;
}

/* Responsive cho mobile */
@media screen and (max-width:768px) {
	blockquote {
		margin: 20px 15px;         /* Giảm margin cho mobile */
		padding: 15px 20px;         /* Giảm padding cho mobile */
		width: calc(100% - 30px);         /* Chiều rộng tự động điều chỉnh theo màn hình */
		box-sizing: border-box;
	}

}

/*---------------------------   Woo tabs   ---------------------------*/

/*--------- Tab info ---------*/
ul.tabs.wc-tabs {
	margin: 40px auto 20px;
	padding-left: 0;
	width: fit-content;
	padding: 8px 0 15px;
	width: 900px;
}

/* Container chính */
.woocommerce div.product .woocommerce-tabs ul.tabs {
	display: flex;
	list-style: none;
	background: #fff;
	margin-bottom: 30px;
	justify-content: center;     /* Căn giữa các tab trên PC */
}

/* List items */
.woocommerce div.product .woocommerce-tabs ul.tabs li {
	background: unset;     /* Gỡ bỏ màu nền mặc định */
	border: unset;     /* Gỡ bỏ viền mặc định */
	padding: 0;
	margin: 0 10px;     /* Khoảng cách giữa các tab */
	position: relative;
}

/* Loại bỏ hiệu ứng dư thừa */
.woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after {
	content: none;
	display: none;
}

/* Links */
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	padding: 15px 25px;
	font-weight: 500;
	color: #666;
	text-decoration: none;
	display: block;
	border: unset;     /* Gỡ bỏ viền mặc định */
	background: unset;     /* Gỡ bỏ nền mặc định */
	position: relative;
	animation: unset;     /* Gỡ bỏ animation của theme */
	transition: color 0.3s ease;     /* Giữ hiệu ứng màu khi hover */
}

@media (max-width:768px) {
	.woocommerce div.product .woocommerce-tabs ul.tabs li a {
		padding: 12px 15px !important;
	}

	ul.tabs.wc-tabs {
		width: 100%;         /* Hoặc max-width: 100% để phần tử chiếm toàn bộ chiều rộng */
		border: none;
		border-bottom: 1px solid #cccccc;
		margin-top: 0;
	}

	.woocommerce div.product .woocommerce-tabs ul.tabs {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		white-space: nowrap;
		justify-content: flex-start;         /* Căn trái các tab trên mobile */
	}

	.woocommerce div.product .woocommerce-tabs ul.tabs li {
		margin: 0;         /* Loại bỏ khoảng cách dư thừa */
	}

	.woocommerce div.product .woocommerce-tabs ul.tabs li a {
		padding: 12px 20px;
	}

}

/* Hover state */
.woocommerce div.product .woocommerce-tabs ul.tabs li:hover a {
	color: #002f70;
}

/* Active state */
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
	color: #002f70;
	font-weight: 600;
}

/*--------- tab Tài liệu ---------*/
.download-container-tai-lieu {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.download-item-tai-lieu {
	display: flex;
	align-items: center;     /* Căn giữa theo chiều dọc */
	justify-content: space-between;     /* Tên và nút cách xa nhau */
	padding: 15px 20px;
	border: 1px solid #e1e1e1;
	border-radius: 8px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	background-color: #fff;
	max-width: 600px;
	width: 100%;
	margin: 0 auto;
}

.file-info-tai-lieu {
	display: flex;
	flex-direction: column;
	gap: 5px;
	align-items: flex-start;
}

.file-name-tai-lieu {
	font-size: 16px;
	font-weight: 500;
	color: #333;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.file-size-tai-lieu {
	font-size: 14px;
	color: #888;
}

.download-btn-tai-lieu {
	display: flex;
	align-items: center;
	justify-content: center;     /* Căn giữa chữ và icon */
	padding: 10px 16px;
	background-color: var(--color_accent);     /* Màu đỏ */
	color: #fff;
	border-radius: 5px;
	text-decoration: none;
	font-size: 14px;
	transition: background-color 0.3s;
	font-weight: 500;
}

.download-btn-tai-lieu:hover {
	filter: brightness(1.6);
	color: white !important;
}

.download-btn-tai-lieu i {
	margin-right: 6px;
}

.no-files-tai-lieu {
	color: #888;
	font-style: italic;
	text-align: center;
}

/* Responsive cho mobile */
@media (max-width:768px) {
	.download-item-tai-lieu {
		flex-direction: column;         /* Xuống dòng trên màn hình nhỏ */
		align-items: flex-start;
		gap: 10px;
	}

	.download-btn-tai-lieu {
		width: 100%;
		text-align: center;
	}

}

/*---------------------------   Footer   ---------------------------*/
.footer-widgets {
	background-color: #f7f8fa;
	padding: 5rem 0;
	border-top: 1px solid #ddd;
	color: #333;
}

footer#colophon p {
	font-size: 16px;
}

/* Logo styling */
.footer1 img {
	max-width: 264px;
	height: auto;
	margin-bottom: 0;
	transition: opacity 0.3s, transform 0.3s;
}

footer .footer1 .widget {
	margin-bottom: 1rem;
}

.footer1 img:hover {
	opacity: 0.9;
	transform: scale(1.05);
}

/* Heading styling */
.footer-widgets h2 {
	font-size: 22px !important;
	color: #092f63;
	font-weight: 700;
	margin-bottom: 1.5rem;
	margin-top: 2rem;
	position: relative;
	padding-bottom: 10px;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.footer-widgets h2:after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 50px;
	height: 3px;
	background-color: #092f63;
}

/* Content styling */
.footer-widgets p {
	color: #555;
	line-height: 1.8;
	margin-bottom: 1rem;
	font-size: 14px;
}

.footer-widgets strong {
	color: #333;
}

/* Menu styling */
.footer-widgets .menu {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-widgets .menu li {
	display: flex;
	align-items: center;
	margin-bottom: 8px;
}

.footer-widgets .menu a {
	color: #555;
	text-decoration: none;
	transition: color 0.3s;
	display: inline-block;
	width: auto;
}

.footer-widgets .menu li::before {
	content: "›";
	color: #092f63;
	font-size: 16px;
	margin-right: 10px;
	display: inline-block;
	flex-shrink: 0;
}

.footer-widgets .menu a:hover {
	color: #092f63;
}

/* Footer section spacing */
.footer1, .footer2, .footer3 {
	padding: 0 15px;
}

/* Better horizontal spacing for PC */
@media (min-width:993px) {
	.footer3 {
		padding-left: 5rem;
	}

}

/* Responsive design */
@media (max-width:992px) {
	.footer-widgets {
		padding: 40px 0;
	}

	.footer3 {
		padding-left: 15px;
	}

}

@media (max-width:768px) {
	.footer-widgets {
		padding: 30px 0;
	}

	.footer-widgets .col-12 {
		margin-bottom: 20px;
	}

	.footer1 img {
		display: block;
		margin: 0 auto 1.5rem;
	}

	.footer1, .footer2, .footer3 {
		padding: 0 15px;
	}

	.footer-widgets h2 {
		font-size: 18px !important;
		margin-top: 1.5rem;
	}

	.footer-widgets .menu li {
		margin-bottom: 15px;
	}

}

/*--------- WPBakery ---------*/
.vc_cta3-icons {
	display: none;
}

.vc_tta-panel-body {
	padding: 0 !important;
}

.cq-tabitem {
	padding: 20px 0 0 !important;
}

.cq-tabmenu {
	display: flex !important;     /* Dùng !important để override CSS của plugin */
	overflow-x: auto !important;
	flex-wrap: nowrap !important;     /* Ngăn việc wrap xuống dòng */
	-webkit-overflow-scrolling: touch;
	-ms-overflow-style: none;
	scrollbar-width: none;
	min-width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cq-tabmenu::-webkit-scrollbar {
	display: none;
}

.cq-tabmenu.style1 li {
	flex: 0 0 auto !important;     /* Ngăn việc co lại của các tab */
}

/*---------------------------   Menu head   ---------------------------*/

/*--------- PC menu ---------*/
#menu-primary-menu {
	margin: 0 !important;
	padding: 0 !important;
}

#primary-menu {
	display: flex !important;     /* Kích hoạt flexbox */
	align-items: center !important;     /* Căn giữa theo chiều dọc (nếu cần) */
	height: 100%;     /* Đảm bảo chiều cao nếu muốn căn theo chiều dọc */
	text-align: center;     /* Căn chữ giữa */
	font-size: inherit !important;
}

div.topbar-items.topbar-left ul.social-icons.top-bar-social-icons {
	padding-left: 0 !important;
}

#primary-menu a {
	color: var(--chu_dam);
	font-weight: 500 !important;
}

/*--------- Mobile menu ---------*/
@media (max-width:768px) {

	/* Thay đổi này sẽ chỉ áp dụng cho màn hình nhỏ hơn hoặc bằng 768px */
	.header-contents, .panel-header-inner {
		display: flex;         /* Sử dụng Flexbox để căn chỉnh */
		align-items: center;         /* Căn giữa theo chiều dọc */
		width: 100%;         /* Đảm bảo chiều rộng 100% cho header */
	}

	.header-contents {
		justify-content: space-between;         /* Tạo khoảng cách giữa các phần tử */
	}

	.panel-header-inner {
		justify-content: flex-end;         /* Đẩy các phần tử về phía bên phải */
		padding: 0 15px;         /* Thêm padding nếu cần thiết */
	}

	.logo-holder {
		order: 1;         /* Logo nằm ở vị trí đầu tiên */
	}

	.mobile-header-icons {
		order: 2;         /* Giỏ hàng nằm ở vị trí thứ hai */
		display: flex;
		align-items: center;         /* Căn giữa theo chiều dọc */
	}

	.hamburger-menu {
		order: 3;         /* Menu nằm ở vị trí thứ ba */
		flex: 0 0 0 !important;
		margin-left: 18px;
	}

	/* Các thuộc tính khác cho giao diện di động */
	body {
		font-size: 16px;         /* Đặt kích thước font */
		color: #686868;         /* Màu sắc chữ */
	}

	.menu-toggle {
		padding: 6px 0;         /* Padding nút */
		background: transparent;         /* Nền trong suốt */
		border: 0;         /* Không viền */
		outline: none;         /* Bỏ viền focus */
	}

	.minicart-counter {
		background-color: #b9a16b;         /* Màu nền cho minicart counter */
	}

	.et-close {
		margin-left: auto;         /* Đẩy nút sát mép phải */
	}

	.sliding-menu-panel {
		margin: 0;
		padding: 0;
		max-width: 100%;
	}

	.sliding-menu-back.sliding-menu-nav {
		border: 1px solid gray;
		border-radius: 5px;
		justify-content: center;
		max-width: 100% !important;
	}

	.sliding-menu-panel .menu-item-object-product_cat a {
		border: 1px solid rgb(165, 165, 165);
		border-radius: 5px;
		padding: 10px 15px;
	}

	.sliding-menu-panel li {
		margin-top: 10px;
	}

	.sliding-menu-top {
		border: none !important;
		font-weight: bold;
		padding-left: 0 !important;
	}

	.dgwt-wcas-search-input {
		width: 100% !important;
	}

	.bottom-extras {
		border-top: none !important;
	}

	.social-icons.mobile-social-icons {
		background-color: black;
		margin: 20px 0 !important;
		padding: 10px 15px !important;
		display: flex;
		justify-content: center;
		border-radius: 5px;
	}

	.bottom-extras .social-icons.mobile-social-icons a {
		color: white !important;
	}

	.social-icons li a {
		font-size: 28px;
	}

	.bottom-extras div:first-of-type, .bottom-extras > a[data-target="open-cart"] {
		display: none !important;
	}

	.side-panel-content.custom_scroll .product_list_widget {
		display: inherit !important;
	}

	.widgettitle span:after {
		display: none;
	}

}

/*---------------------------   Header   ---------------------------*/

/*--------- Height 3 thanh ---------*/

.et-global-campaign {
	height: 24px !important;
	background-color: var(--color_accent) !important;
}

.top-bar {
	min-height: 32px !important;
}

/*--------- Topbar menu ---------*/
#menu-top-bar {
	display: flex;
	margin: auto 0;
}

#menu-top-bar li {
	white-space: nowrap;
	align-self: center;
}

@media (max-width:768px) {
	.topbar-right {
		display: flex !important;
		justify-content: space-around !important;
	}

	#menu-top-bar {
		justify-content: space-around !important;
		padding: 0;
		overflow-x: auto !important;
	}

	#top-bar .container {
		padding: 0 !important;
	}

	#menu-top-bar a {
		padding: 5px;
	}

}

/*---------------------------   Label Product   ---------------------------*/
:root {
	--label-bg: rgba(245, 245, 245, 0.95);
	--label-color: #333333;
	--label-border: #e0e0e0;     /* Spacing */
	--wrapper-spacing: 0px;
	--label-padding: 2px 7px 1px;
	--labels-gap: 6px;     /* Typography */
	--label-font-size: 12px;     /* Effects */
	--label-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
	--label-hover-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	--label-radius: 4px;
}

/* Base styles for product labels */
.product-labels-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: var(--labels-gap);
	z-index: 9;
}

.product-label {
	display: inline-block;
	padding: var(--label-padding);
	border-radius: var(--label-radius);
	font-size: var(--label-font-size);
	font-weight: 400;
	background: var(--label-bg);
	color: var(--label-color);
	border: 1px solid var(--label-border);
	transition: all 0.2s ease;
	box-shadow: var(--label-shadow);
}

.product-label:hover {

	/* Thay đổi màu nền */
	border-color: #aaaaaa;
	color: var(--color_accent);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
	transition: all 0.2s ease-out;
}

/* Responsive adjustments */
@media (max-width:768px) {
	:root {
		--wrapper-spacing: 4px;
		--label-font-size: 10px;
		--label-padding: 2px 5px;
	}

	.product-label {
		font-size: var(--label-font-size);
		padding: var(--label-padding);
	}

	.product-labels-wrapper {
		margin-bottom: 5px;
	}

}

/*---------------------------   Product showcase   ---------------------------*/
.container.showcase-inner {
	padding-top: 5px !important;
}

.product-showcase {
	margin-bottom: 0 !important;
}

.showcase-row {
	margin-left: 0;
	margin-right: 0;
}

/* Title sản phẩm */
h1.product_title {
	font-size: 1.6rem;
	margin-bottom: 2rem;
}

/*--------------- Tối ưu Mobile ---------------*/
@media (max-width:768px) {
	h1.product_title {
		font-size: 1.3rem;         /* Kích thước font cho tablet và mobile */
	}

}

@media (max-width:480px) {
	h1.product_title {
		font-size: 1.1rem !important;         /* Kích thước font cho mobile nhỏ */
	}

}

/*Breadcrumb trang sản phẩm */
.product-header-container nav.woocommerce-breadcrumb {
	margin-bottom: 15px;
}

.product-header-container nav.woocommerce-breadcrumb a {
	color: var(--chu_dam);
}

/*Product information*/
.product-information {
	padding-left: 0 !important;
	padding-right: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	position: static;
	margin-bottom: 0 !important;
}

@media (min-width:1024px) {
	.product-information {
		padding-left: 200px !important;
	}

}

.product-information td::after {
	all: unset !important;
}

.summary.entry-summary {
	max-width: unset !important;
	height: 100%;
	color: inherit !important;     /* border: var(--border_nhat); */
	padding: 0 !important;
	border-radius: 25px;     /* background-color: #fefefe; */

	/* box-shadow: var(--boxshadow_nhe); */
	font-size: 0.95rem !important;
	margin-bottom: 0 !important;
}

/* Add subtle box-shadow to .et-custom-related-products for PC */
@media (max-width:768px) {
	.summary.entry-summary {
		padding: 0 !important;
		border-radius: none;
		box-shadow: none;
	}

}

/*--------------- Tối ưu Mobile ---------------*/
@media (max-width:1024px) {
	.showcase-row .product-information .entry-summary {
		border: unset;
		background-color: unset;
		padding: 0;
		margin-left: 0;
	}

	.container.showcase-inner {
		padding: 5px 8px;
	}

	.woocommerce-product-gallery-parent {
		padding: 0;
	}

	.woocommerce-product-gallery {
		height: fit-content;
	}

	.flex-direction-nav {
		margin-bottom: 0;
	}

}

/*--------- Đặc trưng sản phẩm ---------*/
.entry-content p {
	margin-bottom: 15px !important;
	font-size: 0.95rem;
}

.thong_so_chinh_table {
	width: 100% !important;
	display: table;
	border-collapse: collapse;
	text-align: center;
}

/* Desktop styles */
.thong_so_chinh_table th {
	background-color: var(--backgr_xam) !important;
	position: initial;
	text-align: center;
	text-transform: none !important;
	font-weight: 600 !important;
	box-shadow: unset;
	color: inherit !important;
}

.thong_so_chinh_table tr:hover {
	pointer-events: none !important;
}

.thong_so_chinh_table th, .thong_so_chinh_table td {
	border: 1px solid #e6e6e6 !important;     /* Thay đổi từ 0 thành 1px */
	font-size: 0.95rem !important;
}

.thong_so_chinh_table {
	border-collapse: collapse !important;     /* Thêm thuộc tính này */
}

.thong_so_chinh_table tr:last-child td {
	background-color: var(--backgr_nhat) !important;
}

/* Mobile styles */
@media screen and (max-width:767px) {
	.thong_so_chinh_table tbody {
		display: flex;
		width: 100%;
	}

	.thong_so_chinh_table tr {
		display: flex;
		flex-direction: column;
	}

	.thong_so_chinh_table tr:first-child {
		width: fit-content;
		background-color: var(--backgr_xam) !important;
		font-weight: 600;
	}

	.thong_so_chinh_table tr:last-child {
		flex: 1;
	}

	.thong_so_chinh_table tr:last-child td {
		background-color: var(--backgr_main) !important;
	}

	.thong_so_chinh_table th, .thong_so_chinh_table td {
		padding: 8px 12px;
		text-align: left;
		border: 1px solid #e6e6e6 !important;         /* Sửa lại border */
		min-width: 100%;
		box-sizing: border-box;
	}

}

/*--------- Nút báo giá ---------*/

/* animation hover */
@keyframes glow {
	0% {
		box-shadow: 0 0 5px var(--color_accent);
	}

	50% {
		box-shadow: 0 0 20px var(--color_accent);
	}

	100% {
		box-shadow: 0 0 5px var(--color_accent);
	}

}

.et-product-detail .summary .price {
	display: block;
	width: 100%;
	margin: 35px 0;
	float: none;
}

.clearfix.price-separator {
	display: none;
}

.product-information .animate-price {
	display: block;
	height: 60px;
	color: #ffffff;
	text-decoration: none;
	transition: all 0.3s ease;
	background-color: #495057;
	font-size: 22px;
	font-weight: 500;
	align-content: center;
	text-align: center;
	border-radius: 0.5rem;
	box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.2), -4px -4px 8px rgba(255, 255, 255, 0.1);     /* 3D shadow */
	padding: 10px 20px;     /* Thêm padding để giữ kích thước ổn định */
	transform: translateZ(0);     /* Khắc phục co giật khi hover */
}

.product-information .animate-price:hover {
	background: var(--color_accent);
	color: #f8f9fa !important;
	animation: glow 1.5s infinite;
	transform: scale(1.05);     /* Thêm hiệu ứng phóng to nhẹ */
}

.product-information .animate-price:visited {
	color: #f8f9fa !important;
}

.sticky-product-bar .animate-price {
	border: var(--border_nhat);
	height: 34.2px;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 10px 20px;     /* Đảm bảo kích thước nút luôn ổn định */
	transform: translateZ(0);     /* Đảm bảo không co giật */
}

/*--------- Thu gọn danh sách danh mục meta ---------*/
.posted_in {
	position: relative;
	max-height: 2rem;     /* Giới hạn chiều cao trong 2 dòng */
	overflow: hidden;
	transition: max-height 0.3s ease;
	padding-right: 1.5rem;     /* Thêm khoảng cách bên phải cho mũi tên */
}

.posted_in::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 1.5em;     /* Điều chỉnh chiều cao mờ */
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .1) 100%);
	pointer-events: none;
}

@keyframes move-up-down {
	0%, 100% {
		transform: translateY(5px);
	}

	50% {
		transform: translateY(-5px);         /* Nhảy lên nhẹ */
	}

}

.toggle-arrow {
	position: absolute;
	top: 0;
	right: 0px;
	cursor: pointer;
	border: none;
	background: transparent !important;
	padding: 0;
	animation: move-up-down 1.2s infinite;     /* Chuyển động lên xuống */
}

.posted_in.expanded {
	max-height: none;     /* Không giới hạn chiều cao khi mở rộng */
}

.posted_in.expanded::after {
	display: none;     /* Ẩn hiệu ứng làm mờ khi mở rộng */
}

.toggle-arrow i {
	font-size: 1.2rem;     /* Kích thước biểu tượng mũi tên giảm xuống */
	color: var(--color_accent) !important;     /* Màu sắc của mũi tên */
	transition: transform 0.3s ease;     /* Hiệu ứng chuyển động cho mũi tên */
}

.toggle-arrow.expanded i {
	transform: rotate(180deg);     /* Xoay mũi tên khi mở rộng */
}

/*---------------------------   Đề xuất sản phẩm liên quan   ---------------------------*/

/*--------- Gallery ---------*/
.product-gallery-inner {
	display: flex;
	flex-direction: column;
	justify-content: space-between !important;
	height: 100%;

	&::after {
		display: none !important;
	}

	&::before {
		display: none !important;
	}

}

.woocommerce-product-gallery {
	max-width: 100vw;
}

.woocommerce-product-gallery .flex-viewport, product-gallery-inner > div, .woocommerce-product-gallery__wrapper, .woocommerce-product-gallery__image img {
	max-height: 450px !important;
	min-height: 350px !important;
}

@media (max-width:768px) {
	.woocommerce-product-gallery .flex-viewport, product-gallery-inner > div {
		max-height: 280px;
		min-height: 240px;
	}

}

.woocommerce-product-gallery__image.flex-active-slide {
	height: 100%;
}

.woocommerce-product-gallery__wrapper {
	height: 100%;
}

.woocommerce-product-gallery__image.flex-active-slide > a {
	height: 100%;     /* Đảm bảo ảnh co giãn chiều cao tương ứng */
}

.woocommerce-product-gallery__image img {
	height: 100%;
	object-fit: contain;
}

@media (min-width:1024px) {
	.thumbnails-vertical .has-additional-thumbnails .flex-control-thumbs {
		position: absolute;
		top: 0;
		left: 0;
		margin-left: -75px;
	}

	.product-gallery.woocommerce-product-gallery-parent {
		padding: 0;
	}

}

/*--------- Carousel dots ---------*/
@media (max-width:1024px) {
	.flex-control-nav.flex-control-thumbs {
		position: static;
		padding: 15px 0;
		display: flex;
		justify-content: center;
		align-items: center;
		gap: 5px;
	}

	.flex-control-nav img {
		border-radius: 50%;
		background-color: #888;
		padding: 7px 3.5px 0 !important;
	}

	.flex-control-nav img.flex-active {
		padding: 7px 7px 0 !important;
		width: 28px !important;
		border-radius: 50px !important;
		background-color: var(--color_accent) !important;
		border: transparent 1px solid !important;
	}

}

/*--------- Khung sản phẩm liên quan ---------*/
.et-product-labels .product-label {
	all: unset;
}

.et-related-product-link {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	text-decoration: none;
	color: inherit;
	width: 100%;
	gap: 25px;
}

.et-product-name {
	flex: 0 0 auto;
}

.et-product-labels {
	flex: 0 0 auto;
	text-align: right;
	display: flex;
	gap: 10px;
}

.et-related-product-item {
	margin-bottom: 5px;
}

/* Bao quanh toàn bộ danh sách */
.et-custom-related-products {
	border: 1px solid #e0e0e0;     /* Khung bao quanh */
	border-radius: 0.8rem;     /* Bo góc */
	padding: 15px 20px 20px;
	margin: 20px 0 0 !important;     /* Margin trên/dưới, không có 2 bên */
	box-shadow: var(--boxshadow_nhe);
}

/* Add subtle box-shadow to .et-custom-related-products for PC */

/* Tiêu đề */
.et-custom-related-products h2 {
	font-size: 1.2rem;
	text-align: center;     /* Căn trái (PC & Mobile) */
	font-weight: 550;
	padding-bottom: 15px;     /* Tạo khoảng cách với vạch */
	color: inherit !important;
	margin-bottom: 0;
}

/* Danh sách cuộn */
.et-related-products-list {
	list-style-type: none;     /* Loại bỏ ký hiệu danh sách */
	padding: 0;
	overflow-y: auto;     /* Bật cuộn dọc khi vượt quá chiều cao */
	scrollbar-width: thin;     /* Làm mỏng scrollbar (Firefox) */
	max-height: 170px;
	border: var(--border_nhat);
	border-radius: 10px;
	padding: 10px;
	margin-bottom: 0;
	margin-left: 0;
}

.et-related-products-list::-webkit-scrollbar-thumb {
	background-color: #ccc;
	border-radius: 5px;
}

/* Ngăn tăng khoảng cách tên sản phẩm - label trên PC */
.et-et-product-labels {
	margin-left: 100px;
}

/* Mỗi sản phẩm */
.et-related-product-item {
	padding: 6px 0 3px;
	border-bottom: 1px solid #f0f0f0;     /* Vạch ngang mờ */
	font-size: 14px;     /* Kích thước chữ sản phẩm */
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.et-related-product-item:last-child {
	border-bottom: none;     /* Bỏ vạch kẻ ở mục cuối */
}

/* Tên sản phẩm */
.et-related-product-item a {
	text-decoration: none;
	color: inherit;     /* Màu chữ mặc định */
	font-weight: normal;     /* Không in đậm */
	flex: 1;

	&:hover {
		color: var(--color_accent);
	}

}

/* Thông tin kỹ thuật */
.et-related-product-info {
	font-size: 12px;     /* Kích thước nhỏ hơn tên sản phẩm */
	color: #666;
	text-align: right;
	white-space: nowrap;     /* Không xuống dòng */
}

/* ngăn cách 2 label */
.et-product-label + .et-product-label {
	margin-left: 15px;     /* Khoảng cách bên trái cho dấu chấm */
}

/* Mobile: Điều chỉnh chi tiết */
@media screen and (max-width:768px) {
	.et-custom-related-products {
		margin: 15px 0 !important;         /* Xóa margin 2 bên */
		padding: 10px 8px 8px;
		background-color: inherit;
		box-shadow: none;
	}

	.et-product-name, .et-product-label {
		text-align: left !important;
	}

	.et-related-products-list {
		max-height: 100px;
		margin-top: 0;
		margin-left: 0;
		margin-bottom: 0;
		border: none;
		padding: 0 !important;
		border-radius: 0;
	}

	.et-related-product-item {
		font-size: 13px;
	}

	.et-et-product-labels {
		margin-left: 15px;
	}

	.et-custom-related-products h2 {
		margin-bottom: 0;
	}

	.et-product-labels {
		margin-right: 5px;
	}

}

/*--------------------------- Đổi phong cách scrollbar trình duyệt ----------------------------*/
:root {
	--nen_scrollbar: #f8f8f8;
	--thumb-color: #888888;
	--thumb-hover: #666666;
	--thumb-width: 8px;
}

* {
	scrollbar-width: thin;
	scrollbar-color: var(--thumb-color) var(--nen_scrollbar);
}

::-webkit-scrollbar {
	width: var(--thumb-width);
	height: var(--thumb-width);
}

::-webkit-scrollbar-track {
	background-color: var(--nen_scrollbar);
}

::-webkit-scrollbar-thumb {
	background-color: var(--thumb-color);
	border-radius: 10px;
	border: 2px solid var(--nen_scrollbar);
}

::-webkit-scrollbar-thumb:hover {
	background-color: var(--thumb-hover);
}

/*--------------------------- Quảng cáo trong sản phẩm ---------------------------*/

/* Reset style */
.reset-all-table, .reset-all-table tr, .reset-all-table td {
	all: unset !important;
	display: revert !important;
	border: none !important;
	border-collapse: collapse !important;
	box-shadow: none !important;
	background: transparent !important;
	margin: 0 !important;
	padding: revert !important;
	border-spacing: 0 !important;
	vertical-align: middle !important;
}

/* Style bảng và nội dung */
.quang_cao_trong_san_pham {
	font-weight: normal;
	padding: 15px 15px 15px 30px;
	border: 2px solid #ddd;
	border-radius: 0.5rem;
}

@media (max-width:768px) {
	.quang_cao_trong_san_pham {
		padding: 15px;
	}

}

.quang_cao_trong_san_pham h2 {
	display: none;
}

.reset-all-table {
	width: 100%;
	background-color: transparent;
	border-collapse: collapse;
}

.reset-all-table .icon-cell {
	width: 32px;     /* Đảm bảo ô chứa icon rộng rãi */
	vertical-align: middle;
	padding: 6px 16px 6px 0;     /* Khoảng cách icon và chữ */
}

.quang_cao_trong_san_pham .reset-all-table td {
	padding: 3px 0 3px 3px !important;     /* Thêm khoảng cách dòng giữa các mục */
	line-height: 1.5;     /* Tăng chiều cao dòng */
	text-align: left !important;
}

.reset-all-table i {
	color: #555;
	font-size: 18px;     /* Tăng kích thước icon */
	line-height: 1;     /* Đảm bảo icon không bị kéo dãn */
	margin-right: 12px;     /* Tăng khoảng cách giữa icon và chữ */
}

.reset-all-table a {
	color: #06c;
	text-decoration: none;
}

/*---------------------------   hiện danh mục con trong product catalog   ---------------------------*/
.shop-products-col {
    overflow: hidden; /* Chặn con bên trong mở rộng */
    display: flex;
    flex-direction: column;
}
.subcategories-wrapper {
	max-width: 100%; /* Đảm bảo không vượt quá parent */
    overflow: hidden; /* Ngăn tràn */
    display: block; /* Không để flex làm giãn */
}

.subcat-wrapper {
    position: relative;
    margin: 20px 0;
}
.subcat-scroll {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding: 6px 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}
.subcat-scroll::-webkit-scrollbar {
    height: 6px;
}
.subcat-scroll::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}
.subcat-item {
    scroll-snap-align: start;
    flex-shrink: 0;
}
.subcat-item a {
    display: inline-block;
    padding: 3px 10px;
    font-size: 14px;
	font-weight: 400;
    border-radius: 6px;
    background: #f8f8f8;
    border: 1px solid #ddd;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
}
.subcat-item a:hover {
    background: #333;
    color: #fff;
}
.subcat-item a.active-subcat {
    background: var(--color_accent);
    border-color: var(--color_accent);
    color: #fff;
}

.subcat-arrow {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    box-shadow: 0 0 6px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    cursor: pointer;
    animation: blinkArrow 1s infinite;
    z-index: 10;
}
.subcat-arrow.hidden {
    display: none !important;
}
.subcat-arrow i {
    font-size: 14px;
    color: #444;
}
@keyframes blinkArrow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

@media (max-width:600px) {
    .subcat-item a {
        font-size: 12px;
        padding: 2px 8px;
        border-radius: 4px;
    }
}
