body.show-voucher-detail {
	overflow: hidden;
}
.category-list {
	display: flex;
	list-style: none;
	padding: 0;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: center;
}

.category-list>li {
	width: calc(100% / 6);
	display: flex;
	align-items: center;
	justify-content: center;
}

.section-heading h3 {
	text-align: center;
	font-size: 28px;
	margin: 0;
}

.skinfood-voucher-page section {
	margin-bottom: 20px;
}

.section-heading {
	margin-bottom: 20px;
}

.event-banner {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	height: 300px;
	padding: 20px 0;
}

.event-banner .newcomer-event {
	width: 40%;
}
.event-banner .special-event {
	width: 60%;
}
.event-banner .event-box a {
	display: inline-block;
	height: 100%;
	position: relative;
	width: 100%;
	overflow:hidden;
}

.event-banner .event-box a img {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

h4.event-heading {
	text-align: center;
	margin: 0;
	font-size: 20px
}

.category-container {
	margin-bottom: 20px;
}

/*-- voucher --*/
.voucher-container {
	margin-bottom: 20px;
}
.voucher-section-heading {
	text-align: center;
	margin-bottom: 5px;
}

.voucher-section-heading h3 {
	font-size: 18px;
	background: #1f3a7d;
	color: #fff;
	display: inline-block;
	padding: 10px 40px;
	margin: 0;
	text-transform: capitalize;
	border-radius:20px;
}

.item-ribbon {
	/*--mask: 
	linear-gradient(#000 0 0) 50%/calc(100% - 36px) calc(100% - 36px) no-repeat,
	radial-gradient(10px,#0000 98%,#000) 0 -18px/33.3px 36px round no-repeat,
	radial-gradient(10px,#0000 98%,#000) 0 calc(100% + 18px)/33.3px 36px round no-repeat,
	radial-gradient(10px,#0000 98%,#000) -18px 0/36px 33.3px no-repeat round,
	radial-gradient(10px,#0000 98%,#000) calc(100% + 18px) 0/36px 33.3px no-repeat round;
	clip-path: polygon(0px 0,calc(100% - 0px) 0,100% 0px,100% calc(100% - 0px),calc(100% - 0px) 100%,0px 100%,0 calc(100% - 0px),0 0px);
	-webkit-mask: var(--mask);
	mask: var(--mask);
	padding: 20px 0;
	*/
	background: #e3f0f4;
	display: flex;
	width:100%;
	border-radius:12px;
	border: 1px solid #cfcfcf;
}

.voucher-list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.voucher-item {
	width: 50%;
	flex-shrink: 0;
	padding: 20px 20px;
	display: flex;
	justify-content: center;
	position: relative;
}

.item-ribbon__left {
	flex: 0 0 25%;
	-ms-flex: 0 0 25%;
	max-width: 25%;
	padding: 0 15px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.item-ribbon__right {
	flex: 0 0 75%;
	-ms-flex: 0 0 75%;
	max-width: 75%;
	padding: 15px 20px;
	border-left: 1px dashed #b5b5b5;
	display: flex;
	flex-direction: column; 
	justify-content: space-between;
	position:relative;
}
.item-ribbon__right:before{
	position: absolute;
	content: '';
	width: 14px;
	height: 9px;
	background: #fff;
	top: -1px;
	left: -8px;
	border: 1px solid #cfcfcf;
	border-top: none;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
}
.item-ribbon__right:after{
	position: absolute;
	content: '';
	width: 14px;
	height: 9px;
	background: #fff;
	bottom: -1px;
	left: -8px;
	border: 1px solid #cfcfcf;
	border-bottom: none;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
}

.item-info__upper .heading {
	display: flex;
	justify-content: space-between;
}
.item-info__lower {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin-top:15px;
}

.item-info .title {
	font-size: 16px;
	font-weight: 600;
	margin: 0;
}

.item-info .condition {
	margin: 0;
	font-size: 12px;
	white-space: nowrap;         
	overflow: hidden;           
	text-overflow: ellipsis; 
}
.item-info .condition a{
	font-weight: 500;
	text-decoration: underline;
	color: #d62a2a;
}
.save-voucher-btn {
	background: #1f3a7d;
	display: inline-block;
	padding: 5px 35px;
	font-size: 14px;
	color: #fff !important;
	position:relative;
}
.save-voucher-btn .coupon-ani{
	position: absolute;
	left: 0;
	right: 0;
	text-align: center;
	display: flex;
	align-items: center;
	color: #e55534;
	font-size: 16px;
	font-weight: 600;
	justify-content: center;
	top: 0;
	transform: translateY(0);
	transition: all 0.3s ease-in-out;
	opacity:0;
	visibility:hidden;
}
.save-voucher-btn .coupon-ani svg{width:24px;height:24px;display:inline-block;margin-left:2px;}
.save-voucher-btn .coupon-ani.active{
	opacity:1;
	visibility:visible;
	transform: translateY(-21px);
}
.coupon-item__view-detail {
	position: absolute;
	z-index: 100;
	transition: all ease-in-out 250ms;
	opacity: 0;
	visibility: hidden;
	top: 65px;
	right: 0px;
	width: 360px;
}
.coupon-detail-container{
	border-radius: 10px;
	padding: 10px 0;
	box-shadow: rgba(0, 0, 0, 0.15) 0px 1px 18px;
	position: relative;
	background: #fff;
}
.show-detail .coupon-item__view-detail{
	opacity: 1;
	visibility: visible;
}
.details {
	margin: 0;
	padding-left: 20px;
}
.close-detail-btn {
	display:none;
	position: absolute;
	top: 0;
	right: 0;
	transform: translate(50%,-50%);
	background: #e5b8a1;
	width: 20px;
	height: 20px;
	border-radius: 100%;
	cursor: pointer;
}
.close-detail-btn::after, .close-detail-btn::before{
	position: absolute;
	top: 50%;
	left: 49%;
	content: "";
	width: 2px;
	height: 10px;
	background: #fff;
}
.close-detail-btn::after {
	transform: translateY(-50%) rotate(45deg);
}
.close-detail-btn::before {
	transform: translateY(-50%) rotate(-45deg);
}
.coupon-item__view-detail .detail {
	font-size: 14px;
	margin: 2px 0;
}
.campaign-list.owl-carousel:not(.owl-loaded) .campaign-item:not(:first-child){
	display: none;
}
.voucher-by-group__heading {
	/*background: #e5b8a1;
	padding: 10px 20px;*/
	max-width: 800px;
	margin: 0 auto 40px;
}
.voucher-by-group__heading h3 {
	text-align: center;
	font-size: 22px;
	margin: 0;
	font-weight: 600;
}
.detail-code, .detail-exp {
	display: flex;
	align-items: center;
}

.detail-code span, .detail-exp span {
	width: 50%;
}
.detail-code__code {
	font-weight: 500;
}

.detail-code__code svg {
	width: 16px;
	height: 16px;
}

.detail-code__code a {
	display: inline-flex;
	width: 24px;
	height: 24px;
	background: #ffefe7;
	align-items: center;
	justify-content: center;
	border-radius: 1000%;
	cursor: pointer;
	margin-left: 5px;
	display:none;
}
.detail-code, .detail-details {
	background: #fafafa;
}

.detail-code, .detail-exp, .detail-details {
	padding: 10px 20px;
}
.coupon-item__view-detail .handle {
	display: inline-block;
	background: #fff;
	width: 10px;
	height: 10px;
	top: -4px;
	right: 60px;
	position: absolute;
	transform: rotate(45deg);
}

.voucher-detail-isshown {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0; opacity: 0;
	visibility: hidden;
	z-index: 999;
	transition: all ease-in-out 250ms;
}
.show-voucher-detail .voucher-detail-isshown {
	opacity: 0.6;
	visibility: visible;
	background: #000;
	z-index: 999;
}

@media(max-width: 1200px){
	.event-banner {
		height: 250px;
		gap: 15px;
	}
}
@media(max-width: 991px){
	.event-banner {
		height: 200px;
		gap: 10px;
	}
	.voucher-item {
		padding: 15px 10px;
	}

	.item-ribbon__left {
		padding: 0 5px;
		padding-left: 15px;
	}
	.item-ribbon__right {
		padding-left: 15px;
		padding-right:15px;
	}
	.save-voucher-btn {
		padding: 5px 20px;
		font-size: 11px;
	}
	.item-info__lower span {
		font-size: 10px;
	}
	.item-info .title {
		font-size: 16px;
	}
	.show-detail-btn {
		font-size: 11px;
	}
	.item-info .condition {
		font-size: 12px;
	}
}


@media(max-width: 767px){
	.event-banner .event-box {
		width: 100%;
	}
	.voucher-item {
		width: 100%;
		padding: 15px 10px;
	}	
	.category-list>li {
		padding: 10px; 
		width: calc(100% / 3);
	}
	.category-list {
		flex-wrap: wrap;
		margin: 0 -10px;
	}
	.voucher-section-heading h3 {
		font-size: 16px;
		padding: 10px 30px;
	}
	.event-banner {
		height: auto;
		flex-direction: column;
	}

	.event-banner .event-box a {
		padding-bottom: 50%;
	}
	.voucher-by-group__heading h3{
		font-size: 18px;
	}
	.voucher-by-group__heading {
		margin-bottom: 30px;
	}
	.coupon-item__view-detail {
		position: fixed;
		top: auto;
		bottom: 0;
		left: 0;
		right: 0;
		z-index: 1000;
		width: auto;
		transform: translateY(100%);
		transition: all ease-in-out 300ms;
	}
	.coupon-detail-container{
		padding-bottom: 70px;
		padding-top: 20px;
		position: relative;
		border-radius: 20px 20px 0 0;
	}
	.coupon-item__view-detail .handle {
		width: 80px;
		height: 5px;
		transform: rotate(0deg) translateX(50%);
		top: -10px;
		border-radius: 30px;
		right: 50%;
		box-shadow: 0px -1px 8px 0px #0000001f;
	}

	.show-voucher-detail .coupon-item__view-detail{
		transform: translateY(0);
	}
}
@media(max-width: 400px){
	.save-voucher-btn {
		padding: 3px 15px;
		font-size: 10px;
	}
}
.detail-action {
	padding: 10px 20px 5px;
}

.detail-action .use-coupon-btn {
	background: #820813;
	color: #fff;
	text-transform: uppercase;
	font-size: 14px !important;
	font-weight: 500;
	display: block;
	text-align: center;
	padding: 10px 0 !important;
}
@media(min-width: 768px){
	.detail-action{
		display: none;
	}
}
.view-coupon-btn .dt{
	display: block;
}
.view-coupon-btn .mb{
	display: none;
}
@media(max-width: 767px){
	.view-coupon-btn {
		border: 1px solid;
		color: #a3a3a3;
		display: inline-flex;
		width: 15px;
		height: 15px;
		border-radius: 100%;
		align-items: center;
		justify-content: center;
		font-size: 10px;
	}
	.view-coupon-btn .dt{
		display: none;
	}
	.view-coupon-btn .mb{
		display: block;
	}
	.section-heading h3{font-size:18px;}
}

/* index voucher*/
@media (min-width:1024px){
	.index-vouchers .voucher-item{
		width: 25%;
		min-height: 135px;
		padding: 5px;	
	}
}
@media(min-width: 768px){

	.index-vouchers .item-ribbon__right{
		padding: 15px 7px;
	}
	.index-vouchers .item-ribbon__left{
		padding: 0px 10px;
	}
	.index-vouchers .coupon-item__view-detail {
		top: 45px;
		right: -23px;
	}
	.index-vouchers .item-info .title{
		font-size: 16px;
	}

	.index-vouchers .save-voucher-btn {
		padding: 1px 20px;
		font-size: 14px;
	}
	.index-vouchers .item-info__lower span:not(.coupon-ani) {
		font-size: 11px;
	}
	.index-vouchers .view-coupon-btn .dt {
		font-size: 13px;
	}
}
@media (max-width:991px){
	.index-vouchers .voucher-list {
		flex-wrap: nowrap;
		overflow-y: auto;
		gap: 10px;
		margin: 0 -15px;
		padding-left: 10px;
	}
	.index-vouchers .voucher-list .voucher-item {
		width: 45%;
		padding: 0;
		min-height: 110px;
	}
}
@media(max-width: 767px){

	.index-vouchers .item-info .title{
		font-size: 14px;
	}
	.index-vouchers .voucher-list .voucher-item {
		width: 90%;
		padding: 0;
		min-height: 110px;
	}
	.index-vouchers .item-ribbon__left {
		padding: 0 5px;
	}
	.index-vouchers .item-info .condition{
		font-size: 12px;
	}
	.index-vouchers .item-ribbon__right{
		padding: 10px;
	}
	.index-vouchers .save-voucher-btn {
		padding: 3px 20px;
		font-size: 11px;
	}
	.index-vouchers .item-info__lower span {
		font-size: 11px;
	}
}