@charset "utf-8";
@import url('./reset.css');
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

/* ============== variables ==============  */
:root{

	/* coler */

	--white: #fff;
	--black: #000;

    --text-default: #333333;
    --input-placeholder: rgba(51,51,51,0.7);

	--bg-default: #0b1439;
	--bg-footer: #f3f3f4;
	--bg-btn-01: #e4e7e8;
	--bg-btn-02: #0d1741;  /* 250611 수정 */
	--bg-btn-disabled: #6c6f78; /* 250611 수정 */
	--bg-checkbox: #f2f2f2;
	--bg-receipt: #f5f6f7;


	--border-default: #2d2f34;
	--border-input: #dfe2e9;
	--border-underbar: #bcbcbc;
	--border-receipt: #dfe2e9;
	

    /* font */
    --font-family: 'Pretendard';

    /* font-size */
    --font-size-12: 0.75rem; /* 12px */
    --font-size-13: 0.813rem; /* 13px */
    --font-size-14: 0.875rem; /* 14px */
    --font-size-16: 1rem; /* 16px */
    --font-size-18: 1.125rem; /* 18px */
    --font-size-20: 1.25rem; /* 20px */
    --font-size-21: 1.313rem; /* 21px */
    --font-size-22: 1.375rem; /* 22px */
    --font-size-24: 1.5rem; /* 24px */
    --font-size-26: 1.625rem; /* 26px */
    --font-size-28: 1.75rem; /* 28px */
    --font-size-30: 1.875rem; /* 30px */
    --font-size-32: 2rem; /* 32px */
    --font-size-36: 2.25rem; /* 36px */
    --font-size-38: 2.375rem; /* 38px */
    --font-size-40: 2.5rem; /* 40px */
    --font-size-46: 2.875rem; /* 46px */
    --font-size-50: 3.125rem; /* 50px */

    /* font-size */
    --font-w-light: 300;
    --font-w-normal: 400;
    --font-w-medium: 500;
    --font-w-semibold: 600;
    --font-w-bold: 700;
    --font-w-exbold: 800;

    /* padding */
    --main-p: 30px;

    /* modal */
    --modal-color: #000000;
    --modal-bg-overlay: rgba(0,0,0,0.12);
}

/* ============== common ============== */

html {
	font-size: 16px;
}

/* 240809 수정 */
body {
	margin: 0 auto;
    width: 100%;
	height: auto;
	background-color: var(--white);
	background-color: #ccc;
    font-family: var(--font-family), -apple-system, "Malgun Gothic", "맑은 고딕", helvetica, "Apple SD Gothic Neo", sans-serif;
    font-size: var(--font-size-14);
    font-weight: 400;
    line-height: 1;
	word-wrap: break-word;
    overflow-x: hidden;
	overflow-y: auto;
	color: var(--text-default);
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.d-flex {
	margin-bottom: 10px;
	display: flex;
	align-items: center;
}

.inline-list li {
	display: inline-block;
	margin-bottom: 5px;
	margin-right: 30px;
}

.inline-list li:last-child {
	margin-right: 0;
}

/*  row  */
.row {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	margin: 0 -5px;
	width: calc(100% + 10px);
}

.row::after {
	content: '';
	display: block;
	clear: both;
}

.col {
	padding: 0 5px;
}

.col-2 { width: 50%; }
.col-3 { width: 33.3333%; }
.col-4 { width: 25%; }

.row-sm {
	margin: 0 -2.5px;
	width: calc(100% + 5px);
}

.row-sm .col {
	padding: 0 2.5px;
}

/*  input_style  */
input[type=text],
input[type=password],
input[type=tel],
input[type=number],
input[type=email],
select { 
	padding: 0 15px;
	width:100%;
	height:100%;
	background-color: transparent;
	border: 0;
	font-size: inherit;
	font-weight: inherit;
	color:var(--text-default);
	appearance: none;
	-moz-appearance: none;
	-webkit-appearance: none;
}

/* placeholder color */
input::-ms-input-placeholder,
input::-webkit-input-placeholder,
input::-moz-placeholder,
textarea::-ms-input-placeholder,
textarea::-webkit-input-placeholder,
textarea::-moz-placeholder { color: var(--input-placeholder);}

.custom-input {
	position: relative;
	margin-bottom: 10px;
	width: 100%;
	height: var(--font-size-40);
	background-color: var(--white);
	border-radius: 4px;
	border: 1px solid var(--border-input);
	font-size: var(--font-size-14);
	overflow: hidden;
}

.custom-input-sm {
	width: 218px;
}

/* checkbox */

.custom-checkbox {
    display: inline-block;
    width: fit-content;
}

.custom-checkbox input + span {
	position: relative;
    display: inline-block;
    padding-left: 29px;
	font-weight: var(--font-w-semibold);
	line-height: 20px;
}

/* 240715 접근성 수정 */
.custom-checkbox input:focus + span,
.custom-checkbox input:focus-visible + span {
	outline: 5px auto -webkit-focus-ring-color;
}

.custom-checkbox input + span::before,
.custom-checkbox input + span::after {
    content: '';
    display: block;
    position: absolute;
}

.custom-checkbox input + span::before {
	top: 0;
    left: 0;
	width: 20px;
	height: 20px;
	background-color: var(--bg-checkbox);
	border-radius: 100%;
}

.custom-checkbox input + span::after {
    top: 6px;
    left: 4px;
    width: 12px;
    height: 8px;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url('../img/i-checkbox.png');
}

.custom-checkbox input:checked + span::before {
	background-color: var(--border-default);
}

.custom-checkbox input:checked + span::after {
	background-image: url('../img/i-checkbox_act.png');
}

.custom-checkbox2 {
	display: inline-block;
	width: 70px;
	height: 24px;
	font-size: 12px;
	background-color: #f3f5f6;
	border: 1px solid var(--border-input);
	border-radius: 30px;
	text-align: center;
	line-height: 22px;
}

.toggle-radio input + span {
	display: block;
	width: 100%;
	border: 1px solid var(--border-input);
	border-radius: 4px;
	font-size: var(--font-size-14);
	line-height: var(--font-size-38);
	text-align: center;
}

.toggle-radio input:checked + span {
	border-color: var(--border-default);
	font-weight: var(--font-w-bold);
}

.checkbox-list li {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 10px;
}

.checkbox-list li:last-child {
	margin-bottom: 0;
}

/* s :: 240531 수정 */
.checkbox-list li a {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 90px;
	height: 24px;
	border: 1px solid var(--border-input);
	border-radius: 2px;
	font-size: var(--font-size-12);
	font-weight: var(--font-w-medium);
	line-height: 1;
	text-align: center;
}

.checkbox-list li a::after {
	content: '';
	display: block;
	margin-left: 10px;
	width: 4px;
	height: 8px;
	background-position: center;
	background-repeat: no-repeat;
	background-size: 100% 100%;
	background-image: url('../img/i-go.png');
}

/* e :: 240531 수정 */

.input-box {
	margin: 0 -2.5px;
}

.nice-select {
	cursor: pointer;
	position: relative;
	width: 100%;
	height: 40px;
	background-color: var(--white);
	border: 1px solid var(--border-input);
	border-radius: 4px;
	font-size: var(--font-size-14);
}

/* 240802 수정 */
.nice-select.disabled {
	cursor: default;
	background-color: #eeeff3;
	color: #999999;
	pointer-events: none;
}

.nice-select:active, .nice-select.open {
	border: none;
}

.nice-select .current {
	display: flex;
	position: relative;
	width: 100%;
	padding: 0 15px;
	padding-right: 30px;
	line-height: 40px;
}

.nice-select .current:after {
	content: '';
	display: block;
	position: absolute;
	top: calc(50% - 4.5px);
	right: 15px;
	width: 13px;
	height: 9px;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	background-image: url('../img/i-select.png');
	transition: all 0.15s ease-in-out;
}

.nice-select.open .current:after {
	opacity: 0;
}

/* s:: 240628 수정 */
.nice-select.open .list {
	max-height: 240px;
	height: fit-content;
	opacity: 1;
	pointer-events: auto;
	-webkit-transform: scale(1) translateY(0);
	-ms-transform: scale(1) translateY(0);
	transform: scale(1) translateY(0);
	overflow-y: auto;
}

.nice-select .list {
	pointer-events: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 0;
	background-color: var(--white);
	border: 1px solid var(--border-input);
	border-radius: 4px;
	opacity: 0;
	padding: 0;
	overflow: hidden;
	-webkit-transition: all 0.2s cubic-bezier(0.5, 0, 0, 1.25);
	transition: all 0.2s cubic-bezier(0.5, 0, 0, 1.25);
	z-index: 9;
}

.nice-select .list:hover .option:not(:hover) {
	background-color: transparent !important;
}

.nice-select .option {
	cursor: pointer;
	font-weight: 400;
	line-height: 40px;
	list-style: none;
	min-height: 40px;
	outline: none;
	padding-left: 18px;
	padding-right: 13px;
	text-align: left;
	-webkit-transition: all 0.2s;
	transition: all 0.2s;
}
/* e:: 240628 수정 */
.nice-select .option:hover, .nice-select .option.focus, .nice-select .option.selected.focus {
	background-color: #f6f6f6;
}

.nice-select .option.disabled {
	cursor: default;
	pointer-events: none;
	background-color: transparent;
}

.select-box-sm .nice-select {
	min-width: 148px;
	width: fit-content;
}

.select-box-xs .nice-select {
	width: 118px;
}

.select-box-xs .nice-select.open .list,
.select-box-sm .nice-select.open .list {
	max-height: 200px;
}

.select-box.essential-select .current {
	display: flex;
	align-items: center;
	position: relative;
	width: 100%;
	padding: 0 15px;
	padding-right: 30px;
	line-height: 40px;
}

.select-box.essential-select .current::before {
	content: '*';
	order: 2;
	display: block;
	margin-left: 4px;
	width: fit-content;
	height: fit-content;
	font-size: var(--font-size-14);
    line-height: 1;
    letter-spacing: -0.005em;
    color: #ff3701;
}

/*  btn_style  */

.btn {
	font-size: 18px;
	text-align: center;
	color: var(--white);
}

.btn.btn-01 {
	background-color: var(--bg-btn-01);
	color: var(--black);
}

.btn.btn-02 {
	background-color: var(--bg-btn-02);
}

.btn.btn-02:disabled {
	background-color: var(--bg-btn-disabled);
}

/* ============== modal ==============  */

.modal{
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 100px);
    overflow: hidden;
    z-index: -1000;
}

.modal.show {
	z-index: 1050;
}

.modal .modal-overlay {
    width: 100%;
    height: 100%;
    background-color: var(--modal-bg-overlay);
}

.modal .modal-content {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	padding: 25px var(--main-p);
    background-color: var(--white);
	border-radius: 20px 20px 0 0;
	transform: translateY(100%);
	transition: 0.3s 0.3s transform;
}

.modal .modal-content .btn-modal-close {
	width: 100%;
	height: 7.5rem;
	background-color: var(--bg-btn);
	border-radius: 1.875rem;
	font-size: var(--font-size-32);
	font-weight: var(--font-w-semibold);
	color: var(--white);
}

/* ============== skipNav ============== */

#skipNav{
	position:relative;
	z-index:9999;
}
#skipNav a {
	position: absolute;
	top: -200px;
	left:0;
	width: 100%;
	background-color: var(--white);
	font-size: var(--font-size-12);
	font-weight: var(--font-w-semibold);
	line-height: 30px; 
	color: var(--text-default);
	text-align: center;
}
#skipNav a:focus, 
#skipNav a:active{ top: 0;}

/* ============== header ============== */

.header {
	position: relative;
	display: flex;
	align-items: center;
	padding: 0 var(--main-p);
	height: 70px;
}

.header .header-inner {
	width: 100%;
}

.header .header-inner h1 {
	font-size: var(--font-size-22);
	font-weight: var(--font-w-bold);
}

.header .header-inner h1 img {
	max-height: 60px;
	height: auto;
}

.header .header-inner .btn-close {
	position: absolute;
	top: 50%;
    right: var(--main-p);
    margin-top: -8.5px;
	width: 18px;
	height: 17px;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	background-image: url('../img/i-close.png');
}

/* ============== footer ============== */

.footer {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
}

/* s :: 240606 수정 */

.footer .footer-btn {
	display: flex;
	padding: 0 var(--main-p);
}

.footer .footer-btn .btn {
	height: 60px;
	border-radius: 10px;
}

.footer .footer-btn .btn.btn-01 {
	flex: 0 0 auto;
	margin-right: 10px;
	width: 110px;
}

.footer .footer-btn .btn.btn-02 {
	flex: 1 1 auto;
}

/* e :: 240606 수정 */

.footer .footer-address {
	font-size: var(--font-size-13);
	text-align: center;
	line-height: 40px;
}

.footer-input {
	margin-bottom: 16px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.footer-input .custom-checkbox a {
	position: relative;
	padding-right: 24px;
	/* 240612 수정 */
}

.footer-input .custom-checkbox a::after {
	content: '';
	display: block;
	position: absolute;
	top: calc(50% - 4.5px);
	right: 0;
	width: 13px;
	height: 9px;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	background-image: url('../img/i-select.png');
}

.modal .footer-input .custom-checkbox a::after {
	transform: rotate(-180deg);
}

/* ============== wrap ============== */
/* 240809 수정 */
#wrap {
	position: relative;
	min-height: 100vh;
	height: 100%;
	padding-bottom: 140px;
	background-color: var(--white);
}

.container {
	padding: 0 var(--main-p);
}

/* ============== 구매정보 ============== */
.purchase-info {
	padding: 20px 0;
	background-color: var(--bg-default);
	color: var(--white);
}

.purchase-info h2 {
	margin-bottom: 5px;
	font-size: var(--font-size-13);
	font-weight: var(--font-w-bold);
}

.purchase-info p {
	font-size: var(--font-size-12);
}

.purchase-info .purchase-txt {
	display: flex;
	justify-content: space-between;
	align-items: center;
	min-height: 30px;
	margin-bottom: 7px;
}

.purchase-info .purchase-txt p:first-child {
	flex-shrink: 0;
	width: 55%;
	font-size: 18px;
	font-weight: var(--font-w-bold);
	line-height: 1.2;
}

.purchase-info .purchase-txt .purchase-price {
	font-size: var(--font-size-14);
}

.purchase-info .purchase-txt .purchase-price span {
	font-size: var(--font-size-26);
	font-weight: var(--font-w-bold);
}


/* ============== 구매방법 ============== */

.payment-method {
	padding: 24px 0 15px;
}

.payment-method h2 {
	margin-bottom: 12px;
	font-size: var(--font-size-14);
	font-weight: var(--font-w-bold);
}

.payment-method .select-box,
.payment-method .payment-btn-box li {
	margin-bottom: 10px;
}

.payment-method .select-box-sm {
	margin-bottom: 7px;
}

.payment-method .interest-free {
	position: relative;
	margin-bottom: 10px; /* 231109 추가 */
	padding-left: 23px;
	font-size: var(--font-size-13);
}

.payment-method .interest-free::before {
	content: '';
	display: block;
	position: absolute;
	top: calc(50% - 9px);
	left: 0;
	width: 18px;
	height: 18px;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	background-image: url('../img/i-exclamation.png');
}

.payment-method .payment-txt {
	position: relative;
	margin-bottom: 10px;
	padding: 8px 13px;
	background-color: #f3f5f6;
	border-radius: 4px;
	font-size: var(--font-size-12);
	line-height: 20px;
}

.payment-method .payment-txt span {
	text-decoration: underline;
	font-weight: var(--font-w-bold);
}

.payment-method .checkbox-box {
	margin-bottom: 10px;
}

.payment-method .checkbox-box .custom-checkbox2 {
	margin-left: 10px;
}

.payment-method .row .input-phone {
	width: 144px;
}

.d-flex h3 {
	flex-shrink: 0;
	flex-grow: 0;
	padding-right: 20px;
	min-width: 80px;
}

.d-flex h3 + div {
	flex-shrink: 1;
	flex-grow: 1;
}

.d-flex.row {
	flex-wrap: nowrap;
}

.d-flex .custom-input {
	margin-bottom: 0;
}

.underbar {
	padding: 0 5px;
	color: var(--border-underbar);
}

.payment-method .phone-num-box {
	padding-bottom: 5px;
	margin-bottom: 15px;
	border-bottom: 1px solid var(--border-input);
}

.payment-method .d-flex.card-box .col {
	padding: 0 2.5px;
}

.payment-method .d-flex.card-box .underbar {
	padding: 0;
}

.payment-method .d-flex.card-box .month-select {
	margin-bottom: 0;
	min-width: 72px;
}

.payment-method .d-flex.card-box .year-select {
	margin-bottom: 0;
	min-width: 100px;
}

/* 240802 수정 */
.payment-method .d-flex.card-box .install-select {
	max-width: 192px;
}

/* 에러 페이지 */
/* 240416 추가 */
.error {
	display: flex;
	flex-direction: column;
	max-height: calc(100% - 170px);
	height: 100%;
}

.error .error-content {
	float: 1 1 auto;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	height: 100%;
	text-align: center;
	color: #262626;
}

.error .error-content h2 {
	margin-bottom: 16px;
	font-size: var(--font-size-20);
	font-weight: var(--font-w-bold);
}

.error .error-content p {
	font-size: var(--font-size-14);
}

.error + .footer .footer-btn .btn {
	width: 100%;
}

/* 240606 추가 */

/* 결제수단 선택 버튼 */
.payment-btn-box li button {
	display: block;
	width: 100%;
	height: 38px;
	border: 1px solid var(--border-input);
	border-radius: 4px;
	font-size: var(--font-size-14);
	line-height: var(--font-size-38);
	background-position: center center;
    background-repeat: no-repeat;
	text-align: center;
}

.payment-btn-box li.act button {
	border-color: var(--border-default);
	font-weight: var(--font-w-bold);
}

.payment-btn-box li button {
	background-position: center center;
	background-repeat: no-repeat;
}

.payment-btn-box li.pay-item-01 button {
	background-size: 39px 11px;
	background-image: url('../img/img-kakaopay.png');
}

.payment-btn-box li.pay-item-02 button {
	background-size: 45px 14px;
	background-image: url('../img/img-toss.png');
}

.payment-btn-box li.pay-item-03 button {
	background-size: 72px 10px;
	background-image: url('../img/img-samsung.png');
}

.payment-btn-box li.pay-item-04 button {
	background-size: 49px 11px;
	background-image: url('../img/img-payco.png');
}

.payment-btn-box li.pay-item-05 button {
	background-size: 45px 13px;
	background-image: url('../img/img-skpay.png');
}

.payment-btn-box li.pay-item-06 button {
	background-size: 41px 14px;
	background-image: url('../img/img-lpay.png');
}

/* 240802 수정 */
.payment-btn-box li.pay-item-07 button {
	background-size: 50px 17px;
	background-image: url('../img/img-npay.png');
}

/* 현금영수중 체크박스 */

.receipt-box {
	display: none;
}

.receipt-box.show {
	display: block;
	margin-top: 15px;
	padding: 20px;
	padding-bottom: 12px;
	background-color: var(--bg-receipt);
	border-radius: 4px;
}

.receipt-box .inline-list {
	margin-bottom: 10px;
}

.receipt-box .inline-list li {
	margin-right: 20px;
}

.receipt-box .select-box {
	flex-wrap: nowrap;
	margin-bottom: 0;
}

.receipt-box .select-box > .col:first-child {
	flex: 0 0 auto;
	width: 120px;
}

.receipt-box .select-box > .col:last-child {
	flex: 1 1 auto;
}

.receipt-box .custom-input {
	position: relative;
	margin-bottom: 0;
	border-color: #b6b9c2;
}

.receipt-box .custom-input span {
	display: block;
	position: absolute;
	top: 6px;
	right: 6px;
	font-size: var(--font-size-14);
	line-height: 1;
	letter-spacing: -0.005em;
	color: #ff3701;
}

.receipt-box .custom-input.readoly {
	border-color: var(--border-input);
}

.receipt-box .receipt-content {
	width: 100%;
}

/* s :: 240618 수정 */

.receipt-box .receipt-content#tax-card .col {
	padding: 0 3px;
}

.receipt-box .receipt-content#tax-card .custom-input input {
	padding: 0 5px;
}

/* e :: 240618 수정 */

/* radio */
/* 240715 접근성 수정 */
.custom-radio {
	position: relative;
    display: inline-block;
    width: fit-content;
}

.custom-radio input + span {
	position: relative;
    display: inline-block;
    padding-left: 22px;
	font-size: var(--font-size-13);
	line-height: 16px;
}

/* 240715 접근성 수정 */
/* 240715 접근성 수정 */
.custom-radio input:focus + span,
.custom-radio input:focus-visible + span {
	outline: 5px auto -webkit-focus-ring-color;
}

.custom-radio input + span::before,
.custom-radio input + span::after {
    content: '';
    display: block;
    position: absolute;
}

.custom-radio input + span::before {
	top: 0;
    left: 0;
	width: 16px;
	height: 16px;
	background-color: var(--white);
	border: 1px solid var(--border-receipt);
	border-radius: 100%;
}

.custom-radio input + span::after {
    top: 5px;
    left: 5px;
    width: 8px;
    height: 8px;
	border-radius: 100%;
	background-color: var(--border-default);
    opacity: 0;
}

.custom-radio input:checked + span::before {
	border-color: var(--border-default);
}

.custom-radio input:checked + span::after {
	opacity: 1;
}

/* ============== tab ==============  */

.tab-content .tab-pane {
    display: none;
}
.tab-content .tab-pane.act {
    display: block;
}

.hide {
	display: none;
}

/* border */
.border {
	margin-top: 15px;
	padding-top: 15px;
	border-top: 1px solid var(--border-input);
}

/* s :: 240618 수정 */

.pass-box .col h3 {
	padding-right: 0;
	min-width: initial;
	width: fit-content;
}

.pass-box .col .custom-input {
	width: 100px;
}

.pass-box .col .custom-input input {
	padding: 0 8px;
}

.pass-box .col:last-child .custom-input {
	width: 160px;
}

/* e :: 240618 수정 */

/* 240802 추가 */

.naver-payment {
	display: none;
	margin-top: 0;
}

.naver-payment h3 {
	margin-bottom: 18px;
}

.naver-payment > .custom-radio + .custom-radio {
	margin-left: 86px;
}

.naver-payment .tab-pane > p {
	margin-top: 20px;
	margin-bottom: 10px;
	font-weight: var(--font-w-semibold);
}

/* 카드 등록 페이지. */

.card-input .header {
	border-bottom: 1px solid var(--border-input);
}
.card-input .header .header-inner h1 {
	font-size: var(--font-size-20);
}
.card-input .payment-method {
	padding-top: 32px;
}
.card-input .custom-radio {
	display: inline-flex;
	align-items: center;
	height: 40px;
}

.card-input .col:nth-child(2) .custom-radio {
	margin-left: 60px;
}

.card-input .footer {
	padding-bottom: 40px;
}