/* Card nhân viên */
.product-small.box {
    background: var(--color-white);
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid #ececec;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .06);
    transition: .35s;
    height: 100%;
}

.product-small.box:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 96, 69, .15);
    box-shadow: 0 18px 45px rgba(0, 96, 69, .22);
}

/* Ảnh */
.product-small .box-image {
    overflow: hidden;
}

.product-small .box-image img {
    width: 100%;
    aspect-ratio: 9/10;
    object-fit: cover;
    display: block;
    transition: .5s;
}

.product-small:hover .box-image img {
    transform: scale(1.06);
}

/* Nội dung */
.product-small .box-text {
    padding: 15px;
    transition: .35s;
}

.product-small:hover .box-text {
    background: #fcfffd;
}

/* Danh mục */
.product-small .product-cat {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8a8a8a;
    transition: .3s;
}

/* Tên */
.product-small .product-title {
    margin: 0;
    line-height: 1.25;
}

.product-small .product-title a {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-black);
    text-decoration: none;
    transition: .3s;
}

.product-small:hover .product-cat,
.product-small:hover .product-title a {
    color: var(--color-main);
}

/* Thông tin */
.staff-info {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #ececec;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.staff-item {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    font-size: 15px;
    line-height: 1.5;
}

.staff-label {
    font-weight: 700;
    color: var(--color-black);
}

.staff-value {
    color: #777;
    font-weight: 500;
}

/* Hover */
.product-small:hover .staff-label {
    color: var(--color-main);
}

.product-small:hover .staff-value {
    color: #444;
}

/* Ẩn giá */
.product-small .price-wrapper {
    display: none;
}
/* ===== TIÊU ĐỀ ===== */
.product_page .text h2 {
	margin-bottom: 24px;
	text-align: center;
	font-size: 26px;
	font-weight: 700;
	line-height: 1.4;
}

.product_page .text h2,
.product_page .text h2 span {
	color: var(--color-main) !important;
}

.product_page .text h2::after {
	content: "";
	display: block;
	width: 42px;
	height: 3px;
	margin: 12px auto 0;
	border-radius: 3px;
	background: var(--color-phu);
}

/* ===== KHOẢNG CÁCH DANH SÁCH ===== */
.product_page .row-small > .col {
	padding-bottom: 20px;
}

.product_page .row-small > .col > .col-inner {
	height: 100%;
}

/* ===== KHUNG SẢN PHẨM ===== */
.product_page .product-small.box {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 0;
	overflow: hidden;
	border: 1px solid rgba(14, 95, 73, .14);
	border-radius: 12px;
	background: var(--color-white);
	box-shadow: 0 3px 12px rgba(0, 0, 0, .035);
	transition: border-color .2s ease, box-shadow .2s ease;
}

.product_page .product-small.box:hover {
	border-color: rgba(14, 95, 73, .4);
	box-shadow: 0 6px 18px rgba(14, 95, 73, .09);
}

/* ===== ẢNH ĐỒNG ĐỀU ===== */
.product_page .product-small .box-image {
	flex: none;
	width: 100%;
	margin: 0;
	border-radius: 0;
	overflow: hidden;
	background: #f3f5f4;
}

.product_page .product-small .box-image > div:first-child {
	height: auto;
	padding-top: 0 !important;
	overflow: hidden;
}

.product_page .product-small .box-image > div:first-child > a {
	display: block;
	aspect-ratio: 4 / 5;
	overflow: hidden;
}

.product_page .product-small .box-image img {
	position: static !important;
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: 100%;
	margin: 0;
	border-radius: 0;
	object-fit: cover;
	object-position: center top;
	transform: none;
}

/* ===== NỘI DUNG THẺ ===== */
.product_page .product-small .box-text {
	display: flex;
	flex: 1;
	flex-direction: column;
	width: 100%;
	padding: 14px;
	background: var(--color-white);
	text-align: left;
}

.product_page .product-small .product-cat {
	display: inline-block;
	margin: 0 0 7px;
	color: #67766f;
	font-size: 11px;
	font-weight: 500;
	line-height: 1.5;
	letter-spacing: .5px;
	opacity: 1;
}

.product_page .product-small .product-title {
	margin: 0 0 8px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.4;
}

.product_page .product-small .product-title a {
	display: block;
	color: var(--color-main);
	text-decoration: none;
	overflow-wrap: anywhere;
}

.product_page .product-small .product-title a:hover {
	color: var(--color-phu);
}

.product_page .product-small .price-wrapper {
	display: block !important;
	margin-top: auto;
}

/* ===== THÔNG TIN ACF ĐÃ XUẤT RA HTML ===== */
.product_page .ktv-box-action-wrap {
	display: block !important;
	width: 100%;
	margin: 0;
}

.product_page .ktv-meta-info {
	display: block !important;
	margin: 0 0 12px;
	color: #66716c;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.6;
}

/* ===== NÚT XEM THÊM ===== */
.product_page .ktv-buttons {
	display: flex !important;
	gap: 8px;
	padding-top: 12px;
	border-top: 1px solid rgba(14, 95, 73, .1);
}

.product_page .ktv-buttons .btn-ktv {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	flex: 1;
	min-height: 38px;
	margin: 0;
	padding: 8px 12px;
	box-sizing: border-box;
	border: 1px solid rgba(14, 95, 73, .2);
	border-radius: 7px;
	background: #f0f6f3;
	color: var(--color-main);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	text-align: center;
	text-decoration: none;
	box-shadow: none;
	transition: background .2s ease, color .2s ease;
}

.product_page .ktv-buttons .btn-ktv:hover {
	background: var(--color-main);
	border-color: var(--color-main);
	color: var(--color-white);
}

.product_page .product-small a:focus-visible {
	outline: 2px solid var(--color-main);
	outline-offset: -3px;
}

/* ===== MOBILE ===== */
@media (max-width: 549px) {
	.product_page .text h2 {
		margin-bottom: 20px;
		font-size: 22px;
	}

	.product_page .row-small > .col {
		padding-bottom: 14px;
	}

	.product_page .product-small.box {
		border-radius: 10px;
	}

	.product_page .product-small .box-text {
		padding: 11px;
	}

	.product_page .product-small .product-title {
		font-size: 16px;
		margin-bottom: 6px;
	}

	.product_page .product-small .product-cat {
		font-size: 10px;
	}

	.product_page .ktv-meta-info {
		margin-bottom: 10px;
		font-size: 12px;
	}

	.product_page .ktv-buttons {
		padding-top: 10px;
	}

	.product_page .ktv-buttons .btn-ktv {
		min-height: 36px;
		font-size: 12px;
	}
}
/* Mobile */
@media(max-width: 767px) {
    .product-small .product-title a {
        font-size: 15px;
    }

    .product-small .product-cat {
        font-size: 10px;
    }

    .staff-item {
        font-size: 13px;
    }
}