@charset "utf-8";

:root {
	--main-color: #F5DAD6;
	--text-color: #232322;
	--box-border: #D5345B;
	--hover-color: #F6BEB6;
}
span {
	font-family: 'Noto Sans KR';
}

/* header */
.top_logo {
	width: 100%;
	color: var(--box-border);
}
.m_logo {
	color: var(--box-border);
}

/* banner */
.main_banner {
	height: 420px;
    background: url(/images/banner/n_banner.png) no-repeat;
}
.main_banner .tit_wrap .banner_tit {
	margin-bottom: 40px;
	color: var(--text-color);
	visibility: hidden;
	line-height: 0;
}
.main_banner .tit_wrap .banner_tit::after {
	display: block;
	content: '센스있는 선물, 기프티콘';
	visibility: initial;
	font-family: 'Noto Sans KR';
}
.main_banner .tit_wrap .banner_sub_tit {
	color: var(--text-color);
}
.main_banner .tit_wrap button a {
	color: var(--text-color);
}
.main_banner .tit_wrap button {
	border: 1px solid var(--text-color);
}

/* goods banner */
.top_box {
	height: 162px;
	background: url(/images/common/n_back.png) no-repeat;
	background-size: cover;
}
.top_box .title_wrap img {
	display: none;
}
.top_box .title_wrap .menu_tit {
	color: var(--text-color);
}

/* footer */
#footer .foot_logo {
	color: var(--main-color);
}

/* contents css 수정 */

/* index page */
.md .md_list ul {
	row-gap: 50px;
}
.md .md_list ul li {
	padding: 0 10px 10px;
	border: 1px solid var(--box-border);
}
.md .md_list .md_top {
	display: flex;
	gap: 10px;
}
.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;
}
.md .mt_btn a {
	width: 100%;
	padding: 10px 3px;
	border-radius: 8px;
}
.md .mt_btn a:first-child {
	border: 1px solid var(--main-color);
	background: var(--main-color);
	color: var(--box-border);
	transition: all .2s;
}
.md .mt_btn a:first-child:hover {
	border: 1px solid var(--main-color);
	background: #fff;
}
.md .mt_btn a:last-child {
	border: 1px solid #ECECEC;
}

.best_container {
	background: #F6EDEB;
}
.best_container .best_list li {
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 2px 2px 5px rgba(248, 232, 229, .5);
}
.best_container .best_list li::before {
	background: rgba(213, 52, 92, 0.2);
}
.best_container .best_list .item_info .price {
	padding: 0;
	order: 2;
}
.best_container .best_list .item_info .product_name {
	margin-top: 30px;
	order: 1;
}
.best_container .best_list li .purchase_btn {
	background: #fff;
	color: var(--box-border);
	border: 1px solid var(--box-border);
}

.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(213, 52, 92, 0.2);
}
.list_item_wrap .item_wrap .item_list .item .purchase_btn {
	background: #fff;
	color: var(--box-border);
	border: 1px solid var(--box-border);
}
.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: 600px) {
	.main_banner {
      background: url(/images/banner/clpay_m_banner.jpg) no-repeat;
      background-size: 100% 100%;
     }

	.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_top {
		flex-direction: column;
	}
	.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;
	}
	
}

