/*! CSS Used from: defaults.css */
.phone-wave {
	display: inline-block;
	position: relative;
	animation: phone-wave 1.5s infinite;
}

.effect {
	display: block;
	overflow: hidden;
	position: relative;
}

.effect::after {
	content: "";
	position: absolute;
	top: 0;
	right: -100%;
	width: 50%;
	height: 100%;
	background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 100%);
	transform: skewX(-25deg);
	z-index: 2;
}

.effect:hover::after {
	animation: shineEffect 1s ease-in-out;
}

.swiper .swiper-button-next,
.swiper-button-prev {
	height: 40px;
	width: 40px;
	color: #000;
	background: rgba(255, 255, 255, .5) !important;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.swiper:hover .swiper-button-next,
.swiper:hover .swiper-button-prev {
	opacity: 1;
}
.swiper-button-next:after, .swiper-button-prev:after{
	font-size: 20px;
}


.box-cate {
	position: relative;
}

@media (max-width:1649px) {

	#email_newsletter,
	.right-arrow-link,
	.sub-menu a,
	a {
		font-size: 12px;
	}

	.sub-menu a {
		line-height: 18px;
	}

	.box-cate {
		padding: 2px 0 0;
	}

	.box-cate .item-sub {
		line-height: 26.22px;
	}
}

/*! CSS Used from: style.css */
.sub_nav {
	position: absolute;
	background: #fff;
}

.hotline .sub .item {
	text-overflow: ellipsis;
	white-space: nowrap;
}

a {
	color: #333e48;
}

*,
::after,
::before {
	box-sizing: border-box;
}

img {
	border: none;
	height: auto;
}

.item-sub .position-relative {
	display: inline-block;
}

input[type=text] {
	width: 100%;
	height: 40px;
	border: 1px solid #ddd;
	padding-left: 5px;
}

.sub_nav {
	left: -102%;
	min-height: 373px;
	width: 990px;
	top: -1px;
	z-index: 99;
	overflow: hidden;
	margin-left: 12px;
}

.autocomplete-suggestions {
	cursor: default;
	top: 39px;
}

a,
a:hover {
	text-decoration: none;
	-webkit-transition: .2s;
	-moz-transition: .2s;
	-o-transition: .2s;
	transition: .2s;
}

b,
h1,
h2,
h5 {
	font-weight: 700;
}

.ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.container-wrapper {
	width: 1200px;
	max-width: 100%;
	padding: 0 10px;
	margin-right: auto;
	margin-left: auto;
}

.header-stg {
	background: #ef0000;
	color: white;
}

.header-wrapper {
	background: #ef0000;
	border-bottom: 1px solid #ef0000;
}

.header-stg .header-top {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
}

.header-top-left,
.header-top-right {
	display: flex;
	align-items: center;
}

.header-stg .header-top .header-top-item {
	line-height: 30px;
	height: 30px;
	position: relative;
	margin-left: 15px;
}

.header-stg .header-top .header-top-item>span {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	cursor: pointer;
}

.header-stg .header-bottom .header-bottom-row {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	align-items: center;
}

.header-stg .header-bottom .header-bottom-left {
	-webkit-box-flex: 0;
	-ms-flex: 0 0 10%;
	flex: 0 0 10%;
	max-width: 10%;
}

.hotline {
	display: inline-block;
	position: relative;
	padding: 10px 0;
	cursor: pointer;
}

.hotline .sub {
	display: none;
	box-shadow: rgba(0, 0, 0, .18) 0 6px 12px 0;
	border-radius: 0 0 3px 3px;
}

.hotline .sub {
	position: absolute;
	background: #fff;
	z-index: 9999;
	top: 30px;
	transform: translateY(7px);
	transition: visibility .2s, transform .2s;
	border: 1px solid #ccc;
	border-radius: 0 0 3px 3px;
}

.hotline .sub .item {
	display: block;
	color: #333e48;
	padding: 10px;
	border-top: 1px solid #e8e8e8;
	overflow: hidden;
	cursor: pointer;
}

.hotline .sub .item:first-child {
	border-top: none;
}

.hotline:hover .sub {
	display: block;
}

.hotline>span {
	display: block;
	color: white;
	font-size: 12px;
	position: relative;
	padding: 6px;
}

.header-stg .user-action-wrap {
	padding: 0;
	display: inline-block;
	border-radius: 3px;
}

.header-stg .cart-summary {
	position: relative;
	color: #333e48;
	word-wrap: break-word;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	line-height: 16px;
}

.header-stg #count_shopping_cart_store {
	position: absolute;
	top: 0;
	left: 26px;
	height: 20px;
	width: 20px;
	line-height: 20px;
	text-align: center;
	color: #fff;
	font-size: 12px;
	font-weight: 400;
	border-radius: 99px;
}

.header-stg .cart .cart-summary .cart-text {
	color: #333e48;
	line-height: 46px;
	margin-left: 5px;
}

.header-stg .main-search {
	position: relative;
	z-index: 998;
	border-radius: 7px;
	-webkit-box-shadow: 0 0 11px 0 rgba(0, 0, 0, .3);
	box-shadow: 0 0 11px 0 rgba(0, 0, 0, .3);
	width: 90%;
}

.header-stg .header-bottom .header-bottom-right {
	position: relative;
	border-radius: 3px;
	justify-content: flex-end;
}

.header-stg .header-bottom .main-search #text-search {
	border: none;
	margin: 0;
	padding: 0 20px;
	font-size: 13px;
	outline: 0;
	border-radius: 7px 0 0 7px;
	height: 50px;
}

.header-stg .header-bottom .main-search .search-btn {
	border: none;
	color: #fff;
	font-weight: 400;
	outline: 0;
	background: #ef0000;
	padding: 0 20px;
	cursor: pointer;
	height: 50px;
	border-radius: 0 7px 7px 0;
}

.homepage-slider-stg .homepage-slider-left {
	float: left;
	width: 205px;
	font-size: 12px;
	z-index: 555;
	position: relative;
}

.homepage-slider-stg .homepage-slider-right .home-slider {
	float: left;
	overflow: hidden;
	flex-basis: 0;
	flex: 0 0 calc(66.6666666667% - 2px);
	max-width: calc(66.6666666667% - 2px);
	margin-bottom: 10px;
}


.bg-color-box-title {
	background-color: #f1f1f1;
}

.block-box-title {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: baseline;
	-ms-flex-align: baseline;
	align-items: baseline;
	position: relative;
	margin-bottom: 5px;
}

.block-box-title {
	position: relative;
	display: inline-block;
	background: url('../../img/bg-box-title.png') no-repeat;
	background-size: contain;
	/* nền kéo giãn theo chữ */
	background-size: 100% 100%;
	/* đẩy chữ ra khỏi phần nghiêng trái, thêm khoảng cách bên phải */
	padding: 0 80px 0 30px;
	height: 60px;
	margin: 0;
}

.block-box-title-main {
	color: #fff;
	font-size: 2rem;
	font-weight: bold;
	line-height: 60px;
	margin: 0;
}

.pb-10 {
	padding-bottom: 10px;
}

.ul_menu_stgx {
	background: #fff;
	width: 200px;
	top: 43px;
	left: 0;
	z-index: 99;
	transform: translate3d(0, 0, 0);
	-webkit-transform: translate3d(0, 0, 0);
	border: 1px solid #e1e1e1;
	margin-top: -1px !important;
}

.ul_menu_stgx:hover {
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}

.ul_menu_stgx>li {
	line-height: 30px;
	height: 30px;
	padding-left: 12px;
}

.ul_menu_stgx>li:not(:first-child) {
	border-top: 1px solid #f2f2f2;
}

.ul_menu_stgx>li>a {
	color: #333e48;
	font-weight: 600;
	position: relative;
	height: 26.18px;
}

.ul_menu_stgx .sub_nav {
	padding-left: 10px;
	position: absolute;
	left: 102%;
	min-height: 382px;
	top: -1px;
	background: #fff;
	z-index: 5999;
	overflow: visible;
	border: 1px solid #e1e1e1;
	margin-left: -2px;
}

.ul_menu_stgx>li:hover>a::before {
	content: "";
	right: -29px;
	top: 1px;
	position: absolute;
	border-right: 15px solid transparent;
	border-top: 12px solid transparent;
	border-left: 15px solid #e1e1e1;
	border-bottom: 13px solid transparent;
	z-index: 9999;
}

.ul_menu_stgx>li:hover>a::after {
	content: "";
	right: -29px;
	top: 1px;
	position: absolute;
	border-right: 15px solid transparent;
	border-top: 12px solid transparent;
	border-left: 15px solid #fbfbfb;
	border-bottom: 13px solid transparent;
	z-index: 9999;
}

.ul_menu_stgx a {
	text-decoration: none;
	display: block;
}

.autocomplete-suggestions {
	position: absolute;
	width: calc(100% + 4px);
	border: 1px solid #ddd;
	left: -2px;
	margin-top: 8px;
	max-height: 560px;
	overflow: auto;
	display: none;
	background: #fff;
	z-index: 999;
	border-radius: 5px;
	box-shadow: 0 6px 12px 0 rgba(0, 0, 0, .18);
	min-height: 400px;
}

.sub-menu a:hover {
	color: #e00;
}

.links-group-container {
	width: 20%;
}

.links-group-container p {
	margin-top: 0;
}

.links-group-title {
	font-size: 16px;
	font-weight: 700;
	margin-bottom: 16px;
	display: block;
	text-transform: uppercase;
}

.links-group-container a {
	color: #333e48;
	font-size: 13px;
}

.footer-copyright {
	display: flex;
	align-items: center;
}

.footer-copyright .stg-copyright {
	width: 60%;
}

.footer-copyright .certicate {
	width: 40%;
	display: flex;
}

.footer-copyright .certicate p {
	display: inline-block;
	margin-right: 30px;
}

.footer-copyright .stg-copyright p {
	margin: 7px 0;
}

.right-arrow-link {
	font-size: 13px;
}

.header-stg .header-top .header-top-item .top-header-span {
	font-size: 12px;
	white-space: nowrap;
}

.links-group-container p {
	line-height: 1;
}

.stg-buildpc {
	display: flex;
}

.stg-buildpc a {
	display: flex;
	align-items: center;
	color: #333e48;
	height: 46px;
}

.stg-buildpc a i {
	height: 46px;
	width: 46px;
	line-height: 44px;
	text-align: center;
	font-size: 24px;
	font-weight: 300;
	border: 2px solid white;
	border-radius: 9999px;
}

.stg-buildpc a .buildpc-link-right span {
	display: block;
	line-height: 18px;
}

.stg-buildpc a:last-child {
	margin-left: 25px;
}

.stg-buildpc {
	margin-right: 20px;
}

.animated-linear-gradient {
	background: repeating-linear-gradient(to right,
			red 0,
			#00f 50%,
			red 100%);
	color: #fff;
	width: 100%;
	background-size: 200% auto;
	background-position: 0 100%;
	animation: 2s linear infinite forwards gradient;
	padding: 0 10px;
	border-radius: 9999px;
}

.header-cart-icon {
	height: 46px;
}

.header-cart-icon svg {
	height: 44px;
}

.background-gradient {
	background: -webkit-gradient(linear, left top, right top, from(#e23459), color-stop(#c44069), color-stop(#a04f7c), color-stop(#6c6497), color-stop(#3879b3), color-stop(#0b8cca), to(#0190d0));
	background: -o-linear-gradient(left, #e23459, #c44069, #a04f7c, #6c6497, #3879b3, #0b8cca, #0190d0);
	background: linear-gradient(90deg, #e23459, #c44069, #a04f7c, #6c6497, #3879b3, #0b8cca, #0190d0);
}

@media (max-width: 1649px) {
	.stg-buildpc a i {
		height: 33px;
		width: 33px;
		line-height: 31px;
		font-size: 16px;
	}

	#email_newsletter,
	.header-stg .header-bottom .main-search #text-search,
	.stg-copyright,
	.links-group-container a,
	.policy-info-content,
	.right-arrow-link,
	.sub-menu a,
	.ul_menu_stgx>li>a,
	a {
		font-size: 12px;
	}

	.ul_menu_stgx .sub_nav {
		min-height: 382px !important;
	}

	.sub-menu a {
		line-height: 18px;
	}

	.ul_menu_stgx>li,
	.ul_menu_stgx>li>a {
		line-height: 26.82px;
	}

	.box-cate {
		padding: 2px 0 0;
	}

	.box-cate .item-sub {
		line-height: 26.22px;
	}

	.ul_menu_stgx>li:hover>a::before {
		content: "";
		right: -15px;
		top: 0;
		position: absolute;
		border-right: 7.5px solid transparent;
		border-top: 12px solid transparent;
		border-left: 7.5px solid #333a71;
		border-bottom: 13px solid transparent;
		z-index: 9999;
	}


	.ul_menu_stgx>li {
		padding-left: 5px !important;
		height: 26.82px;
	}


	.header-stg .header-bottom .header-bottom-left {
		-ms-flex: 0 0 18%;
		flex: 0 0 18%;
		max-width: 18%;
	}

	.hotline>span {
		font-size: 11px;
	}

	.stg-buildpc {
		margin-right: 40px;
	}

	.stg-buildpc a:last-child {
		margin-left: 10px;
	}

	.header-cart-icon,
	.header-hotline:before {
		font-size: 18px;
		line-height: 38px;
	}

	.header-stg .cart .cart-summary .cart-text {
		margin-left: 0;
	}

	.header-cart-icon svg {
		margin: 6.5px 0;
		height: 31px;
	}

	.header-hotline:before {
		left: -30px;
		top: 3px;
	}

	.header-stg #count_shopping_cart_store {
		top: 7px;
		left: 25px;
		font-size: 11px;
		width: 14px;
		height: 14px;
		line-height: 14px;
	}
}

.sub-menu a {
	padding: 3px 0;
}

.contact-box-wrapper:last-child {
	margin-bottom: 0;
}

.sub-menu .wrap-col {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
}

.contact-info b,
.contact-info span,
.item-sub:hover .list-sub-hover,
.sub-menu a {
	display: block;
}

.box-cate {
	padding: 10px;
}

.sub-menu a {
	position: relative;
	line-height: 24px;
	font-size: 13px;
	color: #333e48;
}

.list-sub-hover {
	position: absolute;
	display: none;
	top: -6px;
	left: 100%;
	width: 100%;
	min-width: 300px;
	background: #fff;
	box-shadow: 0 0 4px 0 #b5b5b5;
	padding: 10px 10px 10px 15px;
	z-index: 9;
	border-radius: 8px;
}

.list-sub-hover {
	margin-left: 10px;
}

.list-sub-hover:before {
	content: '';
	position: absolute;
	width: 0;
	border: 6px solid transparent;
	border-right-color: #d2d2d2;
	left: -12px;
	top: 16px;
}

.list-sub-hover:after {
	content: '';
	position: absolute;
	width: 0;
	border: 6px solid transparent;
	border-right-color: #fff;
	left: -10px;
	top: 16px;
}

.right-arrow-link::after {
	font-family: "remixicon";
	content: "\ea6e";
	margin-left: 5px;
}

.contact-info {
	padding-left: 10px;
}

.stg-footer-newsletter {
	background: #202c43;
	padding: 20px 20px 40px;
}

.footer-newsletter-title {
	color: #fff;
	font-size: 18px;
	font-weight: 700;
	text-align: center;
}

#email_newsletter {
	background: #fff;
	border: none;
	border-radius: 2px;
	padding: 10px;
	width: 600px;
	height: 40px;
	margin-right: 0;
	font-size: 13px;
}

.footer-newsletter-form {
	width: 600px;
	margin: auto;
	position: relative;
}

.footer-subscribe-button {
	background: #f0100f;
	color: #fff !important;
	padding: 10.5px 55px;
	border-radius: 0 3px 3px 0;
	font-size: 13px;
	font-weight: 600;
	position: absolute;
	height: 40px;
	right: -1px;
}

.policy-icon {
	color: #f0100f;
}

input:focus {
	outline: 0;
}

.stg-footer-policies {
	display: -webkit-box;
	display: -webkit-flex;
	display: -moz-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-webkit-align-items: center;
	-moz-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-box-pack: justify;
	-webkit-justify-content: space-between;
	-moz-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	padding-bottom: 25px;
	padding-top: 0;
}

.policy-container {
	width: 25%;
	display: -webkit-box;
	display: -webkit-flex;
	display: -moz-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-webkit-align-items: center;
	-moz-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	margin-top: 30px;
}

.policy-icon {
	font-size: 32px;
	margin-right: 15px;
}

.policy-info-title {
	font-size: 16px;
	font-weight: 700;
	margin: 0;
}

.policy-info-content {
	display: block;
	font-size: 13px;
}

.stg-copyright {
	color: #000;
	font-size: 13px;
	line-height: 1;
	padding: 5px 0;
}

.stg-footer-links {
	padding-top: 30px;
	padding-bottom: 20px;
	display: -webkit-box;
	display: -webkit-flex;
	display: -moz-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	-webkit-justify-content: space-between;
	-moz-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	-webkit-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
}

.ul_menu_stgx>li:hover::before {
	color: #fff !important;
}

.ul_menu_stgx>li:hover a.root {
	color: #fff;
}

.ul_menu_stgx>li:hover {
	background: #f0100f;
}

.ul_menu_stgx>li:first-child:hover {
	border-top-left-radius: 8px;
}

.ul_menu_stgx>li:last-child:hover {
	border-bottom-left-radius: 8px;
}

@media (max-width: 1200px) {
	body {
		overflow-x: auto;
	}
}

@media (min-width: 1650px) {
	.container-wrapper {
		width: 1650px;
	}

	.homepage-slider-stg .homepage-slider-left {
		width: 235px;
		font-size: 14px;
	}

	.ul_menu_stgx>li {
		height: 36.4px;
		line-height: 30px;
	}

	.ul_menu_stgx>li:hover>a::before {
		border-right: 15px solid transparent;
		border-top: 17.5px solid transparent;
		border-left: 15px solid #333a71;
		border-bottom: 17.5px solid transparent;
	}

	.homepage-slider-left .sub_nav {
		min-height: 655px !important;
	}
}

#js-cart-hover:hover #get_item_cart {
	transform: scale(1);
}

#get_item_cart {
	position: absolute;
	width: 400px;
	right: 0;
	top: 47px;
	padding: 0;
	box-shadow: 0 10px 15px rgba(0, 0, 0, .1);
	text-align: left;
	border-radius: 2px;
	font-size: 12px;
	font-weight: 700;
	background-color: #fff;
	transform: scaleY(0);
	z-index: 100;
}

.autocomplete-suggestions::-webkit-scrollbar {
	width: 6px;
}

.autocomplete-suggestions::-webkit-scrollbar-track {
	background: 0 0;
	margin: 10px 0;
}

.autocomplete-suggestions::-webkit-scrollbar-thumb {
	background: #888;
	border-radius: 9999px;
}

.autocomplete-suggestions::-webkit-scrollbar-thumb:hover {
	background: #555;
}

.header-stg .hotline .hotline-number {
	display: inline-block;
	height: 20px;
	padding: 0 10px;
	color: #fff;
	background: #233974;
	line-height: 18px;
	text-align: center;
	border-radius: 5px;
	margin-right: 5px;
}

.header-top .sep-item-link {
	padding: 10px;
	border-radius: 9999px;
	margin-right: 0;
	font-size: 12px;
	line-height: 1;
}

.contact-box-bottom {
	position: fixed;
	bottom: 54px;
	right: 10px;
	z-index: 10000;
}

.contact-box-wrapper {
	display: flex;
	align-items: center;
	background: #fff;
	margin-bottom: 10px;
	padding: 10px 20px;
	border-radius: 10px;
	box-shadow: 0 0 10px 0 rgba(0, 0, 0, .08);
}

.contact-icon-box {
	display: block;
	text-align: center;
	width: 40px;
	height: 40px;
	font-size: 16px;
	line-height: 38px;
	border: 1px solid #e5e5e5;
	border-radius: 999px;
}

.contact-info span {
	color: #868686;
	font-size: 12px;
}

.ttdv {
	position: relative;
}

.ttdv span {
	color: #333e48;
	font-size: 12px;
	padding: 10px;
	cursor: pointer;
}

@media (max-width: 1650px) {
	.hotline .sub {
		top: 28px;
	}
}

#add-cart-complete {
	position: absolute;
	z-index: 10;
	background: #fff;
	width: 280px;
	height: 105px;
	padding: 10px;
	border-radius: 8px;
	top: 100%;
	right: 0;
	box-shadow: 0 0 5px 0 #999;
	display: none;
}

#add-cart-complete::before {
	content: '';
	width: 0;
	height: 0;
	border-left: 10px solid transparent;
	border-right: 10px solid transparent;
	border-bottom: 10px solid #fff;
	font-size: 26px;
	position: absolute;
	top: -10px;
	right: 20px;
}

#add-cart-complete p {
	width: 100%;
	float: left;
	margin: 0;
	font-size: 14px;
	line-height: 45px;
	text-align: center;
}

#add-cart-complete p i {
	font-size: 12px;
	color: #26bc4e;
}

#add-cart-complete a {
	width: 100%;
	float: left;
	text-align: center;
	line-height: 40px;
	background: #f78d1c;
	border-radius: 5px;
	font-size: 14px;
	color: #fff;
}

.home-slider-bottom {
	display: flex;
	margin: 0 0 6px;
}

.home-slider-bottom a:last-child {
	margin-right: 0;
}

.home-slider-bottom a {
	width: calc((100% - 12px)/ 3);
	margin-right: 6px;
	border-radius: 5px;
}

.homepage-slider-stg {
	margin-top: 6px;
}

.homepage-slider-right {
	width: calc(100% - 205px);
	margin: auto 0 auto auto;
}

.sub_nav .sub-menu .wrap-col .box-cate .item-sub .position-relative a:hover:before {
	content: '';
	background: #f0100f;
	height: 1px;
	width: 100%;
	display: block;
	position: absolute;
	bottom: 5px;
}

.box-cate {
	position: relative;
}

.header-stg .header-top .header-top-item .top-header-span {
	font-size: 12px !important;
}

.boxshadowx2023 {
	transition: all 0.3s;
	box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .1), 0 2px 6px 2px rgba(60, 64, 67, .15);
}

.homepage-slider-stg .homepage-slider-right .home-slider {
	border-radius: 8px;
}

.box-search {
	display: flex;
}

.box-social {
	width: 25%;
}

@media (max-width: 1649px) {
	.main-search form {
		height: 100%;
	}

	.box-social {
		width: 35%;
	}

	.header-top .sep-item-link {
		padding: 0px;
	}
}

/*! CSS Used from: media.css */
@media (max-width:1200px) {
	body {
		overflow-x: auto;
	}
}

@media (min-width:1650px) {
	.ul_menu_stgx>li::before {
		line-height: 36px;
	}

	.homepage-slider-stg .homepage-slider-right .home-slider {
		float: left;
		overflow: hidden;
		flex-basis: 0;
		flex: 0 0 897px;
		max-width: 897px;
	}

	.homepage-slider-right {
		width: calc(100% - 278px);
		margin: auto 0 auto auto;
	}

	.homepage-slider-stg {
		margin-top: 10px;
	}

	.home-slider-bottom {
		margin: 2px 0 15px 0;
	}

	.home-slider-bottom a {
		width: calc((100% - 20px) / 3);
		margin-right: 10px;
		border-radius: 8px;
	}
}

@media (max-width:1366px) {
	body {
		font-size: 12px;
	}
}

@media (min-width:1650px) {
	.container-wrapper {
		width: 1650px;
	}

	.ul_menu_stgx>li {
		height: 36.4px;
		line-height: 30px;
	}

	.ul_menu_stgx>li>a {
		line-height: 36.5px;
		height: 36.5px;
	}

	.ul_menu_stgx .sub_nav {
		border-radius: 0px 8px 8px 0px;
	}

	.ul_menu_stgx>li:hover>a::before {
		border-right: 15px solid transparent;
		border-top: 17.5px solid transparent;
		border-left: 15px solid #ed1b24;
		border-bottom: 17.5px solid transparent;
	}

	.ul_menu_stgx>li:hover>a::after {
		border-right: 15px solid transparent;
		border-top: 17.5px solid transparent;
		border-left: 15px solid #ed1b24;
		border-bottom: 17.5px solid transparent;
	}

	.homepage-slider-left .sub_nav {
		min-height: 373px !important;
	}
}

@media (max-width:1649px) {
	.homepage-slider-stg .homepage-slider-right .home-slider {
		width: 343px;
		margin-bottom: 7px;
	}
}

@media (max-width:1649px) {

	.header-stg .header-top .header-top-item .top-header-span,
	.header-top .sep-item-link,
	.ttdv span {
		font-size: 11px;
	}

	body,
	#email_newsletter,
	.header-stg .header-bottom .main-search #text-search,
	.stg-copyright,
	.links-group-container a,
	.policy-info-content,
	a {
		font-size: 14px;
	}

	.right-arrow-link {
		font-size: 11px;
	}

	.ul_menu_stgx .sub_nav {
		min-height: 382px !important;
		left: 200px !important;
	}

	.ul_menu_stgx>li>a {
		font-size: 13px;
	}

	.sub-menu a {
		font-size: 13px;
		line-height: 17px;
	}

	.box-cate {
		padding: 2px 0 0;
	}

	.ul_menu_stgx>li:hover>a::before {
		content: "";
		right: -14px;
		top: 0;
		position: absolute;
		border-right: 7.5px solid transparent;
		border-top: 12px solid transparent;
		border-left: 7.5px solid #ed1b24;
		border-bottom: 13px solid transparent;
		z-index: 9999;
	}

	.ul_menu_stgx>li:hover>a::after {
		content: "";
		right: -14px;
		top: 0;
		position: absolute;
		border-right: 7.5px solid transparent;
		border-top: 12px solid transparent;
		border-left: 7.5px solid #ed1b24;
		border-bottom: 13px solid transparent;
		z-index: 9999;
	}


	.ul_menu_stgx {
		border-radius: 5px;
	}

	.ul_menu_stgx>li::before {
		margin-right: 3px !important;
		font-size: 14px !important;
	}

	.ul_menu_stgx>li {
		padding-left: 5px !important;
		line-height: 26.215px;
		height: 26.25px;
	}

	.ul_menu_stgx>li:first-child:hover {
		border-top-left-radius: 5px;
	}

	.ul_menu_stgx>li:last-child:hover {
		border-bottom-left-radius: 5px;
	}

	.ul_menu_stgx>li>a {
		line-height: 26.82px;
	}


	.stg-buildpc {
		margin-right: 0;
	}

	.header-stg .user-action-wrap {
		padding-left: 5px;
	}

	.header-stg .header-bottom .header-bottom-right {
		margin-left: 10px;
	}

	.stg-buildpc a:last-child {
		margin-left: 10px;
	}

	.header-hotline:before {
		left: -30px;
		top: 3px;
	}
}

@media (max-width:1649px) {
	.list-sub-hover {
		width: 100%;
		min-width: 300px;
	}
}

/*! CSS Used from: custom.css */
.ul_menu_stgx>li>a,
.ul_menu_stgx>li {
	height: 38px;
}

.ul_menu_stgx>li>a {
	line-height: 34px;
}

.ul_menu_stgx>li>a {
	font-size: 13px;
	font-weight: 500;
}

.ul_menu_stgx>li:hover>a::after {
	border-top: 18px solid transparent;
	border-bottom: 18px solid transparent;
}

.ul_menu_stgx>li:hover>a::before {
	right: -14px;
	top: -1px;
	border-top: 18px solid transparent;
	border-bottom: 18px solid transparent;
}

.sub-menu .wrap-col {
	display: flex;
	flex-wrap: wrap;
}

.sub-menu .box-cate {
	display: flex;
	flex-wrap: wrap;
	column-gap: 15px;
	row-gap: 10px;
	width: 100%;
}

.sub-menu .item-sub {
	width: calc(25% - 15px);
}

.icon-menu {
	display: inline-block;
	width: 30px;
	height: 30px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-color: transparent;
	margin-right: 8px;
	vertical-align: middle;
	mask-repeat: no-repeat;
	mask-size: cover;
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-size: cover;
	transition: background-color 0.3s ease;
}

.ul_menu_stgx>li>a:hover .icon-menu {
	background-color: white;
}

form.form-search-main input {
	width: 90%;
}

form.form-search-main input,
form.form-search-main button {
	height: 75%;
}


.swiper-product-tab {
	padding: 6px;
}

.info-contact-box .box-title {
	background-color: #3466a2;
	padding: 0 10px;
	line-height: 31px;
	color: #fff;
	border-radius: 0 3px 3px 0;
	font-weight: 700;
	font-size: 13px !important;
}

.info-contact-box .box-title .box-number {
	background-color: #f0100f;
	padding: 8px;
}

.box-menu-dropdown {
	position: relative;
	display: inline-block;
	cursor: pointer;
}

.list-menu-dropdown {
	position: absolute;
	left: 0;
	top: 100%;
	min-width: 250px;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 5px;
	box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
	padding: 10px 0;
	display: none;
	z-index: 1000;
}

.list-menu-dropdown a {
	display: block;
	padding: 8px 15px;
	color: #333;
	text-decoration: none;
}

.list-menu-dropdown a:hover {
	background: #f1f1f1;
}

.header-fixed {
	position: relative;
	width: 100%;
	margin-right: auto;
	margin-left: auto;
	background: #ef0000;
	transition: all 0.3s;
}

.btn-menu {
	width: 150px;
}

.li-parent-menu:hover .submenu-container {
	display: block;
}

.swiper-icons {
	overflow: hidden;
}

.fs-7 {
	font-size: 0.7rem !important;
}

.card img {
	transition: transform 0.3s ease-in-out;
}


/*! CSS Used keyframes */
@keyframes phone-wave {
	0% {
		transform: scale(0.8);
		opacity: 0.5;
	}

	50% {
		transform: scale(1.2);
		opacity: 1;
	}

	100% {
		transform: scale(1.5);
		opacity: 0;
	}
}

@keyframes shineEffect {
	0% {
		right: -100%;
	}

	100% {
		right: 100%;
	}
}

.form-search-main {
	height: 100%;
}

.social-box-footer .social-link {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	transition: all 0.3s ease-in-out;
}

.social-box-footer .social-link img {
	width: 30px;
	height: 30px;
	object-fit: cover;
}

.social-box-footer .social-link i {
	font-size: 2rem;
}

.social-box-footer .social-link:hover {
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
	transform: scale(1.1);
}

/* Bootstrap 5 - Tùy chỉnh các nút đăng nhập */
.login_gg .g-signin2,
.login_fb .fb-login-button,
.login_zalo a {
	width: 100%;
	padding: 10px 20px;
	font-size: 16px;
	font-weight: bold;
	border-radius: 5px;
	text-transform: uppercase;
}

/* Nút Google */
.login_gg .g-signin2 {
	background-color: #4285f4;
	/* Màu xanh Google */
	color: white;
}

.login_gg .g-signin2:hover {
	background-color: #357ae8;
	/* Màu xanh khi hover */
}

/* Nút Facebook */
.login_fb .fb-login-button {
	background-color: #3b5998;
	/* Màu xanh Facebook */
	color: white;
	border-radius: 5px;
}

.login_fb .fb-login-button:hover {
	background-color: #2d4373;
	/* Màu xanh khi hover */
}

/* Nút Zalo */
.login_zalo a {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background-color: #0066b3;
	/* Màu xanh Zalo */
	color: white;
	border-radius: 5px;
	padding: 10px;
}

.login_zalo a:hover {
	background-color: #005b99;
	/* Màu xanh khi hover */
}

/* Thêm khoảng cách giữa các nút */
.login_gg,
.login_fb,
.login_zalo {
	margin-bottom: 15px;
}
.header-wrapper-bottom{
	background-color: #eaecf0;
}
.header-wrapper-bottom a{
	color: #ef0000;
}
.header-wrapper-bottom a:hover{
	color: #333e48;
}
.links-group-container.social-box-footer{
	width: 30%;
}
.icon-wrapper{
	background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.item_icon:hover{
	transform: scale(1.05);
	background-color: #eaecf0;
	color: #fff;
	
}
.item_icon{
	transition: transform 0.3s ease-in-out;
}
.item_icon .item-title{
    width: auto;
    font-size: 14px;
    height: 18px;
    margin: 2px auto;
    line-height: 18px;
    align-content: center;
	color: #1d2939;
}
.promotion-tabs-wrapper {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-tabs {
	border-bottom: 2px solid #f0f0f0;
	padding: 0 15px;
}

.nav-tabs .nav-link {
	border: none;
	color: #666;
	font-weight: 500;
	padding: 15px 20px;
	transition: all 0.3s ease;
}

.nav-tabs .nav-link.active {
	color: #e94560;
	border-bottom: 2px solid #e94560;
	background: none;
}
.tab-flashsale button{
	border: none;
	color: #666;
	font-weight: 500;
	transition: all 0.3s ease;
	background-color: transparent;
}
.tab-flashsale .nav-link{
	border: none;
	color: #666;
	font-weight: 500;
	padding: 15px 20px;
	transition: all 0.3s ease;
}
.tab-flashsale .active {
	background-color: #f9efef;
}
.tab-flashsale .active .nav-link{	
	color: #e94560;
	border-bottom: 2px solid #e94560;
	background: none;
}
.tab-flashsale .active .nav-image{	
	color: #e94560;
	border-bottom: 2px solid #e94560;
	background: none;
}
.tab-icon {
	height: 50px;
	width: auto;
}

.promotion-header {
	padding: 20px;
	text-align: center;
}

.promotion-title {
	color: #333;
	font-size: 24px;
	font-weight: 600;
}

/* .product-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 20px;
	padding: 20px;
} */

.countdown-timer {
	font-size: 18px;
	color: #e94560;
	font-weight: bold;
}
.btn-buy-now{
	background-color: #f9efef;
	color: #e94560;
	border: none;
	padding: 10px 20px;
	border-radius: 5px;
}
.wrap-countdown{
	background-color: #f9efef;
	padding: 10px;
	border-radius: 5px;
}
.countdown-timer-text{
	font-size: 14px;
	color: #e94560;
	font-weight: 600;
}
.countdown-timer-number{
	font-size: 14px;
	background-color: #e94560;
	color: #fff;
	padding: 5px 10px;
	border-radius: 5px;
}
.bg-red-light{
	background-color: #eaecf0;
}
.bg-red{
	background-color: #ef0000;
}
/* Start Generation Here */
.product-item {
    border-radius: 8px;
	padding: 8px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.combo-image {
    position: relative;
    width: 100%;
    height: auto;
    padding-bottom: 100%; /* Tạo tỷ lệ khung hình 1:1 (vuông) */
    overflow: hidden;
    background-color: #f8f9fa;
}

.combo-image .a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.combo-image .a a {
    display: block;
    width: 100%;
    height: 100%;
}

.combo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Đảm bảo hình ảnh lấp đầy khung mà không bị méo */
    object-position: center; /* Căn giữa hình ảnh */
    transition: transform 0.3s ease;
}

.combo-image:hover img {
    transform: scale(1.05);
}

.p-information {
    background: white;
    border-top: 1px solid #f0f0f0;
}

.p-name {
    margin-bottom: 8px;
    line-height: 1.4;
}

.p-name a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.p-name a:hover {
    color: #e94560;
}

.p-price {
    font-size: 16px;
    font-weight: 600;
}

.p-oldprice {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}

.list-action {
    margin-top: 10px;
}

.list-action a {
    transition: color 0.2s ease;
}

.list-action a:hover {
    color: #c82333 !important;
}
.p-name {
    height: 3em; /* Chiều cao cho 2 dòng */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.4;
}

.p-name a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.TabsOfContents {
    background: #edeef2;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.TabsOfContents h3 {
    color: #333;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e94560;
}

.TabsOfContents ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.TabsOfContents li {
    margin-bottom: 8px;
}

.TabsOfContents a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.4;
    transition: all 0.3s ease;
    display: block;
    padding: 5px 0;
}

.TabsOfContents a:hover {
    color: #e94560;
    padding-left: 5px;
}

.TabsOfContents ul ul {
    margin-left: 20px;
    margin-top: 5px;
}

.TabsOfContents ul ul li {
    margin-bottom: 5px;
}

.TabsOfContents ul ul a {
    font-size: 13px;
    color: #888;
}

.TabsOfContents ul ul a:hover {
    color: #e94560;
}
/* Bỏ số mặc định của ul và ol */
ul, ol {
    list-style: none;
}

/* Nếu muốn giữ lại padding cho các ul, ol có class cụ thể */
ul.list-style-disc, ol.list-style-decimal {
    list-style: disc;
    padding-left: 20px;
}

ol.list-style-decimal {
    list-style: decimal;
}

/* Start Generation Here */

.item-sub {
    padding: 10px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.item-sub:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

.item-sub a {
    text-decoration: none;
    color: #333;
    display: flex;
    align-items: center;
    font-weight: 500;
    transition: all 0.3s ease;
}

.item-sub a:hover {
    color: #e94560;
	text-decoration: none !important;
}

.submenu-image {
    width: 32px !important;
    height: 32px !important;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 12px !important;
    display: block !important;
    margin-bottom: 0 !important;
}

.submenu-title {
    font-size: 14px;
    line-height: 1.4;
}

.right-arrow-link {
    position: relative;
    padding-right: 20px;
}

.right-arrow-link::after {
    content: "›";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #999;
    transition: all 0.3s ease;
}

.right-arrow-link:hover::after {
    color: #e94560;
    transform: translateY(-50%) translateX(2px);
}

.list-sub-hover {
    position: absolute;
    left: 100%;
    top: 0;
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 15px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.item-sub:hover .list-sub-hover {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.list-sub-hover a {
    display: block;
    padding: 8px 12px;
    color: #666;
    font-size: 13px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.list-sub-hover a:hover {
    background: #f8f9fa;
    color: #e94560;
    padding-left: 16px;
}

/* Responsive cho submenu */
@media (max-width: 768px) {
    .sub-menu {
        padding: 15px;
        min-width: 250px;
    }
    
    .box-cate {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .submenu-image {
        width: 28px !important;
        height: 28px !important;
        margin-right: 10px !important;
    }
    
    .submenu-title {
        font-size: 13px;
    }
    
    .list-sub-hover {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 10px 0 0 20px;
        margin-top: 10px;
    }
}
/* End Generation Here */


/* Responsive cho TabsOfContents */
@media (max-width: 768px) {
    .TabsOfContents {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .TabsOfContents h3 {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .TabsOfContents a {
        font-size: 13px;
    }
    
    .TabsOfContents ul ul {
        margin-left: 15px;
    }
    
    .TabsOfContents ul ul a {
        font-size: 12px;
    }
}



/* Responsive cho mobile */
@media (max-width: 768px) {
    .product-item {
        margin-bottom: 15px;
    }
    
    .combo-image {
        border-radius: 6px 6px 0 0;
    }
    
    .p-name a {
        font-size: 14px;
    }
    
    .p-price {
        font-size: 14px;
    }
}
/* End Generation Here */

.blog-category-page {
	background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
	min-height: 100vh;
	padding: 2rem 0;
}

.page-header {
	background: rgba(255, 255, 255, 0.9);
	padding: 2rem;
	border-radius: 15px;
	backdrop-filter: blur(10px);
}

.sidebar-widget .card {
	border-radius: 15px;
	overflow: hidden;
}

.sidebar-widget .list-group-item {
	padding: 0.75rem 1rem;
	transition: all 0.3s ease;
}

.sidebar-widget .list-group-item:hover {
	background-color: #f8f9fa;
	transform: translateX(5px);
}

.sidebar-widget .list-group-item a:hover {
	color: #0d6efd !important;
}

.blog-card {
	border-radius: 15px;
	overflow: hidden;
	transition: all 0.3s ease;
}

.blog-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.hover-lift:hover {
	transform: translateY(-5px);
}

.blog-card .card-title a:hover {
	color: #0d6efd !important;
}

.breadcrumb {
	background: rgba(255, 255, 255, 0.9);
	padding: 1rem;
	border-radius: 10px;
	backdrop-filter: blur(10px);
}

.pagination-wrapper .pagination {
	gap: 0.5rem;
}

.pagination-wrapper .page-link {
	border-radius: 8px;
	border: none;
	padding: 0.5rem 1rem;
	color: #6c757d;
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(10px);
}

.pagination-wrapper .page-link:hover {
	background: #0d6efd;
	color: white;
}

.pagination-wrapper .page-item.active .page-link {
	background: #0d6efd;
	border-color: #0d6efd;
}
	.category-item.active {
		background-color: #f8f9fa;
	}

	.list-menu-show .item {
		position: relative;
		transition: transform 0.2s cubic-bezier(.4,0,.2,1), box-shadow 0.2s;
		border-radius: 8px;
	}
	.list-menu-show .item:hover {
		background: rgba(13,110,253,0.08);
		transform: translateY(-4px) scale(1.04);
		box-shadow: 0 4px 16px rgba(13,110,253,0.10);
		z-index: 2;
	}
	.list-menu-show .item a {
		display: flex;
		align-items: center;
		gap: 8px;
		padding: 8px 16px;
		border-radius: 8px;
		color: #333e48;
		text-decoration: none;
		transition: color 0.2s;
		font-weight: 500;
		position: relative;
	}
	.list-menu-show .item a:hover {
		color: #0d6efd;
		background: transparent;
	}
	.list-menu-show .item a::after {
		content: '';
		display: block;
		position: absolute;
		left: 16px;
		bottom: 4px;
		width: 0;
		height: 2px;
		background: linear-gradient(90deg, #0d6efd 0%, #6610f2 100%);
		border-radius: 2px;
		transition: width 0.25s cubic-bezier(.4,0,.2,1);
	}
	.list-menu-show .item:hover a::after {
		width: calc(100% - 32px);
	}
	.list-menu-show .icon-menu {
		width: 24px;
		height: 24px;
		object-fit: contain;
		transition: transform 0.2s cubic-bezier(.4,0,.2,1);
	}
	.list-menu-show .item:hover .icon-menu {
		transform: scale(1.15) rotate(-8deg);
		filter: drop-shadow(0 2px 8px rgba(13,110,253,0.15));
	}
	.product-image, .box-image{
		position: relative;
	}
.out_of_stock {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgb(0 0 0 / 25%);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 10;
	border-radius: 8px;
	pointer-events: none;
}
.out_of_stock p {
	color: #d9534f;
	font-size: 1.2rem;
	font-weight: bold;
	text-align: center;
	margin: 0;
	line-height: 1.4;
}
.out_of_stock i {
	color: #d9534f;
	margin-bottom: 6px;
}
.banner-main {
	position: relative;
	overflow: hidden;
}
.banner-main-info {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	padding: 32px 24px 24px 24px;
	text-align: left;
}
.banner-main-gradient {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 100px;
	background: linear-gradient(0deg, rgba(0,0,0,0.7) 80%, rgba(0,0,0,0.0) 100%);
	z-index: 1;
	pointer-events: none;
}
.banner-main-info h1 {
	position: relative;
	color: #fff;
	z-index: 2;
	margin: 0;
	font-size: 2.5rem;
	font-weight: bold;
	line-height: 1.2;
}
.banner-main-info p {
	position: relative;
	color: #fff;
	z-index: 2;
	margin-top: 12px;
	font-size: 1.1rem;
}

.block-content-layout .content-text {
    padding: 20px;
}

.block-content-layout .content-media {
    text-align: center;
    padding: 20px;
}

.block-content-layout .content-media img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.block-content-layout .content-media video {
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.blog-title-box {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    height: 2.8em; /* 2 dòng x 1.4 line-height */
}

.blog-description-box {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5;
    height: 6em; /* 4 dòng x 1.5 line-height */
}

/* Đảm bảo card có chiều cao đồng đều */
.swiper-slide .card {
    height: 100%;
}

.swiper-slide .card-body {
    height: 100%;
}

/* Thêm margin cho swiper-slide để tránh bị che border */
.swiper-slide {
    padding: 0;
}

/* Đảm bảo swiper container có đủ không gian */
.swiper-blog-home {
    padding: 10px 0;
}
/* Caret up/down animation for dropdown - hover up, leave down */
.dropdown-toggle::after {
    transition: transform 0.2s;
}

/* Khi hover vào .dropdown thì caret quay lên (up) */
.dropdown:hover > .dropdown-toggle::after {
    transform: rotate(-180deg);
}

/* Khi rời chuột khỏi .dropdown thì caret trả về trạng thái mặc định (down) */
.dropdown:not(:hover) > .dropdown-toggle::after {
    transform: rotate(0deg);
}

@media (max-width: 768px) {
	.blog-category-page {
		padding: 1rem 0;
	}
	
	.page-header {
		padding: 1.5rem;
	}
	
	.sidebar-widget {
		order: 2;
	}
	.category-item.active {
		background-color: #f8f9fa;
	}
	.nav-tabs .nav-link {
		padding: 10px;
		font-size: 14px;
	}

	.product-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
		padding: 10px;
	}
	.block-content-layout .row {
        flex-direction: column;
    }
    
    .block-content-layout .col-md-6 {
        width: 100%;
        margin-bottom: 20px;
    }
}