/* tin tuc */
.article-slide {
	margin-bottom: 0;
}

.article-slide .slick-list {
	margin: 0 -10px;
}

.article-slide .slick-slide {
	margin: 0 10px;
}

.article-item {
	background: white;
	box-shadow: 0px 3px 10px 0px rgba(0, 0, 0, 0.1);
}

.article-item__img {
	/* margin-bottom: 10px; */
	display: block;
}

.article-item__img figure {
	position: relative;
	width: 100%;
	padding-top: calc((202 / 360) * 100%);
	display: block;
}

.article-item__img figure img {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.article-item__ct {
	padding: 10px 20px 15px;
}

.article-item__ttl {
	font-size: 16px;
	font-weight: 700;
	margin-bottom: 10px;
}

.article-item__ttl>* {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	text-overflow: ellipsis;
}

.article-item__desc {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
	text-overflow: ellipsis;

}

/* product */
/* frontend/components/products/item1.blade.php */
.item-products1 {
	background: white;
	border-radius: 4px;
	position: relative;
	overflow: hidden;
	padding: 8px;
	height: 100%;
}

.item-products1:hover {
	box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.06);
}

.item-products1:hover .item-products1__img figure::before {
	opacity: .5;
}

.item-products1__img {
	background: white;
}

.item-products1__img figure {
	margin: 0;
	position: relative;
	padding-top: 100%;
	overflow: hidden;
}

.item-products1__img figure::before {
	content: "";
	width: 100%;
	height: 100%;
	background: #fff;
	opacity: 0;
	position: absolute;
	z-index: 1;
	top: 0;
	left: 0;
	transition: all 150ms ease-in-out
}

.item-products1__img figure img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	position: absolute;
	top: 0;
	left: 0;
	transition: all .7s ease;
}

.item-products1__sale {
	background: var(--color-main);
	position: absolute;
	top: 7px;
	left: 0;
	z-index: 9;
	padding: 5px 15px;
	font-size: 12px;
	color: #fff;
	font-weight: 400;
	line-height: 12px;
}

.item-products1__ct__name {
	margin-bottom: 10px;
	text-align: center;
}

.item-products1__ct__name a {
	text-decoration: none;
	font-weight: 400;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	color: #707070;
	font-size: 14px;
}
.item-products1__ct__name a:hover{
	color: var(--color-main);
}
.item-products1__price {
	font-weight: 600;
	color: #333;
	gap: 5px;
	margin-bottom: 10px;
}

.item-products1__price-original {
	color: #c8c8c8;
}

.item-products1__price-sale {
	display: inline-block;
	padding: 3px;
	color: #fff;
	font-size: 10px;
	font-weight: 500;
	background: var(--color-main);
	position: relative;
	height: 12px;
	line-height: 7px
}

.item-products1__price-sale:before {
	content: "";
	position: absolute;
	right: 32%;
	transform: translateX(-50%);
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 6px 4px 0 4px;
	border-color: var(--color-main) transparent transparent transparent;
	top: 10px
}

.item-products1__wbtn {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	position: relative;
	gap: 5px;
}

/* .item-products1__btn:nth-child(2)::before {
	content: "";
	height: 13px;
	width: 2px;
	top: 12px;
	left: 0px;
	position: absolute;
	background: #d3d3d3
} */

.item-products1__btn {
	height: 37px;
	line-height: 25px;
	box-shadow: none;
	font-size: 14px;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 5px;
	color: #333;
	transition: all ease 0.3s;
	float: left;
	position: relative;
	padding: 7px 15px;
	background: #eee;
	cursor: pointer;
	flex: auto 1;
	border-radius: 4px;
	max-width: fit-content;
}

.item-products1__btn:hover {
	background: var(--color-main);
	color: white;
}

.item-products1__btn .icon {
	line-height: 0;
}

.item-products1__btn .icon svg {
	width: 13px;
	height: 13px;

}

.item-products1__btn .icon svg path {
	stroke: currentColor;
}
@media (max-width: 540px) {
	.item-products1__btn:nth-last-child(2){
		display: none;
	}
}
/* frontend/components/products/item2.blade.php */
.item-products2 {
	/* background: #fff; */
	background: #eee;
	border-radius: 4px;
	position: relative;
	overflow: hidden;
	padding: 0;
	border: solid 1px #eee;
	height: 100%;
}

.item-products2__img {
	background: white;
}

.item-products2__img figure {
	margin: 0;
	position: relative;
	padding-top: 100%;
	overflow: hidden;
}

.item-products2__img figure img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	position: absolute;
	top: 0;
	left: 0;
	transition: all .7s ease;
}

.item-products2__ct {
	text-align: center;
	padding: 10px;

}

.item-products2__ct__name {
	margin-bottom: 5px;
}

.item-products2__ct__name a {
	text-decoration: none;
	font-size: 16px;
	font-weight: 700;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	color: #2c3a9e;
}

.item-products2__ct__desc {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	line-height: 1.3;
	color: #333;
	text-align: center;
}

.item-products2__ct__print_now {
	margin-top: -26px;
	margin-bottom: 10px;
	position: relative;
	z-index: 1;
}

.item-products2__ct__btn {
	display: inline-block;
	border-radius: 4px;
	color: #fff;
	width: 120px;
	height: 30px;
	line-height: 30px;
	text-align: center;
	font-weight: 500;
	font-size: 14px;
	padding: 0;
	background: linear-gradient(to right, #2d3a95 0, #545d9f 25%, #7079bf 75%, #2d3a95 100%);
	transition: all .3s ease;
}

.item-products2__ct__btn:hover {
	background: var(--color-main);
	color: white;
}

.item-products2:hover .item-products2__img figure img {
	transform: scale(1.1);
}
/*  */
.item-product3{

}
.item-product3:not(:last-child){
	border-bottom: 1px solid #ddd;
	padding-bottom: 5px;
	margin-bottom: 5px;
}
.item-product3__img{
	line-height: 1;
}
.item-product3__ttl {
	margin-bottom: 5px;
	
}

.item-product3__ttl a {
	text-decoration: none;
	font-weight: 700;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 14px;
}
.item-product3__price {
	font-weight: 600;
	color: #333;
	gap: 5px;
	margin-bottom: 10px;
}

.item-product3__price-original {
	color: #c8c8c8;
}

.item-product3__price-sale {
	display: inline-block;
	padding: 3px;
	color: #fff;
	font-size: 10px;
	font-weight: 500;
	background: var(--color-main);
	position: relative;
	height: 12px;
	line-height: 7px
}
/* btn */
.btn-common01 {
	min-height: 34px;
	background: var(--color-main);
	border: 1px solid var(--color-main);
	color: white;
	border-radius: 6px;
	font-size: 14px;
	display: inline-flex;
	justify-content: space-between;
	align-items: center;
	padding: 3px 10px;
	line-height: 1;
	gap: 5px;
}

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

.btn-common01 .icon {
	line-height: 0;
}

.btn-common01 svg {
	width: 25px;
	height: 25px;

}

.btn-common01 img {
	width: 20px;
	height: 20px;
}

.btn-common01 svg path {
	stroke: currentColor;
}

.btn-common02 {
	background: linear-gradient(135deg, #e53935 0%, #c62828 100%);
	color: white;
	border: none;
	border-radius: 12px;
	padding: 10px 24px;
	font-size: 16px;
	font-weight: 600;
	width: 100%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	transition: all 0.3s ease;
	box-shadow: 0 4px 12px rgba(229, 57, 53, 0.3);
}

.btn-common02:hover {
	background: linear-gradient(135deg, #c62828 0%, #b71c1c 100%);
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(229, 57, 53, 0.4);
}

.btn-common02-icon {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

/*  */
.hover-effect_1 {
	position: relative;
	overflow: hidden
}

.hover-effect_1::after {
	position: absolute;
	width: 200%;
	height: 0%;
	left: 50%;
	top: 50%;
	background-color: hsla(0, 0%, 100%, .3);
	transform: translate(-50%, -50%) rotate(-45deg);
	content: "";
	z-index: 1
}

.hover-effect_1:hover::after {
	height: 250%;
	transition: all .6s linear;
	background-color: transparent
}

.hover-effect_1 img {
	transform: scale(1);
	transition: transform .6s ease-in-out
}

.hover-effect_1:hover img {
	/* transform: scale(1.05) */
}
.hover-effect_2 {
	position: relative;

}

.hover-effect_2::after {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 0;
	opacity: .3;
	background: #142640;
	transition: all .3s ease;
}

.hover-effect_2:hover::after {
	height: 100%;
}
