@charset "utf-8";
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');
@import url('https://cdn.jsdelivr.net/npm/roboto-font@0.1.0/css/fonts.min.css');

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
	font-family:pretendard;
	letter-spacing:-0.5px;
    vertical-align: baseline;
	-webkit-font-smoothing: antialiased; /* 크롬, 사파리용 */
    -moz-osx-font-smoothing: grayscale; /* 파이어폭스용 */
    font-smoothing: antialiased;
}

article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

button {
	all: unset;
}

input::-webkit-input-placeholder {
  color: #ccc; /* 크롬, 사파리 */
}

input::-moz-placeholder {
  color: #ccc; /* 파이어폭스 */
}

input:-ms-input-placeholder {
  color: #ccc; /* 인터넷 익스플로러 */
}

input::-ms-input-placeholder {
  color: #ccc; /* 엣지 */
}

input::placeholder {
  color: #ccc; /* 기본 */
}

:root{
	--left-width:130px;
	--left-mobule-width:110px;
}

.strong {
	font-weight:bold;
}

body {
	background:#f4f4f4;
}

.wrap {
	max-width:540px;
	width: 100%;
	margin: 0 auto;
	background:#fff;
	box-shadow: 0 40px 60px rgba(0, 0, 0, 0.1);
	border-radius:0 0 20px 20px;
	/*
	position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
	*/
}

.container {
	width: 100%;
	padding:15px 30px 15px 30px;
}

.top {
	display:flex;
	align-items: center;
	margin:0px 0 5px 0;
}

.top .logo {
	height:25px;
}

.top .logo_text {
	margin:0 0 0 10px;
	font-family:pretendard;
	font-size:14px;
	letter-spacing:-1px;
	color:#999;
}

.top .freePlan {
	margin-left: auto;
	border:1px solid #999;
	color:#666;
	padding:3px 6px;
	font-family:dotum;
	font-size:11px;
	letter-spacing:-1px;
	border-radius:4px;
	cursor:pointer;
}

.top .freePlanArea {
	display:none;
	position:absolute;
	width:480px;
	height:445px;
	background:#f4f4f4;
	top:59px;
	max-height: 445px;
	border-radius:4px;
	overflow-y: auto;
	padding: 10px;
	margin:0;
	box-sizing: border-box;
	z-index:9999;
}

.top .freePlanArea .CloseArea {
	position:absolute;
	top:10px;
	right:17px;
}

.top .freePlanClose {
	position:relative;
	width:30px;
	height:30px;
	background:transparent;
	border:none;
	cursor:pointer;
	outline:none;
}

.top .freePlanClose::before,
.top .freePlanClose::after {
	content:'';
	position:absolute;
	top:50%;
	left:50%;
	width:100%;
	height:4px;
	border-radius:30px;
	background-color:#0d1229;
}

.top .freePlanClose::before {
	transform: translate(-50%, -50%) rotate(45deg);
}

.top .freePlanClose::after {
	transform: translate(-50%, -50%) rotate(-45deg);
}

.storeInfo {
	border:1px solid #d7d7d7;
	border-radius:4px;
}

.storeInfo ul {
	display:flex;
	font-size:15px;
	color:#222;
	letter-spacing:-0.5px;
}

.storeInfo ul:first-child {
	border-bottom:1px solid #f4f4f4;
}

.storeInfo li {
	display:flex;
	align-items: center;
	padding:10px;
}

.storeInfo li:first-child {
	width:var(--left-width);
	padding:0 0 0 15px;
}

.storeInfo .num {
	font-family:roboto;
}

.productInfo {
	margin-top:15px;
	border:1px solid #d7d7d7;
	border-radius:4px;
}

.productInfo ul {
	display:flex;
	font-size:15px;
	color:#222;
	letter-spacing:-0.5px;
	border-bottom:1px solid #f4f4f4;
}

.productInfo ul:last-child {
	border-bottom:0;
}

.productInfo li {
	display:flex;
	align-items: center;
	padding:10px;
}

.productInfo li:first-child {
	width:var(--left-width);
	padding:0 0 0 15px;
}

.productInfo .amount_minus,
.productInfo .amount_plus {
	border:1px solid #e7e7e7;
	border-radius:4px;
	color:#666;
	padding:0 6px;
	font-family:roboto;
	font-size:10px;
	letter-spacing:-0.5px;
	height:22px;
	box-sizing: border-box;
	cursor:pointer;
}

.productInfo .amount_input {
	border:1px solid #e7e7e7;
	border-radius:4px;
	padding:0 6px;
	width:40px;
	text-align:center;
	font-family:roboto;
	font-size:13px;
	letter-spacing:-0.5px;
	height:22px;
	box-sizing: border-box;
	margin:0 3px;
}

.productInfo .paySuccess {
	color:#029359;
	font-weight:bold;
}

.productInfo .payFail {
	color:#f14c59;
	font-weight:bold;
}

.productInfo li:nth-child(2) {
	width:320px;
	text-align:left;
}

.productInfo li .input_amt {
	border:1px solid #e7e7e7;
	border-radius:4px;
	padding:6px;
	width:80px;
	font-family:pretendard;
	font-size:14px;
	letter-spacing:-0.5px;
	margin:0 5px 0 0;
}

.productInfo input[type="checkbox"] {
	display: none;
}

.productInfo label[for="priceChangeCheckbox"] {
	display: inline-block;
	position: relative;
	padding-left: 25px;
	cursor: pointer;
	font-size: 15px;
	user-select: none;
	line-height: 20px;
}

.productInfo label[for="priceChangeCheckbox"]::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 20px;
	height: 20px;
	border: 1px solid #d7d7d7;
	border-radius: 4px;
	background: #fff;
	transition: border-color 0.2s;
}

.productInfo label[for="priceChangeCheckbox"]::after {
	content: "";
	position: absolute;
	left: 7px;
	top: 45%;
	transform: translateY(-50%) rotate(45deg);
	width: 6px;
	height: 12px;
	border: solid #90b251;
	border-width: 0 2px 2px 0;
	opacity: 0;
	transition: opacity 0.2s ease-in-out;
}

.productInfo input[type="checkbox"]:checked + label::after {
	opacity: 1;
}

.productInfo input[type="checkbox"]:checked + label {
	color: #90b251;
}

.ordInfo {
	margin-top:15px;
	border:1px solid #d7d7d7;
	border-radius:4px;
}

.ordInfo ul {
	display:flex;
	font-size:15px;
	color:#222;
	letter-spacing:-0.5px;
	border-bottom:1px solid #f4f4f4;
}

.ordInfo ul:last-child {
	border-bottom:0;
}

.ordInfo li {
	display:flex;
	align-items: center;
	padding:10px;
}

.ordInfo li:first-child {
	width:var(--left-width);
	padding:0 0 0 15px;
}

.ordInfo li .input_card {
	border:1px solid #e7e7e7;
	border-radius:4px;
	padding:6px;
	width:50px;
	font-family:pretendard;
	font-size:14px;
	letter-spacing:-0.5px;
}

.ordInfo li .input_ed {
	border:1px solid #e7e7e7;
	border-radius:4px;
	padding:6px;
	width:200px;
	font-family:pretendard;
	font-size:14px;
	letter-spacing:-0.5px;
}

.ordInfo li .input_email {
	border:1px solid #e7e7e7;
	border-radius:4px;
	padding:6px;
	width:200px;
	font-family:pretendard;
	font-size:14px;
	letter-spacing:-0.5px;
}

.ordInfo li .input_email_select {
	border:1px solid #e7e7e7;
	border-radius:4px;
	padding:5px;
	width:110px;
	font-family:pretendard;
	font-size:14px;
	letter-spacing:-0.5px;
	margin:0 0 0 5px;
}

.ordInfo--col {
	margin-top:15px;
	border:1px solid #d7d7d7;
	border-radius:4px;
}

.ordInfo--col ul {
	display: flex;
	flex-direction: column;
	font-size:15px;
	color:#222;
	letter-spacing:-0.5px;
	border-bottom:1px solid #f4f4f4;
}

.ordInfo--col ul:last-child {
	border-bottom:0;
}

.ordInfo--col li {
	width: 100%;
}
.ordInfo--col li:first-child {
	padding: 10px 15px 5px;
}
.ordInfo--col li:last-child {
	padding: 5px 15px 10px;
}

.ordInfo--col li .input_card {
	border:1px solid #e7e7e7;
	border-radius:4px;
	padding:6px;
	width:70px;
	font-family:pretendard;
	font-size:14px;
	letter-spacing:-0.5px;
}

.ordInfo--col li .input_ed {
	border:1px solid #e7e7e7;
	border-radius:4px;
	padding:6px;
	width:200px;
	font-family:pretendard;
	font-size:14px;
	letter-spacing:-0.5px;
}

.payInfo {
	margin:15px 0 0 0;
}

.payInfo .payment-box {
    width:100%;
    height:60px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:1px solid #d7d7d7;
    cursor:pointer;
    border-radius:4px;
    margin-bottom:0.5rem;
    font-size:15px;
    text-align:center;
    transition:background-color 0.3s, border-color 0.3s;
}

.payInfo .payment-box span {
	padding:0 0 0 5px;
}

.payInfo .payment-box img {
    max-width: 80%;
    max-height: 80%;
}

.payInfo {
	margin:15px 0 0 0;
}


.payInfo .payment-box.selected {
    border: 2px solid #000;
}

.payInfo .easy-payment-box {
	display:flex;
}

.payInfo .easy-payment-box .payment-box:not(:last-child) {
    margin-right: 10px;
}

.paySelect {
	margin:15px 0 0 0;
}

.paySelect .payment-box {
	width:100%;
	height:60px;
	display:flex;
	align-items:center;
	justify-content:left;
	padding: 0 0 0 15px;
	/*border:1px solid #d7d7d7;*/
	/*border: 2px solid #000;*/
	cursor:pointer;
	border-radius:4px;
	margin-bottom:0.5rem;
	font-size:15px;
	text-align:center;
	transition:background-color 0.3s, border-color 0.3s;

	color: #0d1229;
	border:1px solid #0d1229;
	font-weight: bold;

}

.paySelect .payment-box span {
	padding:0 0 0 5px;
}
.paySelect .payment-box .pay-desc {
	font-weight: normal;
}

.paySelect .payment-box img {
	max-width: 80%;
	max-height: 80%;
}

#totalPrice {
	font-family:roboto;
}

.btnPay {
	margin:10px 0 0 0;
}

.btnSubmit {
	border:0;
	border-radius:4px;
	width:100%;
	height:50px;
	text-align:center;
	color:#fff;
	font-weight:600;
	background-color: #0d1229;
	cursor: pointer;
	transition:background-color 0.3s, border-color 0.3s;
}

.btnSubmit:hover {
	background-color: #000;
}

.btnBack {
	margin:10px 0 0 0;
}

.goBackBtn {
	display: block;
	border:1px solid #d7d7d7;
	border-radius:4px;
	width:100%;
	height:50px;
	text-align:center;
	color:#000;
	font-weight:600;
	background-color: #fff;
	cursor: pointer;
	transition:background-color 0.3s, border-color 0.3s;
	text-decoration: none;
	align-content: center;
}

.endInfo {
	margin:15px 0 15px 0;
	color:#444;
}

.endInfo p {
	line-height:1.4em;
}

/* 무이자할부 관련 CSS */
.sub_title {
	width:90%;
	margin:0;
	padding:0 0 0 5px;
	font-size:14px;
}

.card_nofee {
	padding:10px 0 0 0;
	margin-bottom:10px;
	color:#444;
	width:90%;
}

.card_nofee ul {
	display:flex;
	margin-bottom:5px;
	padding:0 0 5px 0;
	border-bottom:1px solid #e7e7e7;
}

.card_nofee ul li {
	display:flex;
	align-items: center;
}

.card_nofee ul li img {
	max-height:18px;
}

.card_nofee ul li:nth-child(1) {
	margin:0 10px 0 0;
}

.card_nofee ul li:nth-child(2) {
	flex:1;
	justify-content: center;
}

.card_nofee ul li:nth-child(3) {
	min-width:100px;
	justify-content: center;
}

.card_nofee .img_box {
	width:80px;
	height:34px;
	border:1px solid #e7e7e7;
	background:#fff;
	border-radius:6px;
	display:flex;
	align-items: center;
    justify-content: center;
}

.card_halffee {
	padding:10px 0 0 0;
	margin-bottom:10px;
	color:#444;
	width:90%;
}

.card_halffee ul {
	display:flex;
	margin-bottom:5px;
	padding:0 0 5px 0;
	border-bottom:1px solid #e7e7e7;
}

.card_halffee ul li {
	display:flex;
	align-items: center;
}

.card_halffee ul li img {
	max-height:18px;
}

.card_halffee ul li:nth-child(1) {
	margin:0 10px 0 0;
}

.card_halffee ul li:nth-child(2) {
	flex:1;
	line-height:1.4em;
}

.card_halffee .img_box {
	width:80px;
	height:34px;
	border:1px solid #e7e7e7;
	border-radius:6px;
	background:#fff;
	display:flex;
	align-items: center;
    justify-content: center;
}

.card_half_infoText {
	width:95%;
	margin:10px auto;
	color:#666;
	line-height:1.4em;
	font-size:14px;
}

.infoMent {
	display:flex;
	margin:30px 0 30px 0;
	justify-content: center;
    align-items: center;
    flex-direction: column;
}

.infoMent p {
	font-size:24px;
	letter-spacing:-1px;
	text-align:center;
	margin:0 0 30px 0;
}

.infoMent li {
	font-size:20px;
	padding:0 0 5px 0;
	letter-spacing:-1px;
	color:#555;
}

.payAgree {
	margin:0 0 20px 0;
}

.payAgree .payAgreeAll {
	width:100%;
	border-bottom:1px solid #e7e7e7;
	padding:0 0 11px 0;
	margin:8px 0 5px 0;
}

.payAgree .payAgreeArea {
	display:flex;
	justify-content: space-between;
	align-items: center;
	margin:7px 0 0 0;
}

.payAgree .btnMore {
	background:#f4f4f4;
	padding:6px 10px;
	border-radius:4px;
	font-size:13px;
	cursor:pointer;
}

/* 체크박스 스타일 */
.payAgree label {
    display: flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    font-size: 15px;
	letter-spacing:-1px;
    user-select: none;
    position: relative;
}

/* 실제 체크박스 숨기기 */
.payAgree input[type="checkbox"] {
    position: absolute;
    width: 20px;
    height: 20px;
	color:#fff;
    opacity: 0; /* 투명하게 처리 */
    cursor: pointer;
}

/* 커스텀 체크박스 */
.payAgree .custom-checkbox {
    width: 18px;
    height: 18px;
    border: 1px solid #d7d7d7;
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

/* 체크되었을 때 */
.payAgree input[type="checkbox"]:checked + .custom-checkbox {
	border-color: #0d1229;
	background: #0d1229;
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><polyline points="3,9 7,13 13,5" stroke="white" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>');
	background-repeat: no-repeat;
	background-position: center;
	background-size: 70%;
}

.toast_blue {
	background: #deebfe;
	color: #1b64da;
	font-size: 14px;
	letter-spacing: -1px;
	border-radius: 6px;
	padding: 5px 7px 5px 6px;
	margin: 15px 0;
}

@media screen and (max-width: 768px) {
	body {
		background:#fff;
	}

	.wrap {
		max-width:540px;
		width: 100%;
		margin: 0 auto;
		background:#fff;
		box-shadow:0 0 0;
		border-radius:0;
	}

	.container {
		width: 100%;
		padding:15px 10px 15px 10px;
	}

	.ordInfo li {
		display:flex;
		align-items: center;
		padding:10px;
		flex-wrap: wrap;
	}

	.ordInfo li:nth-child(2) {
		width:220px;
		text-align:left;
	}

	.ordInfo li .input_email_select {
		border:1px solid #e7e7e7;
		border-radius:4px;
		padding:5px;
		width:110px;
		font-family:pretendard;
		font-size:14px;
		letter-spacing:-0.5px;
		background:#fff;
		color:#000;
		margin:0;
	}

	.ordInfo--col li .input_card {
		width: 20%;
	}

	.top .freePlanArea {
		display:none;
		position:absolute;
		width:95%;
		height:448px;
		background:#f4f4f4;
		top:59px;
		max-height: 448px;
		overflow-y: auto;
		padding: 10px;
		margin:0;
		box-sizing: border-box;
		z-index:9999;
	}

	.productInfo li:nth-child(2) {
		width:220px;
		text-align:left;
	}

	.payInfo .payment-box img {
		max-width: 70%;
		max-height: 70%;
	}

	.card_nofee ul li:nth-child(1) {
		width:90px;
		margin:0 10px 0 0;
	}
	
	.card_halffee ul li:nth-child(1) {
		width:90px;
		margin:0 10px 0 0;
	}
}