@charset "utf-8";

:root {
	--main-color: #A4CCED;
	--text-color: #232322;
	--box-border: #CBE1F3;
	--hover-color: #6FB5EF;
}
span {
	font-family: 'Noto Sans KR';
}

/* header */
.top_logo {
	width: 100%;
	color: var(--main-color);
}
.m_logo {
	color: var(--main-color);
}

/* banner */
.main_banner {
	height: 420px;
    background: url(/images/banner/t_banner.png) no-repeat;
}
.main_banner .tit_wrap .banner_tit {
	margin-bottom: 40px;
	visibility: hidden;
	line-height: 0;
}
.main_banner .tit_wrap .banner_tit::after {
	display: block;
	content: '센스있는 선물, 기프티콘';
	visibility: initial;
	font-family: 'Noto Sans KR';
	color: #fff;
}
.main_banner .tit_wrap .banner_sub_tit {
	color: #fff;
}
.main_banner .tit_wrap button {
	border: 1px solid #fff;
}
.main_banner .tit_wrap button a {
	color: #fff;
}

/* goods banner */
.top_box {
	height: 162px;
	background: url(/images/common/t_back.png) no-repeat;
	background-size: cover;
}
.top_box .title_wrap img {
	display: none;
}

/* footer */
#footer .foot_logo {
	color: var(--main-color);
}

/* contents css 수정 */

/* index page */
.md .md_list ul {
	row-gap: 50px;
	column-gap: 5px;
}
.md .md_list ul li {
	width: calc(100% / 3.1);
	padding: 30px 10px;
	border: 1px solid var(--main-color);
}
.md .md_list .md_top {
	display: flex;
	align-items: center;
	gap: 10px;
	height: 390px;
}
.md .item_wrap {
	flex-direction: column;
	height: inherit;
	background: none;
}
.md .item_wrap .price {
	text-align: center;
}
.md .mt_btn {
	flex-direction: column;
	justify-content: center;
	gap: 8px;
	width: 80%;
}
.md .mt_btn a {
	width: 85%;
	padding: 10px 3px;
	border-radius: 8px;
}
.md .mt_btn a:first-child {
	border: 1px solid var(--main-color);
	background: var(--main-color);
	color: #fff;
	transition: all .2s;
}
.md .mt_btn a:first-child:hover {
	border: 1px solid var(--main-color);
	background: #fff;
	color: var(--main-color);
}
.md .mt_btn a:last-child {
	border: 1px solid #ECECEC;
}

.best_container {
	background: #D9E8F3;
}
.best_container .best_list li {
	border-radius: 10px;
	overflow: hidden;
/* 	box-shadow: 2px 2px 5px rgba(140, 203, 53, .2); */
}
.best_container .best_list .item_info .price {
	padding: 0;
	order: 2;
}
.best_container .best_list .item_info .product_name {
	margin-top: 10px;
	order: 1;
}
.best_container .best_list li .purchase_btn {
	background: var(--main-color);
	color: #fff;
}

.brand_list ul li {
	transition: all .2s;
}
.brand_list ul li:hover {
	border: 1px solid var(--main-color);
}
.product_wrap a span:nth-of-type(1) {
	order: 2;
}
.product_wrap a span:last-child {
	order: 1;
}

/* sub page */
.sub_list .item_wrap {
	flex-direction: row;	
}
.list_item_wrap .item_wrap .item_list .item {
	border: 1px solid var(--box-border);
}
.list_item_wrap .item_wrap .item_list .item::after {
	background: rgba(164, 204, 237, .2);
}
.list_item_wrap .item_wrap .item_list .item .purchase_btn {
	background: var(--main-color);
}
.list_item_wrap .item_wrap .item_list .item .price {
	font-size: 20px;
	font-weight: 400;
	margin: 0;
	order: 2; 
}
.list_item_wrap .item_wrap .item_list .item .product_name {
	font-size: 24px;
	font-weight: 700;
	margin: 30px 0 15px;
}

.other_slide .item a {
	transition: all .4s;
}
.other_slide .item a:hover {
	border: 1px solid var(--main-color);
}

.login_btn:hover {
	background: var(--hover-color);
}
.cart_btn a:hover {
	background: var(--hover-color);
}

@media screen and (max-width: 1200px) {
	.md .md_list ul {
		padding: 0 10px;
	}
	.md .md_list ul li {
		width: calc(100% / 2.1);
	}
}
@media screen and (max-width: 1000px) {
	.md .md_list ul li {
		width: 100%;
	}
}
@media screen and (max-width: 600px) {
	.main_banner .tit_wrap .banner_tit {
		margin-bottom: 0;
	}
	.main_banner .tit_wrap .banner_tit::after {
		line-height: 1.2;
	}	
}
@media screen and (max-width: 450px) {
	.md .md_list .md_top {
		flex-direction: column;
		height: auto;
	}
	.md .mt_btn {
		width: 100%;
		margin-top: 20px;
	}
	.md .md_list ul li:nth-child(2n) .item_wrap {
		order: 0;
	}
	.list_item_wrap .item_wrap .item_list .img_wrap {
		height: initial;
	}
}

