.regular_delivery {
	width: 100%;
	padding: 10px 0;
	position: relative;
}

.regular_delivery .regular_delivery_info {
	display: block;
	margin-bottom: 0;
}

.regular_pay_date.available::before,
.regular_pay_date:before {
	content: "결제일" !important;
	position: absolute !important;
	font-size: 14px !important;
	color: #000 !important;
	bottom: 0;
	left: 50%;
	transform: translate(-50%, -10px);
	width: 100%;
	text-align: center;
}

.regular_pay_date.available,
.regular_pay_date {
	background: #d2d8ff !important;
}

/* 정기배송 타이틀 및 설명 영역 */
.regular_delivery_info {
	width: 100%;
	background: #f9f9f9;
	border-radius: 15px;
	padding: 24px 30px;
	margin: 0 0 52px 0;
	position: relative;
}

.regular_delivery .img_regular_delivery {
	top: 3px;
}

.regular_delivery_info span {
	font-size: 18px;
	font-weight: bold;
	color: #000;
}

.regular_delivery_info > span {
	padding: 0 0 0 10px;
	margin: 0;
	text-align: left;
	line-height: normal;
	display: inline-flex;
}

.regular_delivery_info > p {
	font-size: 14px;
	color: #1f1f1f;
	font-weight: 500;
	margin-top: 14px;
	text-align: left;
	padding: 8px 0 0;
	margin: 0;
	display: block;
}

.regular_delivery_info > p:nth-child(3) {
	margin: 14px 0 0;
	margin: 0 auto;
}

.regular_delivery_info > p:nth-child(3) {
	margin: 14px auto 0;
}

.regular_delivery_info p > span {
	font-size: 14px;
	color: #ff3939;
}

.img_regular_delivery {
	width: 173px;
	padding: 8px 0;
	background: #fff;
	border-radius: 14px;
	display: inline-flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	position: relative;
	top: 14px;
	left: 0;
}

.img_regular_delivery > img {
	width: 42px;
	margin-right: 8px;
}

.img_regular_delivery p {
	font-size: 15px;
	color: #1f1f1f;
}

.img_regular_delivery > p > span {
	font-weight: 500;
	color: #1f1f1f;
}

.regular_delivery .tit {
	width: 100%;
	text-align: center;
	position: relative;
	height: 20px;
	margin: 52px 0 0 0;
}

.regular_delivery .tit > span {
	font-size: 24px;
	font-weight: bold;
	position: absolute;
	top: 0;
	left: 50%;
	transform: translate(-50%, 0);
	z-index: 3;
	text-shadow: -3px 0 #fff, 0 3px #fff, 3px -1px #fff, 1px -3px #fff;
}

.regular_delivery .tit > span:first-child:before {
	content: "";
	width: 34px;
	height: 34px;
	position: absolute;
	top: -20px;
	right: -20px;
	background: url(/content/images/ico_regular_delivery_tit.png) no-repeat center center;
	background-size: 34px 34px;
	z-index: -1;
}

.regular_delivery .tit p {
	font-size: 14px;
	color: #1f1f1f;
	padding-top: 40px;
}

.regular_delivery .tit p > span {
	color: #ff3939;
	text-decoration: underline;
}

.regular_delivery_notice {
	text-align: center;
	padding: 20px 0;
}

.popup_regular_delivery .regular_delivery_notice {
	padding: 45px 0 40px;
}

.regular_delivery_notice p {
	font-size: 1.6rem;
	color: #e80000;
}

.regular_delivery_notice .agree {
	position: relative;
	width: 100%;
	margin-top: 14px;
}

.popup_regular_delivery .regular_delivery_notice .agree {
	margin-top: 0;
}

.regular_delivery_notice .agree input[type="checkbox"] {
	display: none;
}

.regular_delivery_notice .agree input[type="checkbox"] + label {
	display: inline-block;
	width: 276px;
	height: 25px;
	background: url("/content/images/ico_regular_delivery_agree_off.png") no-repeat;
	background-size: 25px 25px;
	cursor: pointer;
	border-radius: 3px;
	line-height: 1.5;
	background-position: center left;
	padding-left: 10px;
}

.regular_delivery_notice .agree input[type="checkbox"] + label span {
	color: #b1b2b3;
	font-size: 1.6rem;
	display: block;
}

.regular_delivery_notice .agree input[type="checkbox"]:checked + label {
	background: url("/content/images/ico_regular_delivery_agree_on.png") no-repeat;
	background-size: 25px 25px;
	background-position: left center;
}

.regular_delivery_notice .agree input[type="checkbox"]:checked + label span {
	color: #8c53ff;
}

/* //////////////////////////////////////////////////////////////////////////////////////////////////////
	정기배송 레이어 팝업 Layer Popup
  //////////////////////////////////////////////////////////////////////////////////////////////////// */
.popup_regular_delivery {
	width: 604px;
	height: 842px;
	visibility: hidden;
	position: absolute;
	top: 260px;
	left: -60%;
	bottom: 0;
	z-index: 1020;
	margin-left: -40px;
	padding-bottom: 60px;
	border-radius: 20px;
	box-shadow: 0 12px 32px rgb(0 0 0 / 10%);
	transition: all 0.65s;
}

.popup_regular_delivery.on {
	left: -105%;
	transition: all 0.65s;
}

.popup_regular_delivery .wrap_close .btn_close {
	width: 40px;
	height: 40px;
	margin-right: 20px;
}

.popup_regular_delivery .wrap_table {
	width: 100%;
	margin: 0 0 10px;
}

.popup_regular_delivery .wrap_table tr.selectWeek01 {
	width: 100%;
}

.popup_regular_delivery .wrap_table tr td {
	width: calc(100% / 7);
	height: 78px;
	border: 1px solid #f8f8f8;
	position: relative;
}

.popup_regular_delivery .wrap_table tr td a {
	height: 78px;
	padding: 12px;
	display: block;
}

.popup_regular_delivery .wrap_table tr td span {
	background: transparent;
	display: block;
	height: 78px;
	color: #000;
}

/* Disabled */

.popup_regular_delivery .wrap_table tr > td:last-child a,
.wrap_table tr > td:last-child span {
	color: #2a74e2;
}

.popup_regular_delivery .wrap_table tr > td:first-child a,
.wrap_table tr > td:first-child span {
	color: #ff4e70;
}

.popup_regular_delivery.on .tit {
	font-size: 24px;
	font-weight: bold;
	margin: 0 0 20px;
	line-height: 36px;
	height: auto;
}

.popup_regular_delivery .desc {
	text-align: left;
	font-size: 14px;
	position: relative;
	margin: 0 0 6px;
	color: #000;
	padding-left: 10px;
}

.popup_regular_delivery .desc:before {
	content: "";
	width: 3px;
	height: 3px;
	position: absolute;
	background: #000;
	display: block;
	top: 0;
	left: 0;
	transform: translate(0, 7px);
}

.popup_regular_delivery .wrap_cost {
	margin: 40px 0 0 0;
}

.popup_regular_delivery .table_cost {
	font-size: 14px;
}

.popup_regular_delivery .table_cost thead {
	background-color: #695fbf;
}

.popup_regular_delivery .table_cost thead td {
	color: #fff;
	padding: 7px 4px;
	height: 32px;
	font-weight: 300;
}

.popup_regular_delivery .table_cost thead td:nth-child(4),
.popup_regular_delivery .table_cost thead td:nth-child(5) {
	min-width: 138px;
}

.popup_regular_delivery .table_cost td {
	border: 1px solid #fff;
	text-align: center;
	padding: 7px 15px;
}

.popup_regular_delivery .table_cost tbody td {
	padding: 8px;
}

.popup_regular_delivery .table_cost tbody td:nth-child(4),
.popup_regular_delivery .table_cost tbody td:nth-child(5) {
	text-align: left;
	padding-left: 4%;
}

.popup_regular_delivery .table_cost tbody tr:nth-child(2n) {
	background-color: #f9f9f9;
}

.popup_regular_delivery .table_cost tbody td:nth-child(3) {
	font-weight: 500;
}

.popup_regular_delivery .table_cost tbody td .discount {
	border-radius: 100px;
	background-color: #d9d9d9;
	padding: 1px 7px;
}

.regular_contents .detail_view_wrap {
	border-top: none;
}

.regular_contents .view_info .option_list .op_tit {
	line-height: unset;
}

.regular_contents .view_info .option_list .op_tit > span {
	display: inline-block;
	color: #1f1f1f;
	font-size: 16px;
	padding: 0;
	margin-left: -2px;
}

.regular_contents .view_info .option_list .op_tit > span:before {
	content: unset;
}

.regular_contents .view_info .option_list .op_tit > span.date {
	margin-left: 5px;
}

.regular_contents .btn_buy.regular {
	width: 100%;
	max-width: 570px;
	margin: 0 auto;
}

.popup_regular_delivery .mobile {
	display: none !important;
}

.popup_regular_delivery .btn_wrap.wrap_close {
	justify-content: center;
	background-color: unset;
	height: unset;
	flex-direction: column;
}

.popup_regular_delivery .btn_wrap.wrap_close button {
	background-image: unset;
	background-color: #b1b2b3;
	color: #fff;
	height: 50px;
	width: 150px;
	border: none;
	margin: 0;
}

.popup_regular_delivery .btn_wrap.wrap_close button.on {
	background-color: #8c53ff;
}

.regular_delivery_contents .item_list .prd_numbering {
	display: none;
}

.regular_delivery_content .event_content {
	max-width: 1200px;
	width: 100%;
	height: auto;
	margin: 0 auto;
}

.regular_delivery_contents .pagination {
	margin-top: 20px;
}

/* ======================================== ~ @media ======================================== */
@media screen and (max-width: 991px) {
	/* 정기배송 레이어 팝업 */

	.popup_regular_delivery {
		position: fixed;
		left: 0;
		right: 0;
		top: 0;
        bottom: 0;
        bottom: env(safe-area-inset-bottom);
		width: 100vw;
		height: 100vh;
		margin-left: 0;
		border-radius: 0;
		z-index: 10090;
	}

	.popup_layer.popup_regular_delivery .popup_contents {
		padding: 0 0 60px;
		overflow-y: scroll;
		height: calc(100vh - 40px);
		max-height: unset;
	}

	.popup_regular_delivery .tit {
		margin: 60px auto;
	}

	.popup_regular_delivery.on {
		left: 0;
	}

	.popup_regular_delivery .popup_contents {
		padding: 0;
	}

	.popup_regular_delivery.on .tit {
		font-size: 17px;
		font-weight: bold;
		margin: 25px 0 30px;
		line-height: 1;
		height: auto;
	}

	.popup_regular_delivery .table_cost tbody td {
		padding: 10px 6px;
	}

	.popup_regular_delivery .wrap_table {
		width: calc(100% - 40px);
		margin: 0 auto 15px;
	}
}

@media (max-width: 991px) {
	.popup_regular_delivery .desc {
		font-size: 14px;
		letter-spacing: -0.05rem;
		width: calc(100% - 40px);
		margin: 0 auto 10px;
		line-height: 1.38;
	}

	.popup_regular_delivery .mobile {
		display: block !important;
	}

	.detail_view_wrap .option_drop {
		top: 0;
	}

	.detail_view_wrap .option_drop {
		position: relative;
		top: 0;
		margin-top: -50px;
		transform: translateY(0);
	}
}

@media (min-width: 768px) and (max-width: 991px) {
	.regular_contents .view_top .view_info {
		height: auto;
	}

	/* 정기배송 */
	.regular_delivery_info {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		padding: 28px;
	}

	.img_regular_delivery {
		top: 22px;
		left: 0;
		padding: 6px 12px;
		border-radius: 10px;
	}

	.regular_delivery_info {
		margin: 0 0 80px 0;
	}

	.regular_delivery_info > p {
		font-size: 14px;
		line-height: 1.5;
	}

	.regular_delivery_info p > span {
		font-size: inherit;
	}

	.regular_delivery .tit > span {
		font-size: 1.8rem;
	}

	.regular_delivery .tit p {
		font-size: 1.3rem;
		padding-top: 60px;
	}

	.regular_delivery_notice p {
		font-size: 1.4rem;
	}

	.regular_delivery_notice .agree input[type="checkbox"] + label {
		width: 380px;
		height: 30px;
		line-height: 30px;
		background-position: calc(0% + 60px) center;
	}

	.regular_delivery_notice .agree input[type="checkbox"]:checked + label {
		width: 380px;
		height: 30px;
		background-position: calc(0% + 60px) center;
	}

	.regular_delivery_notice .agree input[type="checkbox"] + label span {
		font-size: 1.4rem;
	}
}

@media (max-width: 767px) {
	.popup_regular_delivery .table_cost thead td:nth-child(1) {
		min-width: 60px;
	}

	.popup_regular_delivery .table_cost thead td:nth-child(4),
	.popup_regular_delivery .table_cost thead td:nth-child(5) {
		min-width: 86px;
		height: 35px;
	}

	.popup_regular_delivery .table_cost tbody td {
		line-height: 1.4;
	}

	.popup_regular_delivery .desc {
		font-size: 13px;
	}

	/*  정기배송 레이어 팝업 - 모바일 (max 767px) */

	.popup_regular_delivery .wrap_table tr td {
		height: 62px;
	}

	.popup_regular_delivery .wrap_table tr td span {
		height: 62px;
		padding: 8px;
	}

	.popup_regular_delivery .wrap_table tr td a {
		padding: 8px;
		height: 62px;
	}

	.popup_regular_delivery .tit {
		font-size: 17px;
	}

	.popup_regular_delivery .wrap_cost {
		margin: 30px 0 0 0;
	}

	.popup_regular_delivery .table_cost {
		font-size: 0.8rem;
	}

	/* 모바일 정기배송 안내 */
	.regular_delivery {
		padding: 10px 20px;
	}

	.img_regular_delivery > p {
		font-size: 1rem;
	}

	.regular_delivery_info {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: normal;
		padding: 24px 20px;
	}

	.img_regular_delivery {
		top: 18px;
	}

	.regular_delivery .tit > span {
		font-size: 1.3rem;
	}

	.regular_delivery .tit > span:first-child:before {
		width: 28px;
		height: 28px;
		background-size: 28px 28px;
	}

	.regular_delivery_info span {
		font-size: 1.2rem;
		transform: translate(42px, 0);
	}

	.regular_delivery_info > p {
		font-size: 1rem;
		line-height: 1.5;
		font-weight: 400;
	}

	.regular_delivery_info p > span {
		font-size: 1rem;
		font-weight: 400;
	}

	.regular_delivery_notice {
		padding: 20px 20px;
	}

	.regular_delivery_notice p {
		font-size: 1rem;
	}

	.regular_delivery_notice .agree input[type="checkbox"] + label span {
		font-size: 1rem;
	}

	/* 모바일 정기배송 안내 */
	.regular_delivery {
		padding: 10px 20px;
	}

	.img_regular_delivery > p {
		font-size: 1rem;
	}

	.regular_delivery_info {
		padding: 24px 20px;
	}

	.img_regular_delivery {
		position: relative;
		top: unset;
		left: unset;
		margin-bottom: 18px;
	}

	.regular_delivery .tit > span {
		font-size: 17px;
	}

	.regular_delivery .tit > span:first-child:before {
		width: 17px;
		height: 17px;
		background-size: 17px auto;
		top: -9px;
		right: -10px;
	}

	.img_regular_delivery {
		width: 136px;
		height: 23px;
		padding: 4px 10px;
		border-radius: 10px;
		position: relative;
		top: 18px;
		left: 0;
		margin: 0 !important;
		transform: unset;
	}

	.regular_delivery .img_regular_delivery {
		top: 0;
	}

	.img_regular_delivery > img {
		width: 26px;
	}

	.img_regular_delivery > p {
		font-size: 12px;
		margin: 0;
		position: relative;
		top: 50%;
		transform: translateY(-40%);
	}

	.regular_delivery_info span {
		font-size: 14px;
		transform: none;
		display: inline-block;
	}

	.regular_delivery_info > span {
		padding-left: 8px;
	}

	.regular_delivery_info > p {
		font-size: 14px;
		line-height: 1.5;
		font-weight: 400;
		text-align: left;
		padding: 0;
	}

	.regular_delivery_info p > span {
		font-size: inherit;
		font-weight: 500;
		padding: 0 2px;
	}

	.regular_delivery_info p > span:first-child {
		padding-left: 0;
	}

	.regular_delivery_notice {
		padding: 20px 20px;
	}

	.regular_delivery_notice p {
		font-size: 1rem;
	}

	.regular_delivery_notice .agree input[type="checkbox"] + label span {
		font-size: 1rem;
	}

	.popup_regular_delivery .tit {
		margin: 40px auto;
	}

	.popup_regular_delivery .table_cost tbody td {
		padding: 10px 6px;
	}

	.popup_regular_delivery .table_cost {
		font-size: 11px;
	}

	.regular_contents .view_info .option_list .op_tit > span {
		font-size: 15px;
	}

	.regular_contents .view_info .option_list .op_tit > span.date {
		font-size: 15px;
	}

	.regular_delivery {
		padding: 30px 0px 20px;
	}

	.regular_delivery_info {
		margin-bottom: 30px;
	}

	.regular_delivery .tit p {
		font-size: 14px;
		padding-top: 32px;
	}

	.regular_delivery_notice p {
		font-size: 14px;
	}

	.regular_delivery_notice .agree input[type="checkbox"] + label span {
		font-size: 14px;
		line-height: 17px;
		height: unset;
	}

	.regular_delivery_notice .agree input[type="checkbox"]:checked + label,
	.regular_delivery_notice .agree input[type="checkbox"] + label {
		background-size: 17px 17px;
		background-position: 25px 0;
		/* padding-left: 20px; */
		line-height: 1;
	}

	.regular_delivery .regular_delivery_notice .agree {
		margin-top: 10px;
	}

	.popup_regular_delivery .btn_wrap.wrap_close {
		margin: 30px 0 0;
	}

	/* regular_delivery_content */
	.regular_delivery_content > .container_banner {
		padding: 0;
	}
}

@media (min-width: 481px) and (max-width: 767px) {
	.regular_contents .view_top .view_info {
		height: auto;
	}
}

@media (max-width: 480px) {
	.popup_regular_delivery .table_cost tbody td:nth-child(4),
	.popup_regular_delivery .table_cost tbody td:nth-child(5) {
		padding-left: 2%;
	}

	.regular_contents .view_top .view_info {
		height: auto;
	}

	.regular_delivery_notice .agree input[type="checkbox"] + label span {
		font-size: 14px;
		line-height: 17px;
	}
}
