/**
************************************************************************************
* CSR       : http://clm.lge.com/issue/browse/BTOCSITE-102029
* CODE(live): Dev - EV00020681 , Prod - EV00008351
* CODE(test): Dev - EV00020881 , Prod - EV00008551
* FILE      : /kr/event/2025/09/01_pc_gwp/eventMainPcGwp.jsp
* DESC      : PC 구매/구독 사은품 신청 이벤트 페이지
* PROJ      : lge.co.kr 5.0
************************************************************************************
*							Modification History
************************************************************************************
* DATE						AUTHOR				DESCRIPTION
************************************************************************************
* 2025/08/13				신우용				Created
************************************************************************************
**/

/* 이벤트 상세 */
* {
	--width: 1380;
}
.evt-func {
	position: relative;
}
.popup-wrap .input-info {
    -webkit-transform: none !important;
}
/* 레이어 팝업 아코디언 */
.layer-pop .evt-acco-area{
	margin-top:24px;
}
.layer-pop .pop-conts.academy-pop .form-wrap .forms .conts .evt-acco-area .sn-number-wrap{
	padding:12px 24px;
}
.layer-pop .evt-acco-head{
	top: 12px;
    height: 27px;
    padding: 0 12px;
	z-index:1;
}
.layer-pop .evt-btn-area .evt-acco-btn{
	width:100%;
}
.layer-pop .evt-acco-cont{
	position: relative;
}
.layer-pop .evt-acco-cont:after{
	content:'';
	position: absolute;
	top: 10px;
	right: 16px;
	width: 32px;
	height: 32px;
	background: url(/lg5-common/images/icons/btn-down-16-black.svg) no-repeat 50% 50%;
	transition: all .3s;
}
.layer-pop .evt-acco-cont.unfolded:after{
	transform: rotate(180deg);
}

#confirmPopup .evt-hash-area, #confirmPopup .evt-hash-area > div{
	position: static;
}
#confirmPopup .copy-area + .copy-area{
	margin-top: 15px;
}
#confirmPopup #conCouponGram, #confirmPopup #conCouponNum{
	opacity: 0;
	position: absolute;
	z-index: -1;
	width: 1px;
	height: 1px;
	left: 0;
	top: 0;
	overflow: hidden;
	-webkit-touch-callout: none; /* iOS Safari에서 텍스트 호출을 막음 */
    -webkit-user-select: none; /* Chrome/Safari/Opera에서 텍스트 선택을 막음 */
    -khtml-user-select: none; /* Konqueror HTML에서 텍스트 선택을 막음 */
    -moz-user-select: none; /* Firefox에서 텍스트 선택을 막음 */
    -ms-user-select: none; /* Internet Explorer/Edge에서 텍스트 선택을 막음 */
    user-select: none; /* 표준 속성 */
}
#confirmPopup .btn-copy{
	display: flex;
	width: 140px;
	align-items: center;
	justify-content: center;
}
#confirmPopup .btn-copy span{
	display: inline-block;
	font-size: 14px;
}
#confirmPopup .btn-copy:after{
	content: '';
	display: inline-block;
	width: 16px;
	height: 16px;
	margin-left: 5px;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 100% auto;
	background-image: url('/lg5-common/images/icons/icon-copy-20.svg');
	vertical-align: middle;
}
#confirmPopup input[type="text"]::selection{
	background-color: transparent;
	-webkit-touch-callout: none; /* iOS Safari에서 텍스트 호출을 막음 */
    -webkit-user-select: none; /* Chrome/Safari/Opera에서 텍스트 선택을 막음 */
    -khtml-user-select: none; /* Konqueror HTML에서 텍스트 선택을 막음 */
    -moz-user-select: none; /* Firefox에서 텍스트 선택을 막음 */
    -ms-user-select: none; /* Internet Explorer/Edge에서 텍스트 선택을 막음 */
    user-select: none; /* 표준 속성 */
}

/* 응모완료 팝업 */
#couponRecivePop {
	max-width: 580px;
	border-radius: 0;
}
#couponRecivePop .mobile {
	display: none;
}
#couponRecivePop .pop-conts{
	overflow: hidden;
	position: relative;
	padding: 0;
	max-height: 610px;
}
#couponRecivePop .copy-area{
	position: absolute;
	width: 485px;
    height: 60px;
	top: 165px;
	left: 50%;
	transform: translateX(-50%);
	text-align: center;
}
#couponRecivePop .copy-area.url-type{
	top: 355px;
}

#couponRecivePop .copy-area div {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}
#couponRecivePop .copy-area input {
    opacity: 0;
    position: absolute;
    z-index: -1;
    width: 1px;
    height: 1px;
    left: 0;
    top: 0;
    overflow: hidden;
}
#couponRecivePop .copy-area input.gram-type{
	width: 100%;
	height: 100%;
	padding-top: 5px;
	background-color: transparent;
	font-family: 'Pretendard', sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.2;
	text-align: center;
	color: #888;
	opacity: 1;
	z-index: 1;
}
#couponRecivePop .copy-area button{
	position: absolute;
	width: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 2;
}
#couponRecivePop input[type="text"]:focus, #confirmPopup input[type="text"]:focus{
	outline: none;
}
#couponRecivePop input[type="text"]::selection{
	background-color: transparent;
	-webkit-touch-callout: none; /* iOS Safari에서 텍스트 호출을 막음 */
    -webkit-user-select: none; /* Chrome/Safari/Opera에서 텍스트 선택을 막음 */
    -khtml-user-select: none; /* Konqueror HTML에서 텍스트 선택을 막음 */
    -moz-user-select: none; /* Firefox에서 텍스트 선택을 막음 */
    -ms-user-select: none; /* Internet Explorer/Edge에서 텍스트 선택을 막음 */
    user-select: none; /* 표준 속성 */
}
#couponRecivePop .pop-conts .btn-group{
	position: absolute;
	width: 285px;
	height: 35px;
	bottom: 58px;
	left: 50%;
	transform: translateX(-50%);
	text-align: center;
}
#couponRecivePop .pop-conts .btn-group button{
	display: block;
	width: 100%;
	height: 100%;
}
#couponRecivePop.popup-wrap>.btn-close{
	top: 28px;
    right: 28px;
}

/* 바닥페이지 */
/* 공통 */
.c-divider {
    width: 100%;
    height: 8px;
    background-color: #e5e5e5;
    border: none;
}

.event-container * {
	font-family: 'Pretendard', sans-serif;
}

.event-container .article__inner {
    container-type: inline-size;
    container-name: article-inner-area;
    width: 100%;
    max-width: 1020px;
    margin: 0 auto;
    padding: 80px 10px;
    position: relative;
}
.event-container .c-title {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: calc(40 / 980 * 100%);
}
.event-container .c-title.gap12 {
    gap: 12px;
}
.event-container .c-title__num {
    font-size: 24px;
    line-height: 1.48;
    letter-spacing: -0.02em;
    font-weight: 600;
    color: #fff;
    padding: 5px 20px;
    background-color: #fd312e;
    display: inline-block;
    flex: 0 0 auto;
    width: auto;
    max-width: max-content;
    border-radius: 25px;
}

.event-container .c-title__main-title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.3;
    color: #111;
    letter-spacing: calc(-0.72em / 36);
  	text-align: left;
}

/* main KV */
.event-container .main-kv-video {
	width: 100%;
}
/* // main KV */

/* sticky tab */
.event-container .tabs-wrap {
	display: flex;
	position: sticky;
	top: 0;
	left: 0;
	right: 0;
	backface-visibility: hidden;
	background-color: #fff;
    justify-content: center;
	transform: translateZ(0);
	will-change: transform;
	z-index: 20;
}

.event-container .tabs-wrap:before {
	content: '';
	position: absolute;
	width: 100%;
	height: 1px;
	background: rgba(0, 0, 0, 0.2);
	left: 0;
	bottom: 0;
}
.event-container .tabs-wrap .tabs {
	display: flex;
	width: 100%;
	height: 90px;
	overflow-x: auto;
}
.event-container .tabs-wrap .tabs li {
	position: relative;
	margin-left: 0;
    flex: 1;
}
.event-container .tabs-wrap .tabs li:before {
	content: ' ';
	width: 100%;
	height: 8px;
	background-color: #000;
	position: absolute;
	left: 0;
	bottom: 0;
	display: none;
}
.event-container .tabs-wrap .tabs li a {
	position: relative;
	display: flex;
	align-items: center;
	height: 100%;
	width: max-content;
	text-align: center;
	font-family: 'Pretendard';
	font-size: 26px;
	line-height: 140%;
	letter-spacing: -0.04em;
	margin: 0 auto;
	color: #696969;
	font-weight: 600;
	min-width: 100%;
	justify-content: center;
}

.event-container .tabs-wrap .tabs li.on::before {
	display: block;
}
.event-container .tabs-wrap .tabs li.on a {
	font-weight: 600;
	color: #1a1a1a;
}

.ai_chat_slide .swiper-container{
	margin-top: calc(40 / 1380 * 100%);
}
.ai_chat_slide .swiper-wrapper {
	display: grid;
	grid-template-columns: repeat(2, minmax(calc((100% - 40px) / 2), auto)););
	gap: 40px;
}
.ai_chat_slide .swiper-slide{
	background: transparent;
}

.ai_chat_slide .swiper-container .swiper-pagination-bullets {
    display: none;
    position: relative;
    bottom: initial;
    padding-top: 32px;
    gap: 16px;
    justify-content: center;
}

/* 튤팁 */
.toggle_box {
	background-color: #fff;
	text-align: center;
}
.toggle_box img {
	display: block;
	margin: 0 auto;
}

.toggle_box .toggle_close {
	display: block;
}

.toggle_box .toggle_open {
	display: none;
}

.toggle_box .toggle_cont {
	display: none;
}

.toggle_box .toggle_btn {
	cursor: pointer;
	display: inline-block;
}

.toggle_box.on .toggle_close {
	display: none;
}

.toggle_box.on .toggle_open {
	display: block;
}

.toggle_box.on .toggle_cont {
	display: block;
}

.article_01 {
	position: relative;
	background-color: #efeded;
}
.article_02,
.article_03,
.article_04 {
	position: relative;
	background-color: #f8f7f5;
}

.gift_go_btn01 {
    position: absolute;
    top: 85.2%;
    left: 30%;
    width: 40%;
    height: 3.4%;
    z-index: 2;
}
.gift_go_btn02 {
    position: absolute;
    top: 90.4%;
    left: 30%;
    width: 40%;
    height: 3.4%;
    z-index: 2;
}

.gram_chat_cloud {
    position: absolute;
    top: 29.2%;
    left: 27.5%;
    width: 10.2%;
    height: 1.9%;
    z-index: 2;
}

.kakao_wrap {
	position: relative;
	max-width: 1380px;
	margin: 0 auto;
}
.kakao_wrap img {
	max-width: 100%;
}
.kakao_wrap .benefit {
	position: absolute;
	top: 71%;
	width: 35.5%;
	left: 13.8%;
	height: 13%;
	background: rgba(255, 0, 0, 0);
	z-index: 3;
}
.kakao_wrap .kakao {
	position: absolute;
	top: 71%;
	width: 35.5%;
	left: 50.7%;
	height: 13%;
	background: rgba(255, 0, 0, 0);
	z-index: 4;
}
.kakao_wrap a{
	display: block;
  	width: 100%;
    height: 100%;
}

@container article-inner-area (max-width: 999px) {
	.event-container .tabs-wrap .tabs li a {
		padding: 0 calc(40 / 999 * 100vw);
		font-size: 20px;
	}
}

@media screen and (max-width: 767px){
    * {
		--width: 720;
	}
    .popup-wrap .input-info {
       -webkit-transform: translate3d(0,0,0) !important;
    }

	#confirmPopup colgroup, #confirmPopup thead{
		display: none;
	}
	#confirmPopup td{
		position: relative;
		display: block;
		border-left: 0;
		padding-left: 140px;
	}
	#confirmPopup td:first-child{
		border-top: 1px solid #d8d8d8;
		border-right: 0;
	}
	#confirmPopup td:before{
		content:'모델명';
		display: flex;
		position:absolute;
		top:0;
		left:0;
		width: 130px;
		height: 100%;
		align-items: center;
		justify-content: center;
		background-color: #f4f4f4;
		z-index:1;
	}
	#confirmPopup td:nth-child(2):before{
		content:'제조번호(S/N)';
	}
	#confirmPopup td:nth-child(3):before{
		content:'참여일';
	}
    #confirmPopup td:nth-child(4):before{
		content:'사은품';
	}
	#confirmPopup .btn-copy{
		width: 100%;
	}
	#confirmPopup .btn-copy:after {
	    width: 3.8vw;
	    height: 3.8vw;
	}
    
    #couponRecivePop {
        left: 50% !important;
        top: 50% !important;
        height: auto;
        min-height: auto !important;
        transform: translate(-50%, -50%) !important;
        width: 90%;
    }
	#couponRecivePop .pc {
        display: none;
    }
    #couponRecivePop .mobile {
        display: block;
    }
    #couponRecivePop .pop-conts {
        max-height: calc(100% - 122px);
    }
    #couponRecivePop .copy-area {
        width: 80vw;
        height: 13.9vw;
        top: 40vw;
    }
    #couponRecivePop .copy-area.url-type {
        top: 99vw;
    }
    #couponRecivePop .copy-area input.gram-type {
        padding-top: 1vw;
        font-size: 4.2vw;
	}
    #couponRecivePop .pop-conts .btn-group {
        width: 42vw;
        height: 13.4vw;
        bottom: 11vw;
    }
	#couponRecivePop.popup-wrap>.btn-close {
        top: 16px;
        right: 16px;
    }

	.c-divider {
        height: calc(16 / 720 * 100vw);
    }
	.event-container .article__inner {
        padding: calc(80 / 720 * 100%) calc(48 / 720 * 100%);
    }
	.event-container .c-title {
        gap: calc(8 / 720 * 100vw);
        margin-bottom: calc(80 / 720 * 100%);
    }
	.event-container .c-title__num {
        font-size: calc(28 / 720 * 100vw);
        padding: calc(8 / 720 * 100vw) calc(32 / 720 * 100vw);
        background-color: #fd312e;
    }
	.event-container .c-title__main-title {
        font-size: calc(48 / 720 * 100vw);
        line-height: 1.3;
        letter-spacing: calc(-0.96em / 48);
    }

	.event-container .tabs-wrap {
        top: 56px;
    }
  	.header.helloBar~.mobile-nav-wrap ~ #content .event-container .tabs-wrap {
		top: 88px;
	}
    
    .event-container .tabs-wrap .tabs {
		height: calc(108 / 720 * 100vw);
      	padding: 0;
	}
	.event-container .tabs-wrap .tabs li:before {
        height: 4px;
    }
	.event-container .tabs-wrap .tabs li a {
		padding: 0 calc(32 / 720 * 100vw);
		color: #696969;
		text-align: center;
		font-size: calc(28 / 720 * 100vw);
		font-weight: 500;
		line-height: 1.4;
		letter-spacing: calc(-1.12em / 28);
	}

	.ai_chat_slide {
		padding: 0 0 0 calc(48 / 720 * 100vw);
	}
	.ai_chat_slide .swiper-container{
		margin-top: 0;
	}
	.ai_chat_slide .swiper-wrapper{
		display: flex;
		gap: 0;
	}
	.ai_chat_slide .swiper-slide {
		width: calc(580 / 720 * 100vw);
      	margin: 0 calc(48 / 720*100vw) 0 0;
	}
	.ai_chat_slide .swiper-container .swiper-pagination-bullets {
      	display: flex;
        gap: calc(16 / 720 * 100vw);
        padding-top: calc(32 / 720 * 100vw);
    }
	.ai_chat_slide .swiper-container .swiper-pagination-bullets .swiper-pagination-bullet {
        width: calc(14 / 720 * 100vw);
        height: calc(14 / 720 * 100vw);
      	margin: 0;
        border-radius: 50px;
        background-color: #d3d3d3;
        opacity: 1;
    }
	.ai_chat_slide .swiper-container .swiper-pagination-bullets .swiper-pagination-bullet-active {
        width: calc(30 / 720 * 100vw);
      	background-color: #181818;
    	opacity: 1;
    }

	.article_02_btn01 {
		position: absolute;
		width: 73.6%;
		height: 2.4%;
		top: 48%;
		left: 13.2%;
	}

	.article_02_btn02 {
		position: absolute;
		width: 73.6%;
		height: 2.4%;
		top: 95.1%;
		left: 13.2%;
	}
	.article_03_btn01 {
		position: absolute;
		width: 87.2%;
		height: 6.8%;
		top: 88.8%;
		left: 6.2%;
	}

	.article_02 .article__inner {
		padding-left: 0;
		padding-right: 0;
	}

	.article_02 .c-title {
		padding: 0 calc(48 / 720 * 100%);
		margin-bottom: calc(64 / 720 * 100%);
	}

	.gift_go_btn01 {
        position: absolute;
        top: 87.8%;
        left: 12%;
        width: 76%;
        height: 3.4%;
        z-index: 2;
	}
	.gift_go_btn02 {
        position: absolute;
        top: 92.9%;
        left: 12%;
        width: 76%;
        height: 3.4%;
        z-index: 2;
	}
	.gram_chat_cloud {        
      	position: absolute;
        top: 23.2%;
        left: 56.5%;
        width: 19%;
        height: 1.9%;
        z-index: 2;
	}

	.kakao_wrap {
		max-width: 100%;
	}
	.kakao_wrap .benefit {
		position: absolute;
		top: 67.7%;
		width: 42.4%;
		left: 6.7%;
		height: 13.8%;
		z-index: 3;
	}
	.kakao_wrap .kakao {
		position: absolute;
		top: 67.7%;
		width: 42.4%;
		left: 51.1%;
		height: 13.8%;
		z-index: 4;
	}
	/* // 튤팁 */
  
  	.article_02_box{
      margin: 0 calc(48/720*100vw) calc(80/720*100vw);
      background: #fff;
      border-radius: calc(24 / 720 * 100vw);
      overflow: hidden;
    }
	.toggle_box {
		background-color: transparent;
	}
	.toggle_box.on + .evt-func {
		display: none;
	}
	.toggle_box .toggle_btn {
      width: 100%;
      margin-bottom: calc(40/720*100vw);
	}
}