@charset "utf-8";

/* Living & Culture — 시공 갤러리 (0CD3258D) */

body.living-gallery-page #container.sub #contWrap {
	overflow: visible !important;
}

body.living-gallery-page #container.sub #contWrap #content {
	margin-left: 218px;
	padding-left: 29pt !important;
	padding-right: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 200px !important;
	width: calc(1070px + 29pt);
	box-sizing: border-box;
	border-left: 0 !important;
	overflow: visible !important;
}

body.living-gallery-page #container.sub.gallery #content > .customer-manual-head,
body.living-gallery-page #container.sub.gallery #content > .wrap.living-gallery-wrap {
	width: 100%;
	max-width: 1070px;
	margin-left: 0;
	margin-right: 0;
	box-sizing: border-box;
}

/* 1. Hero Visual 제거 */
body.living-gallery-page #container.sub.gallery #content > .top {
	display: none !important;
}

/* 2. 상단 구분선 (589C2D96 동일) */
body.living-gallery-page #container.sub.gallery #content > .customer-manual-head {
	margin: 0;
	padding: 0;
	border-top: 1px solid #d1d1d1 !important;
	border-bottom: 0 !important;
}

body.living-gallery-page #container.sub.gallery .customer-manual-head__title {
	width: 100%;
	max-width: 1040px;
	margin: 0 !important;
	padding: 18px 0 0 !important;
	border: 0 !important;
	background: none !important;
	font-family: "Pretendard", "Noto Sans KR", sans-serif;
	font-size: 20px;
	font-weight: 500;
	line-height: 1.4;
	color: #424242 !important;
	text-align: left;
	box-sizing: border-box;
}

body.living-gallery-page #container.sub.gallery #content > .wrap.living-gallery-wrap {
	max-width: 1040px !important;
	margin: 40px auto 0 !important;
	padding: 0;
}

/* 4. select — 타이틀 영역 하단 40px (searchContainer 중복 margin 제거) */
body.living-gallery-page #container.sub.gallery #content .searchContainer {
	display: flex;
	align-items: stretch;
	justify-content: flex-start;
	gap: 20px;
	width: 100%;
	margin: 0 !important;
	padding: 0;
	overflow: visible;
	box-sizing: border-box;
}

body.living-gallery-page #container.sub.gallery #content #searchContainer.searchContainer .select {
	flex: 1 1 auto;
	float: none;
	width: auto;
	max-width: none;
	margin: 0;
	padding: 13px 17px;
	box-sizing: border-box;
}

body.living-gallery-page #container.sub.gallery #content #searchContainer.searchContainer .select dl {
	display: flex;
	align-items: center;
	min-height: 32px;
	margin: 0 0 1px;
}

body.living-gallery-page #container.sub.gallery #content #searchContainer.searchContainer .select dl:last-child {
	margin-bottom: 0;
}

body.living-gallery-page #container.sub.gallery #content #searchContainer.searchContainer .select dl dt {
	position: static;
	flex: 0 0 125px;
	display: flex;
	align-items: center;
	justify-content: center;
	align-self: stretch;
	width: 125px;
	min-height: 32px;
	padding: 0;
	background-color: #f3f4f6;
	text-align: center;
	font-family: "Pretendard", "Noto Sans KR", sans-serif;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
	color: #2b2b2b;
	box-sizing: border-box;
}

body.living-gallery-page #container.sub.gallery #content #searchContainer.searchContainer .select dl dd {
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	min-height: 32px;
	padding: 0 0 0 25px;
	margin: 0;
	box-sizing: border-box;
}

body.living-gallery-page #container.sub.gallery #content #searchContainer.searchContainer .select dl dd ul {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin: 0;
	padding: 0;
	overflow: visible;
}

body.living-gallery-page #container.sub.gallery #content #searchContainer.searchContainer .select dl dd li {
	float: none;
	margin: 0 30px 0 0;
}

body.living-gallery-page #container.sub.gallery #content .searchContainer .btn {
	flex: 0 0 auto;
	float: none;
	display: flex;
	align-items: stretch;
}

/* 3. 검색 버튼 — select와 동일 높이 */
body.living-gallery-page #container.sub.gallery #content .searchContainer .btn button.search,
body.living-gallery-page #container.sub.gallery #content .searchContainer .btn button.search_story,
body.living-gallery-page #container.sub.gallery #content .searchContainer .btn button.search.search_story {
	width: auto;
	min-width: 127px;
	height: 100% !important;
	min-height: 100%;
	align-self: stretch;
	padding: 0 28px;
	border: 0;
	font-family: "Pretendard", "Noto Sans KR", sans-serif;
	font-size: 14px !important;
	font-weight: 500;
	line-height: 1;
	color: #646464 !important;
	background: #d8d8d8 !important;
	background-image: none !important;
	cursor: pointer;
	box-sizing: border-box;
}

/* 5. list — select 하단 40px */
body.living-gallery-page #container.sub.gallery #content .list {
	margin: 40px 0 0 !important;
	padding: 0;
}

body.living-gallery-page #container.sub.gallery #content .list .top_ {
	display: none !important;
}

/* 6. 2 x 4 그리드 — 480 x 340, 간격 40px */
body.living-gallery-page #container.sub.gallery #content .list ul {
	display: grid;
	grid-template-columns: repeat(2, 480px);
	column-gap: 40px;
	row-gap: 40px;
	width: 1000px;
	max-width: 100%;
	margin: 0;
	padding: 0;
	overflow: visible;
	list-style: none;
}

body.living-gallery-page #container.sub.gallery #content .list li {
	float: none;
	width: 480px;
	max-width: 100%;
	margin: 0;
	text-align: left;
}

body.living-gallery-page #container.sub.gallery #content .list li .img {
	width: 480px;
	max-width: 100%;
	height: 340px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

body.living-gallery-page #container.sub.gallery #content .list li p.title {
	margin: 12px 0 0;
	font-family: "Pretendard", "Noto Sans KR", sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.5;
	color: #424242;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

body.living-gallery-page #container.sub.gallery #content .list li p.date {
	display: none;
}

/* 7. 페이징 — 고객센터 리뉴얼 동일 */
body.living-gallery-page #container.sub.gallery #content .list .paging {
	margin: 30px 0 0;
	padding-top: 0;
	border-top: 0;
	text-align: center;
}

body.living-gallery-page #container.sub.gallery #content .list .paging em {
	display: inline-block;
	position: relative;
	height: 29px;
	margin: 3px;
	border: 1px solid #e8e8e8;
	vertical-align: bottom;
}

body.living-gallery-page #container.sub.gallery #content .list .paging em a {
	display: inline-block;
	padding: 8px 11px;
	font-family: "Pretendard", "Noto Sans KR", sans-serif;
	font-size: 14px;
	line-height: 13px;
	color: #bdbdbd;
	text-decoration: none;
}

body.living-gallery-page #container.sub.gallery #content .list .paging em.active a {
	background-color: #d8d8d8 !important;
	color: #424242 !important;
	font-weight: 500;
}

body.living-gallery-page #container.sub.gallery #content .list .paging em.arrow {
	width: 29px;
	height: 29px;
	background-repeat: no-repeat;
	background-position: 50% 50%;
}

body.living-gallery-page #container.sub.gallery #content .list .paging em.arrow a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding: 0 !important;
	margin: 0;
	border: 0;
	font-size: 0 !important;
	line-height: 0 !important;
	color: transparent !important;
	overflow: hidden;
	text-indent: -9999px;
	white-space: nowrap;
}

body.living-gallery-page #container.sub.gallery #content .list .paging em.arrow.first {
	background-image: url("/images/front/sub_obj_paging_first.jpg");
}

body.living-gallery-page #container.sub.gallery #content .list .paging em.arrow.prev {
	background-image: url("/images/front/sub_obj_paging_prev.jpg");
}

body.living-gallery-page #container.sub.gallery #content .list .paging em.arrow.next {
	background-image: url("/images/front/sub_obj_paging_next.jpg");
}

body.living-gallery-page #container.sub.gallery #content .list .paging em.arrow.last {
	background-image: url("/images/front/sub_obj_paging_last.jpg");
}

/* ─── 시공 갤러리 상세 팝업 (#popup_gallery) ─── */
.popup#popup_gallery.gallery-popup-renewal {
	width: 720px !important;
	margin-top: 50px !important;
	position: absolute !important;
	left: 50% !important;
	margin-left: -360px !important;
}

.popup#popup_gallery.gallery-popup-renewal .content {
	border: none !important;
	padding: 55px 30px 40px !important;
	background: #ffffff !important;
	overflow: visible;
	box-sizing: border-box;
	text-align: left;
}

.popup#popup_gallery.gallery-popup-renewal .close {
	top: 0;
	right: 0;
	width: 40px;
	height: 40px;
	background: none !important;
}

.popup#popup_gallery.gallery-popup-renewal .close a {
	font-size: 0;
	background: none !important;
}

.popup#popup_gallery.gallery-popup-renewal .close a::before {
	content: "×";
	display: block;
	width: 40px;
	height: 40px;
	font-family: "Pretendard", "Noto Sans KR", sans-serif;
	font-size: 28px;
	font-weight: 300;
	line-height: 40px;
	color: #424242;
	text-align: center;
}

.popup#popup_gallery.gallery-popup-renewal .gallery-popup-renewal__legacy,
.popup#popup_gallery.gallery-popup-renewal .box2 {
	display: none !important;
}

/* 메인 이미지 660 x 390 */
.popup#popup_gallery.gallery-popup-renewal .gallery-top {
	width: 660px;
	margin: 0 auto;
}

.popup#popup_gallery.gallery-popup-renewal .gallery-top .swiper-wrapper {
	align-items: center;
}

.popup#popup_gallery.gallery-popup-renewal .gallery-top .swiper-slide {
	width: 660px !important;
	height: 390px;
}

.popup#popup_gallery.gallery-popup-renewal .gallery-top .swiper-slide a {
	display: block;
	width: 660px;
	height: 390px;
}

.popup#popup_gallery.gallery-popup-renewal .gallery-top .swiper-slide img {
	display: block;
	width: 660px;
	height: 390px;
	object-fit: cover;
}

/* 시공사례 정보 — 이미지 하단 30px */
.popup#popup_gallery.gallery-popup-renewal .gallery-popup-renewal__info {
	margin: 30px 0 0;
}

.popup#popup_gallery.gallery-popup-renewal .gallery-popup-renewal__info-title {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	font-family: "Pretendard", "Noto Sans KR", sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: 21px;
	color: #606060;
}

.popup#popup_gallery.gallery-popup-renewal .gallery-popup-renewal__info-title em {
	display: none;
}

/* 정보 목록 — 타이틀 하단 15px, 글머리 기호 */
.popup#popup_gallery.gallery-popup-renewal .gallery-popup-renewal__info-list.dot {
	margin: 15px 0 0;
	padding: 0 0 0 18px;
	list-style: disc;
}

.popup#popup_gallery.gallery-popup-renewal .gallery-popup-renewal__info-list.dot li {
	margin: 0;
	padding: 0;
	background: none;
	font-family: "Pretendard", "Noto Sans KR", sans-serif;
	font-size: 14px;
	font-weight: 500;
	line-height: 21px;
	color: #8e8e8e;
	list-style: inherit;
}

.popup#popup_gallery.gallery-popup-renewal .gallery-popup-renewal__info-list.dot li + li {
	margin-top: 0;
}

/* 썸네일 — 정보 목록 하단 70px, 중앙 정렬 */
.popup#popup_gallery.gallery-popup-renewal .gallery-popup-renewal__thumbs {
	position: relative;
	width: 100%;
	max-width: 660px;
	margin: 70px auto 0;
	padding: 0;
	box-sizing: border-box;
}

.popup#popup_gallery.gallery-popup-renewal .gallery-thumbs.swiper-container {
	width: 640px !important;
	max-width: 100%;
	margin: 0 auto !important;
	padding: 0 !important;
	overflow: hidden;
	box-sizing: border-box;
}

.popup#popup_gallery.gallery-popup-renewal .gallery-thumbs .swiper-wrapper {
	box-sizing: border-box;
}

.popup#popup_gallery.gallery-popup-renewal .gallery-thumbs .swiper-slide {
	width: 120px !important;
	height: 120px !important;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	margin-left: 0 !important;
	box-sizing: border-box;
}

.popup#popup_gallery.gallery-popup-renewal .gallery-thumbs .swiper-slide:not(:last-child) {
	margin-right: 10px !important;
}

.popup#popup_gallery.gallery-popup-renewal .gallery-thumbs .swiper-slide span {
	display: block !important;
	width: 120px !important;
	height: 120px !important;
	margin: 0 !important;
	border: 0;
	outline: none;
	background-color: #f9f9f9;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	box-sizing: border-box;
}

.popup#popup_gallery.gallery-popup-renewal .gallery-thumbs .swiper-slide-thumb-active span {
	outline: 1px solid #cecece;
	outline-offset: -1px;
}

/* 쉐브론 — 제품 상세 팝업(#detail_renewal) 동일 */
.popup#popup_gallery.gallery-popup-renewal .gallery-popup-renewal__arrow {
	position: absolute;
	top: 42px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	margin-top: 0;
	font-size: 0;
	background: none !important;
	background-image: none !important;
	text-decoration: none;
	z-index: 3;
}

.popup#popup_gallery.gallery-popup-renewal .gallery-popup-renewal__arrow::before {
	content: "";
	display: block;
	width: 12px;
	height: 12px;
	border-top: 2px solid #999999;
	border-left: 2px solid #999999;
	box-sizing: border-box;
}

.popup#popup_gallery.gallery-popup-renewal .gallery-popup-renewal__arrow--prev {
	left: 0;
}

.popup#popup_gallery.gallery-popup-renewal .gallery-popup-renewal__arrow--prev::before {
	transform: rotate(-45deg);
	margin-left: 2px;
}

.popup#popup_gallery.gallery-popup-renewal .gallery-popup-renewal__arrow--next {
	right: 0;
}

.popup#popup_gallery.gallery-popup-renewal .gallery-popup-renewal__arrow--next::before {
	transform: rotate(135deg);
	margin-right: 2px;
}

.popup#popup_gallery.gallery-popup-renewal .gallery-popup-renewal__arrow:hover::before {
	border-color: #666666;
}

.popup#popup_gallery.gallery-popup-renewal .gallery-popup-renewal__arrow.swiper-button-disabled::before {
	border-color: #cccccc;
}

/* 안내 문구 — 썸네일 하단 40px, 중앙정렬 */
.popup#popup_gallery.gallery-popup-renewal .gallery-popup-renewal__notice {
	margin: 40px 0 0;
	padding: 0;
	font-family: "Pretendard", "Noto Sans KR", sans-serif;
	font-size: 14px;
	font-weight: 500;
	line-height: 21px;
	color: #8e8e8e;
	text-align: center;
}
