@charset "utf-8";

/* 쿠폰팝업창 */
.popup_bg {
	display: none;
	position: fixed;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, .5);
	z-index: 999;
}

.popup_bg.on {
	display: block;
}

.couponPop {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	overflow: hidden;
	z-index: 999;
	-webkit-overflow-scrolling: touch;
	width: 80%;
	max-width: 800px;
	min-width: 280px;
	height: 480px;
	background: #fff;
	border: 2px solid #000;

}

.coupon_wrap {
	overflow-y: scroll;
	height: calc(100% - 40px);
	box-sizing: border-box;
	padding: 2rem 2rem 6rem;
}

.coupon_wrap h2 {
	font-size: 1.6rem;
}

ul.addr_warn {
	margin: 1rem 0 2rem;
	border: 1px solid #ccc;
	padding: 1rem;
}

ul.addr_warn li {
	padding: 0 0 1rem;
	font-size: 1.3rem;
	font-weight: 300;
	color: #333;
}

.pop_coupon02 {
	margin: 1.5rem 0 0;
}

.pop_coupon select {
	border: 1px solid #ccc;
	height: 3rem;
	width: 100%;
	font-size: 1.4rem;
	color: #000;
	font-weight: 500;
}

.pop_coupon ul li {
	display: table;
	width: 100%;
}

.pop_coupon ul li div {
	display: table-cell;
	font-size: 1.4rem;
}

.product_wrap>div:last-child {
	margin-bottom: 3rem;
	border-bottom: 1px solid #000;
}

.product {
	padding: 2rem 0;
	border-top: 1px solid #000;
}

.imgwrap {
	width: 17%;
	float: left;
	border: 1px solid #ccc;
}

.product ul {
	font-size: 1.4rem;
	float: right;
	width: 80%;
}

.product ul li {
	padding: 1.5rem 0;
	border-bottom: 1px dotted #ccc;
}

.product ul li:last-child {
	padding-bottom: 0;
	border: 0;
}

.product ul li>div:first-child {
	float: left;
}

.product ul li>div:last-child {
	padding-left: 10rem;
	font-weight: 300;
	color: #666;
}

.poduct_name {
	width: 26rem;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.option {
	font-size: 1.3rem;
}

.addr_btns {
	display: flex;
	justify-content: center;
	align-items: center;
}

.addr_btns li a {
	display: block;
	width: 30rem;
	padding: 1.5rem 0;
	text-align: center;
	font-size: 1.8rem;
	font-weight: 300;
	letter-spacing: -1px;
	background: #000;
	color: #fff;
}

.addr_btns li a span {
	color: #74c24e;
	padding-right: 1rem;
	letter-spacing: 0;
}

/* 전체 상품 쿠폰 팝업창 */
.coupon_content {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	overflow: hidden;
	z-index: 999;
	width: 45vw;
	max-width: 640px;
	min-width: 290px;
	background: #fff;
	border: 1px solid #999;
}

.coupon_select {
	position: relative;
	width: 100%;
	height: 50px;
	border-bottom: 1px solid #ccc;
	text-align: center;
}

.coupon_select>strong {
	display: block;
	line-height: 50px;
	font-size: 1.8rem;
}

.close {
	width: 20px;
	height: 20px;
	position: absolute;
	right: 14px;
	top: calc(50% - 10px);
	cursor: pointer;
}

.close:before,
.close:after {
	position: absolute;
	content: ' ';
	height: 20px;
	width: 2px;
	background-color: #333;
}

.close:before {
	transform: rotate(45deg);
}

.close:after {
	transform: rotate(-45deg);
}

.coupon_list {
	padding: 10px 1.4rem 10px 2.4rem;
	overflow-y: auto;
	height: 20vw;
	min-height: 300px;
}

.coupon_list li {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 1px solid #ddd;
}

.coupon_list div {
	margin: 10px 0;
}

.coupon_list div>strong {
	margin: 20px 0;
	font-size: 1.4rem;
	font-weight: normal;
}

.coupon_name {
	width: 70%;
	word-break: break-all;
}

.name_g {
	color: #777;
}

.select_btn {
	width: 24%;
	height: 4rem;
}

.select_btn>button {
	width: 100%;
	height: 100%;
	background-color: #000;
	border: none;
	color: #fff;
	font-weight: normal;
	font-size: 1.3rem;
}

button.coupon_g {
	background-color: #999;
}

.input_clear {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	padding: 10px 1rem 20px;
}

.a_input {
	width: 70%;
	height: 4rem;
}

.input_clear input {
	width: 100%;
	height: 100%;
	font-size: 1.4rem;
	color: #000;
	padding: 0 1rem;
	border: 1px solid #ccc;
	background: #fff;
	box-sizing: border-box;
}

.coupon_btn {
	width: 30%;
	height: 4rem;
}

.coupon_btn>button {
	width: 100%;
	height: 100%;
	color: #fff;
	border: none;
	background-color: #000;
	padding: .3rem 0;
	font-size: 1.3rem;
	font-weight: 400;
	cursor: pointer;
}

/**************** 기본 레이어 팝업 추가 ***************/
/**************** 비밀번호 변경 팝업 ***************/
.popup_wrap {
	display: none;
}

.layer_popup {
	position: fixed;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	overflow: hidden;
	z-index: 999;
	-webkit-overflow-scrolling: touch;
	width: 50rem;
	max-width: 100rem;
	background: #fff;
	border: 1px solid #0000003d;
	box-shadow: 0 15px 8px 5px rgba(0, 0, 0, 0.15);
}

.layer_popup .lpop_header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 4rem;
	padding: 0 4%;
	background: #efefef;
}

.lpop_title {
	font-size: 1.6rem;
	font-weight: 600;
}

.lpop_close {
	font-size: 2rem;
	line-height: 1;
}

.lpop_content table tbody {
	border-top: 2px solid #000;
}

.lpop_content table tr {
	border-bottom: 1px solid #000;
}

.lpop_content table tbody th {
	font-size: 1.2rem;
	font-weight: 600;
	word-break: keep-all;
	padding: 1.5rem 0;
	text-align: center;
	box-sizing: border-box;
}

.lpop_content table tbody td {
	box-sizing: border-box;
	padding: 1.5rem 4%;
	font-size: 1.2rem;
	font-weight: 400;
	word-break: keep-all;
}

.layer_popup input,
.layer_popup select {
	width: 18rem;
	height: 2.5rem;
	border: 1px solid #ccc;
	box-sizing: border-box;
	padding: 0 1rem;
	font-size: 1.2rem;
}

a.certi_btn {
	background-color: #999;
	color: #fff;
	padding: 0.2rem 0.7rem;
	margin-left: .5rem;
	font-size: 1.2rem;
	font-weight: 300;
	white-space: nowrap;
}

.lpop_footer .list_btns {
	margin: 1.5rem 4%;
	width: unset;
}

@media screen and (max-width:1024px) {
	.coupon_content {
		width: 65vw;
	}
}

@media screen and (max-width:768px) {

	/* 카트-쿠폰팝업창 */
	.pop_coupon ul li {
		width: 70%;
		margin: 0 auto;
	}

	.pop_coupon ul li div:last-child {
		text-align: left;
	}

	.layer_popup {
		max-width: 85%;
	}
}

@media screen and (max-width:640px) {
	.product_name {
		width: 100%;
		overflow: hidden;
		white-space: nowrap;
		text-overflow: ellipsis;
	}
}

/* 왜 있을까 */
@media screen and (max-width:560px) {

	/* .imgwrap{margin: 0 auto 2rem; float: none;} */
	.poduct_name {
		width: 100%;
	}

	.product_wrap>div:last-child {
		margin-bottom: 3rem;
	}

	.addr_btns li {
		width: 100%;
	}

	.addr_btns li a {
		width: 100%;
		font-size: 1.6rem;
		padding: 1.5rem 0;
	}


}

@media screen and (max-width:320px) {}