/*
 * Trang danh muc san pham (nhanh Hung IN).
 * Tat ca class deu co tien to .fcp- nen khong dinh vao cac rule cu trong
 * main.css (.items-products, .edit-index-article...).
 */

.fcp {
	padding: 6px 0 46px;
	color: #2b2f38;
}

/* ---------- Dau trang ---------- */
.fcp-head {
	padding: 18px 0 20px;
	border-bottom: 1px solid #e8e9ee;
	margin-bottom: 24px;
}

.fcp-eyebrow {
	display: inline-block;
	font-size: 11px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #e8232e;
	font-family: 'Roboto BOLD', 'Roboto', sans-serif;
	margin-bottom: 8px;
}

.fcp-title {
	margin: 0;
	font-family: 'Roboto BOLD', 'Roboto', sans-serif;
	font-size: 30px;
	line-height: 1.22;
	color: #1f2430;
	text-transform: uppercase;
}

.fcp-meta {
	margin: 8px 0 0;
	font-size: 13px;
	color: #7d8494;
}

.fcp-dot { margin: 0 8px; color: #c8ccd6; }

.fcp-desc {
	margin: 12px 0 0;
	max-width: 760px;
	font-size: 14px;
	line-height: 1.7;
	color: #5c6373;
}

/* ---------- Khoi danh muc con ---------- */
.fcp-cats {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(196px, 1fr));
	gap: 14px;
	margin-bottom: 30px;
}

.fcp-cat {
	display: block;
	background: #fff;
	border: 1px solid #e6e8ee;
	border-radius: 3px;
	overflow: hidden;
	text-decoration: none;
	transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.fcp-cat:hover {
	border-color: #e8232e;
	box-shadow: 0 8px 20px rgba(24, 28, 38, .1);
	transform: translateY(-2px);
	text-decoration: none;
}

.fcp-cat__media {
	display: block;
	position: relative;
	padding-top: 66%;
	background: #f1f2f6;
	overflow: hidden;
}

.fcp-cat__media img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s ease;
}

.fcp-cat:hover .fcp-cat__media img { transform: scale(1.05); }

.fcp-cat__body { display: block; padding: 11px 13px 13px; }

.fcp-cat__name {
	display: block;
	font-family: 'Roboto BOLD', 'Roboto', sans-serif;
	font-size: 14px;
	line-height: 1.35;
	color: #23283a;
	min-height: 38px;
}

.fcp-cat:hover .fcp-cat__name { color: #e8232e; }

.fcp-cat__count {
	display: block;
	margin-top: 4px;
	font-size: 12px;
	color: #8b91a0;
}

/* ---------- Dai danh muc ngang hang ---------- */
.fcp-chips {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	padding: 0 0 22px;
	margin-bottom: 4px;
}

.fcp-chips__label {
	font-size: 11px;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: #9aa0ae;
	margin-right: 4px;
}

.fcp-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border: 1px solid #e2e4ec;
	border-radius: 40px;
	background: #fff;
	font-size: 13px;
	color: #444b5c;
	text-decoration: none;
	transition: border-color .15s ease, color .15s ease, background .15s ease;
}

.fcp-chip:hover {
	border-color: #e8232e;
	color: #e8232e;
	background: #fff5f5;
	text-decoration: none;
}

.fcp-chip__count {
	font-size: 11px;
	color: #9aa0ae;
	background: #f2f3f7;
	border-radius: 20px;
	padding: 1px 7px;
}

.fcp-chip:hover .fcp-chip__count { background: #fde3e4; color: #e8232e; }

/* ---------- Luoi san pham ---------- */
.fcp-subhead {
	margin: 4px 0 18px;
	padding-bottom: 10px;
	border-bottom: 1px solid #e8e9ee;
	font-family: 'Roboto BOLD', 'Roboto', sans-serif;
	font-size: 17px;
	line-height: 1.3;
	color: #23283a;
	text-transform: uppercase;
}

.fcp-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}

.fcp-card--hidden { display: none; }

.fcp-card {
	background: #fff;
	border: 1px solid #e6e8ee;
	border-radius: 3px;
	overflow: hidden;
	transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.fcp-card:hover {
	border-color: #d7dae3;
	box-shadow: 0 12px 26px rgba(24, 28, 38, .12);
	transform: translateY(-3px);
}

.fcp-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	text-decoration: none;
	color: inherit;
}

.fcp-card__link:hover { text-decoration: none; }

.fcp-card__media {
	display: block;
	position: relative;
	padding-top: 72%;
	background: #f1f2f6;
	overflow: hidden;
}

.fcp-card__media img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .45s ease;
}

.fcp-card:hover .fcp-card__media img { transform: scale(1.04); }

.fcp-card__body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: 15px 16px 17px;
}

.fcp-card__title {
	margin: 0;
	font-family: 'Roboto BOLD', 'Roboto', sans-serif;
	font-size: 16px;
	line-height: 1.4;
	color: #22283a;
}

.fcp-card:hover .fcp-card__title { color: #e8232e; }

.fcp-card__desc {
	margin: 8px 0 14px;
	font-size: 13px;
	line-height: 1.65;
	color: #6b7284;
}

.fcp-card__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: auto;   /* day xuong day the de chan cac the trong cung hang thang nhau */
	padding-top: 12px;
	border-top: 1px solid #eef0f4;
	font-size: 12px;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #e8232e;
	font-family: 'Roboto BOLD', 'Roboto', sans-serif;
}

.fcp-card__more svg { transition: transform .18s ease; }
.fcp-card:hover .fcp-card__more svg { transform: translateX(3px); }

/* ---------- Xem them / trang rong ---------- */
.fcp-more { text-align: center; margin: 30px 0 0; }

.fcp-btn {
	display: inline-block;
	padding: 11px 26px;
	border: 1px solid #e8232e;
	border-radius: 3px;
	background: #fff;
	color: #e8232e;
	font-family: 'Roboto BOLD', 'Roboto', sans-serif;
	font-size: 13px;
	letter-spacing: .04em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background .16s ease, color .16s ease;
}

.fcp-btn:hover { background: #e8232e; color: #fff; }

.fcp-empty {
	padding: 40px 20px;
	border: 1px dashed #dfe2ea;
	border-radius: 3px;
	text-align: center;
	color: #7d8494;
	font-size: 14px;
}

.fcp-empty p { margin: 0 0 6px; }

/* ---------- Responsive ---------- */
@media (max-width: 959px) {
	.fcp-title { font-size: 25px; }
	.fcp-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
	.fcp-cats { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
}

@media (max-width: 639px) {
	.fcp { padding-bottom: 32px; }
	.fcp-head { padding: 14px 0 16px; margin-bottom: 18px; }
	.fcp-title { font-size: 21px; }
	.fcp-grid { grid-template-columns: 1fr; gap: 16px; }
	.fcp-cats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
	.fcp-cat__name { font-size: 13px; min-height: 0; }
	.fcp-card__title { font-size: 15px; }
	.fcp-chips { padding-bottom: 16px; }
}
