/* BASIC css start */
/* .js-load {
    display: none  !important;
}

.js-load:after {
    display: none;
} */

.js-load.active {
    display: inline-block !important;
}

.btn-wrap, .lists, .main {
    display: block;
}
#js-load .item-list dd {
	/* display: none; */
	font-size: 16px;
	color: #000;
	font-weight: 300;
	text-align: left;
	/* position: absolute; */
	bottom: 10px;
	background: #fff;
	/* width: 288px; */
	left: 10px;
	padding: 12px 0.6rem 12px;
    box-sizing:border-box
    
}        



#HOT_WRAP {
    margin-top: 90px;
}


/*메인레이아웃 공통*/

.main_section {
  width: 100vw;
  max-width: 1920px; /* 責 원하시는 최대 너비 제한 (예: FHD 해상도 기준) */
  position: relative;
  left: 50%;
  transform: translateX(-50%); /* 責 좌우 균등하게 가운데 정렬하는 마법의 코드 */
  
}
body {
  overflow-x: hidden; /* ◀ 가로로 삐져나오는 스크롤바 강제 제거 */
}
.main_section .swiper-slide{}
.main_section .swiper-slide a {display:block;width:100%}
.main_section .swiper-slide a img{width:100%}
#intDCP {
	font-family: 'Spoqa Han Sans';
	float: unset;
	margin-top: -7px;
}
.main_ban_wrap {
	/* width: 1310px; */
    width: 100%;
	margin: 0 auto;
	margin-top: 1.5rem;
	text-align: center;
}
.main_ban_wrap h2 {
	position: relative;
	text-align: left;
	font-family: 'Pretendard', sans-serif;
	font-size: 32px;
	font-weight: 800;
	color: #152836;
	letter-spacing: -1px;
}
.main_ban_wrap h2 p {
	display: inline-block;
	font-size: 13px;
	color: #838689;
	font-family: 'Spoqa Han Sans';
	font-weight: 500;
	letter-spacing: -1px;
	padding-left: 5px;
}
.main_ban_wrap h2 a {
	position: absolute;
	right: 0;
	bottom: 0;
	border: 1px solid #cecece;
	padding: 8px 16px;
	font-size: 14px;
	color: #6f6f6f;
	font-weight: 500;
	font-family: 'Malgun Gothic' !important;
	letter-spacing: -1px;
	border-radius: 23px;
	background: url(/design/ddmnail/mochi/img/more_btn.png) no-repeat;
	background-position: 16px 9px;
	text-indent: 19px;
}
.main_ban_wrap > div {
	letter-spacing: 0px;
	word-spacing: 0px;  /*width:105%;*/
	margin-bottom: 5px;
	margin-top: 30px;
	text-align: left;
}
.main_ban_wrap > div a {
	margin-right: 5px;
}

..main_ban_wrap .swiper-container-horizontal>.swiper-pagination-bullets, .swiper-pagination-custom, .swiper-pagination-fraction



/*메인빅배너*/

#mainBnr .main_roll_left_menu {
	position: relative;
	z-index: 1;
	width: 100%;
	overflow: hidden;
}

#mainBnr img {
    border-radius: 0;
}
#mainBnr .swiper-container {
	width: 100% !important;
}
#mainBnr .swiper-pagination-bullet {
	margin: 0 7px !important;
	cursor: pointer;
	opacity: 1 !important;
	width: 8px !important;
	height: 8px !important;
	border-radius: 10px !important;
	background: none;
	border: 2px solid #fff;
}
#mainBnr .swiper-pagination-bullet-active {
	background: #fff !important;
}
#mainBnr .swiper-pagination {
	bottom: 20px !Important;
}
#mainBnr .swiper-button-prev {
	opacity: 0;
	background: url(/design/ddmnail/mochi/img/prev_ico.png) no-repeat;
	height: 74px;
	width: 74px;
	background-size: contain;
}
#mainBnr .swiper-button-next {
	opacity: 0;
	background: url(/design/ddmnail/mochi/img/next_ico.png) no-repeat;
	height: 74px;
	width: 74px;
	background-size: contain;
}
#mainBnr .swiper-button-prev {
	left: 13%;
}
#mainBnr .swiper-button-next {
	right: 13%;
}
#mainBnr .swiper-button-next.swiper-button-disabled, #mainBnr .swiper-button-prev.swiper-button-disabled {
	cursor: pointer !important;
	pointer-events: inherit !important;
}
/*중간배너*/
.mid_bnr {
	font-size: 0
}
.mid_bnr li {
	display: inline-block;
	vertical-align: top;
	margin-right: 10px
}
.mid_bnr li:nth-child(4) {
	margin-right: 0
}
.mid_bnr li a {
	display: block;
}
.mid_bnr li a img {
	width: 100%;
    max-width:280px;
}






/*메인빅배너*/

#subBnr .main_roll_left_menu {
	position: relative;
	z-index: 1;
	width: 100%;
	overflow: hidden;
}

#subBnr img {
    border-radius: .4rem;
}
#subBnr .swiper-container {
	width: 100% !important;
}
#subBnr .swiper-pagination-bullet {
	margin: 0 7px !important;
	cursor: pointer;
	opacity: 1 !important;
	width: 8px !important;
	height: 8px !important;
	border-radius: 10px !important;
	background: none;
	border: 2px solid #fff;
}
#subBnr .swiper-pagination-bullet-active {
	background: #fff !important;
}
#subBnr .swiper-pagination {
	bottom: 20px !Important;
}
#subBnr .swiper-button-prev {
	opacity: 0;
	background: url(/design/ddmnail/mochi/img/prev_ico.png) no-repeat;
	height: 74px;
	width: 74px;
	background-size: contain;
}
#subBnr .swiper-button-next {
	opacity: 0;
	background: url(/design/ddmnail/mochi/img/next_ico.png) no-repeat;
	height: 74px;
	width: 74px;
	background-size: contain;
}
#subBnr .swiper-button-prev {
	left: 13%;
}
#subBnr .swiper-button-next {
	right: 13%;
}
#subBnr .swiper-button-next.swiper-button-disabled, #subBnr .swiper-button-prev.swiper-button-disabled {
	cursor: pointer !important;
	pointer-events: inherit !important;
}







/*인기상품*/
#HOT .item-list dd {
box-sizing:border-box;
	font-size: 16px;
	color: #000;
	font-weight: 300;
	text-align: left;
	position: absolute;
	/* bottom: -30px; */
	/* background: #fff; */
	/* width: 390px; */
    min-width: 200px;
	left: 50%;
    transform:translateX(-50%);
	padding: 10px 20px;
	/* box-shadow: -1px 4px 5px -1px #b3b3b3; */
}


#new_wrap .item-list dd {
box-sizing:border-box;
	padding: 10px 0.3rem;
}



#HOT dl.item-list{margin-bottom:60px; 
}

/*신상품*/

/* .New_sec dl{width:422px !important; box-sizing:border-box} */
.New_sec .swiper{overflow:hidden; position:relative}



#NEW .item-list dd {
	display: none;
	font-size: 16px;
	color: #000;
	font-weight: 300;
	text-align: left;
	position: absolute;
	bottom: 10px;
	background: #fff;
	width: 288px;
	left: 10px;
	padding: 16px 22px 16px;
    box-sizing:border-box
    
}
/*진열공통*/
.mainList {
	font-size: 0;
	padding-bottom: 80px !important;
}
.mainList .item-list {
    margin: 0;
    width: 20%;
}

#new_wrap .mainList .item-list .thumb{
    border-radius: 0.4rem;
    overflow: hidden;
    padding: 0 !important;
}

.mainList .item-list .thumb{
    padding: 0.5rem;
}

.box.hide {
	display: none
}
.mainList .item-list .thumb {
	position: relative;
}
.mainList .item-list .thumb .dc {
	text-align: center;
	position: absolute;
	top: 0;
	left: 0;
	height: 70px;
	line-height: 70px;
	width: 70px;
	background: #6b3590;
	color: #fff;
	font-size: 24px;
}
.mainList .item-list .thumb .dc em {
	font-size: 18px !important;
}
.mainList .item-list .thumb .dc.term {
}
.mainList .item-list .thumb .dc em:nth-child(3), .mainList .item-list .thumb .dc em:nth-child(4) {
	display: none !important
}
.mainList .item-list .thumb .dc em.num {
	font-size: 24px !important;
	display: inline-block;
	overflow: hidden;
}
.mainList .item-list .thumb .dc em.percent {
	font-size: 18px !important;
	display: inline-block;
	vertical-align: top;
	margin-top: 3px;
}
.mainList .item-list dd {
}
.mainList .item-list dd ul {
	
	vertical-align: top;
	display: inline-block;

}


.mainList .item-list dd ul li.prd-brand {
    color: #999;
    font-weight: 700;
    font-size: 12px;
}


.mainList .item-list dd ul li.prd-price {
    padding: 7px 0 7px;
	display: inline-block;
	color: #0d0d0d;
	font-size: 15px;
	font-family: lato;
	font-weight: 700;
}
.mainList .item-list img {
	width: 100%;
    border-radius: 0.35rem;
}
.mainList .item-list dd .discount {
	vertical-align: top;
	width: 80px;
	height: 80px;
	line-height: 80px;
	display: inline-block;
	background: #ff8e95;
	text-align: center;
	color: #fff;
}
.mainList .item-list dd .discount .dc {
	font-size: 40px;
	font-family: 'Roboto Condensed';
	font-weight: 600;
	letter-spacing: -2px;
}
.mainList .item-list dd .discount .dc em {
	font-size: 18px;
	font-family: "Nanum Gothic", sans-serif;
	vertical-align: middle;
	margin-bottom: -5px;
	display: inline-block;
	margin-left: 2px;
}
.mainList .item-list dd ul li.prd-consumer {
	color: #888888;
	font-size: 15px;
	font-family: lato;
	font-weight: normal;
	display: inline-block;
	padding-right: 4px;
}
.mainList .item-list dd ul li.dc {
	color: #94223e;
	display: inline-block;
	font-size: 22px;
	letter-spacing: -1px;
	font-weight: 800;
	margin-left: 5px;
}
.mainList .item-list dd ul li.dc em.num {
}
.mainList .item-list dd ul li.dc em.percent {
	font-size: 16px !important;
	font-weight: bold !important;
	margin-left: 2px;
}
.mainList .item-list dd .color {
	font-size: 0;
	position: absolute;
	right: 14px;
	top: 20px;
}
.mainList .item-list dd .color p {
	display: inline-block;
	vertical-align: top;
	margin-right: 4px;
	width: 15px;
	height: 15px;
}
.mainList .item-list dd .color p:last-child {
	margin-right: 0
}
.mainList .swiper-pagination {
	bottom: inherit !important;
	text-align: right;
	position: absolute;
	right: 10px !important;
	left: inherit;
}
.mainList .swiper-wrapper {
	padding-top: 50px;/*padding-left:65px; padding-right:65px;*/
}
.mainList .slick-dots li {
	position: relative;
	display: inline-block;
	width: 23px;
	height: 23px;
	margin: 0 3px;
	padding: 0;
	cursor: pointer;
	background: #d0d0d0;
	border-radius: 100%;
}
.mainList .slick-dots li.slick-active {
	background: #94223e !important;
}
.mainList .slick-dots li button {
	font-size: 13px !important;
	color: #fff !important;
	width: 23px;
	height: 23px;
	line-height: 23px;
	display: inline-block;
	padding: 0 !important;
}
.mainList .slick-track {
	margin-top: 25px;
}
.mainList .swiper-pagination-bullet:last-child {
	margin-right: 0;
}
.mainList .swiper-pagination-bullet-active {
	background: #94223e !important
}
.mainList .slick-dots li button:before {
	content: none !important;
}
.mainList .slick-dots {
	height: 30px;
	top: 0;
	text-align: right;
}
.mainList .slick-prev:before {
	content: '＜' !important;
}
.mainList .slick-next:before {
	content: '＞' !important;
}
.mainList .slick-prev, .mainList .slick-next {
	width: 35px !important;
	height: 35px !Important;
	top: 45% !important;
	border: 1px solid #eee;
	width: 50px !important;
	height: 50px !Important;
	background: #fff;
	border-radius: 100%;
}
.more_btn {
	text-align: center;
}
.more_btn a {
	background: url(/design/ddmnail/mochi/img/more.png) no-repeat;
	background-position: 45px;
	display: inline-block;
	color: #000000;
	font-size: 18px;
	font-family: 'Spoqa Han Sans';
	padding: 14px 10px;
	border: 1px solid #e5e4e7;
	margin: 0 auto;
	width: 165px;
	text-align: center;
	border-radius: 50px;
	text-indent: 10px;
}
/*이벤트*/
#event ul {
	font-size: 0;
}
#event li {
	display: inline-block;
	width: 32%;
	margin-right: 25px;
	vertical-align: top;
	vertical-align: top;
}
#event li:nth-child(3) {
	margin-right: 0;
}
#event li a {
	margin: 0;
	display: block;
}
#event a img {
	width: 100%
}
#event h3 {
	text-align: left;
	padding-top: 25px;
	font-size: 25px;
	color: #1f1f1f;
	letter-spacing: -2px;
}
#event p {
	font-size: 14px;
	color: #7d7d7d;
	padding-top: 10px;
	letter-spacing: -1px;
}
/*와이드배너*/
#wideBnr {
	margin-top: 90px;
}
#wideBnr a {
	display: block
}
#wideBnr a img {
	width: 100%;
}
/*인스타그램*/
#insta {
	/* width: 1310px; */
	margin: 0 auto;
	text-align: center;
	margin-top: 90px;
	padding-bottom: 130px;
}
}
#insta h2 {
	position: relative;
	letter-spacing: 0;
}
#insta p.side {
	font-size: 15px;
	color: #282828;
	font-family: lato;
	padding: 10px 0 35px;
}
#insta p.side img {
	padding-left: 7px;
	cursor: pointer;
	vertical-align: middle;
}
/*css가 잘리므로 마지막에 둔다*/
#mainBnr .swiper-button-next:after, #mainBnr .swiper-button-prev:after {
	font-family: inherit !important;
	font-size: 0
}
#mainBnr .swiper-button-next, #mainBnr .swiper-button-prev {
	top: 43% !important;
	-swiper-theme-color: #e6e6e6;
	margin-top: 0 !important;
}






#BEST {
    background: #fef9f9;
    border-radius: 0.8rem;
    padding: 0 1rem;
    margin-top: 90px;
}


#BEST .message h3 {
	position: relative;
	text-align: left;
	font-family: 'Pretendard', sans-serif;
	font-size: 32px;
	font-weight: 800;
	color: #152836;
	letter-spacing: -1px;
}

#BEST .message h3 p {
	display: inline-block;
	font-size: 13px;
	color: #838689;
	font-family: 'Spoqa Han Sans';
	font-weight: 500;
	letter-spacing: -1px;
	padding-left: 5px;
}

#BEST .message {
    padding: 2rem 0 1rem 0;
}

#BEST .mainList .item-list .thumb {
    padding: 0;
}

#BEST .mainList .item-list dd {
    margin: 1rem 0;
}

#BEST .mainList .item-list .thumb {
    border-radius: .4rem;
    overflow: hidden;
}

#BEST .mainList {
    padding-bottom: 1rem !important;
}












#MAGNET {
    background: #f9f9fe;
    border-radius: 0.8rem;
    padding: 0 1rem;
}

#magnet_wrap .item-list {
    margin-top: 15px;
}


#MAGNET .message h3 {
	position: relative;
	text-align: left;
	font-family: 'Pretendard', sans-serif;
	font-size: 32px;
	font-weight: 800;
	color: #152836;
	letter-spacing: -1px;
    display: inline-block;
}

#MAGNET .message p {
	display: inline-block;
	font-size: 13px;
	color: #838689;
	font-family: 'Spoqa Han Sans';
	font-weight: 500;
	letter-spacing: -1px;
	padding-left: 5px;
}

#MAGNET .message {
    padding: 2rem 0 1rem 0;
}

#MAGNET .mainList .item-list .thumb {
    padding: 0;
}

#MAGNET .mainList .item-list dd {
    margin: 1rem 0;
}

#MAGNET .mainList .item-list .thumb {
    border-radius: .4rem;
    overflow: hidden;
}

#MAGNET .mainList {
    padding-bottom: 1rem !important;
}
















#GLITTER {
    background: #f9f9fe;
    border-radius: 0.8rem;
    padding: 0 1rem;
}

#glitter_wrap .item-list {
    margin-top: 15px;
}


#GLITTER .message h3 {
	position: relative;
	text-align: left;
	font-family: 'Pretendard', sans-serif;
	font-size: 32px;
	font-weight: 800;
	color: #152836;
	letter-spacing: -1px;
    display: inline-block;
}

#GLITTER .message p {
	display: inline-block;
	font-size: 13px;
	color: #838689;
	font-family: 'Spoqa Han Sans';
	font-weight: 500;
	letter-spacing: -1px;
	padding-left: 5px;
}

#GLITTER .message {
    padding: 2rem 0 1rem 0;
}

#GLITTER .mainList .item-list .thumb {
    padding: 0;
}

#GLITTER .mainList .item-list dd {
    margin: 1rem 0;
}

#GLITTER .mainList .item-list .thumb {
    border-radius: .8rem;
    overflow: hidden;
}

#GLITTER .mainList {
    padding-bottom: 1rem !important;
}



/* 페이지네이션 컨테이너 (우측 하단 배치) */
.swiper-pagination-fraction {
  left: auto !important;
  right: 1.6rem !important;
  bottom: 0.8rem !important;
  width: auto !important;
  
  /* 필(Pill) 형태 디자인 */
  display: flex;
  align-items: center;
  gap: 10px; /* 좌우 숫자 사이 간격 */
  padding: 0.1rem 0.9rem;
  border-radius: 50px; /* 완벽한 라운드 */
  
  /* 색상 및 블러 효과 */
  background: rgba(30, 30, 30, 0.6); /* 어두운 회색 + 투명도 */
  backdrop-filter: blur(8px); /* 뒤 배경 블러 처리 */
  -webkit-backdrop-filter: blur(8px); /* 사파리 호환성 */
  
  color: #ffffff;
  font-family: 'Inter', sans-serif; /* 깔끔한 폰트 권장 */
  font-size: 0.77rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.1); /* 테두리에 아주 살짝 밝은 라인 추가 */
}


/* 현재 페이지 강조 */
.swiper-pagination-current {
  color: #fff;
}

/* 중간 구분선 (선택사항: 점이나 선으로 표현) */
.separator {
  width: 1px;
  height: 10px;
  background: rgba(255, 255, 255, 0.3); /* 연한 세로줄 */
}

/* 전체 페이지 */
.swiper-pagination-total {
  color: rgba(255, 255, 255, 0.6); /* 총 페이지는 살짝 흐리게 */
}














/* Pretendard 폰트 불러오기 (이미 적용되어 있다면 생략 가능) */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css");

.swiper-slide .slide-link {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    font-family: "Pretendard", "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
}

.swiper-slide .promo-img-box::after {
    border-radius: 1rem;
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    /* 아래쪽 40% 지점부터 서서히 블랙 톤이 짙어짐 
    background: linear-gradient(
        to bottom, 
        rgba(0,0,0,0) 0%, 
        rgba(0,0,0,0) 40%, 
        rgba(0,0,0,0.1) 60%, 
        rgba(0,0,0,0.6) 100%
    );*/
    pointer-events: none;
}

/* 텍스트 오버레이 정중앙 배치 */
.swiper-slide .text-overlay {
    position: absolute;
    top: 85%;
    left: 52%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: left;
    color: #fff;
    z-index: 10;
    padding: 0 20px;
    box-sizing: border-box;
}

/* 텍스트 오버레이 정중앙 배치 */
.swiper-slide .text-overlay-right {
    position: absolute;
    top: 85%;
    left: 48%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: right;
    color: #fff;
    z-index: 10;
    padding: 0 20px;
    box-sizing: border-box;
}

/* 텍스트 세부 스타일링 */
.swiper-slide .sub-title {
    font-size: 1.25rem; /* 모바일 기준 적당한 크기 */
    font-weight: 700;
    margin-bottom: 0px;
    letter-spacing: -0.02em;
    opacity: 0.9;
    color: #333;
    font-family: "Pretendard", "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
}

.swiper-slide .main-title {
    font-size: 1.5rem; /* 모바일 기준 강조 크기 */
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.03em;
    /* 텍스트에 살짝 그림자를 주어 가독성 높임 
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);*/
    color: #333;
    font-family: "Pretendard", "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
}

/* 이벤트 기간 스타일링 */
.swiper-slide .event-period {
    font-size: 1.1rem; /* 메인 타이틀(1.8rem)보다 작게 설정 */
    font-weight: 700;
    margin-top: 4px; /* 메인 타이틀과의 간격 */
    color: #333;
    opacity: 0.8; /* 약간 투명도를 주어 시각적 위계 조절 */
    letter-spacing: -0.02em;
}




/* 레이아웃 래퍼 */
.ohouse-wrapper {
    /* max-width: 768px; */
    margin: 90px auto;
    padding: 15px;
    box-sizing: border-box;
    font-family: 'Pretendard', sans-serif; /* 전체 폰트를 Pretendard로 설정 */
}

/* 상단 Swiper 영역 */
.ohouse-room-swiper {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}
.room-banner {
    position: relative;
    width: 100%;
}
.room-banner img {
    width: 100%;
    aspect-ratio: 1;
    display: block;
    object-fit: cover;
    border-radius: .4rem;
}

/* 이미지 내부 핀 고정 */
.room-banner .tag-pin {
    position: absolute;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: rgba(0, 187, 252, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 5;
}

/* 추가: 한 줄 소개 오버레이 */
.room-banner .introduce-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px; /* 오버레이 패딩 */
    box-sizing: border-box;
    background: rgba(170, 170, 170, 0.5); /* 반투명 배경 (0.5는 투명도) */
    backdrop-filter: blur(5px); /* 이미지 블러 효과 */
    -webkit-backdrop-filter: blur(5px); /* 사파리 브라우저용 */
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    z-index: 4; /* 핀보다 뒤에 오도록 설정 */
}

/* 추가: 한 줄 소개 텍스트 */
.room-banner .introduce-text {
    margin: 0;
    padding: 0;
    font-family: 'Pretendard', sans-serif; /* Pretendard 폰트 적용 */
    font-weight: 700; /* 단정한 느낌을 위해 Regular 가중치 */
    font-size: 13px; /* 폰트 크기 조절 */
    color: #fff; /* 텍스트 색상을 흰색으로 설정 (이미지 배경에 따라 조절 가능) */
    text-align: center; /* 단정한 중앙 정렬 */
    word-break: keep-all; /* 한글 단어가 끊기지 않도록 설정 */
    line-height: 1.4; /* 줄 간격 조절 */
}

/* 하단 상품 동적 컨테이너 */
.ohouse-product-sync-wrap {
    width: 100% !important;
    position: relative;
    z-index: 50;
    clear: both;
    margin-top: 15px;
}

/* 인덱스별 상품 그룹 제어 */
.product-sync-group {
    display: none; /* 기본 숨김 */
}
.product-sync-group.active {
    display: block; /* 활성화 시 노출 */
    animation: ohouseFadeIn 0.3s ease-in-out;
}

/* 하단 상품 좌우 네이티브 스크롤 스펙 */
.product-sync-group .scroll-box {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch !important; /* 모바일 가속 스크롤 보장 */
    padding-bottom: 5px;
    touch-action: pan-x !important; /* 터치로 가로 스크롤(Pan)을 허용하겠다는 선언 */
}
.product-sync-group .scroll-box::-webkit-scrollbar {
    display: none; /* 스크롤바 가리기 */
}

.prod-item {
    flex: 0 0 auto;
    width: 85px;
    margin-right: 12px;
    scroll-snap-align: start;
}
.prod-item .img-box {
    width: 100%;
    height: 85px;
    overflow: hidden;
    border-radius: .4rem;
}
.prod-item .img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.35rem;
}

/* 페이드인 애니메이션 */
@keyframes ohouseFadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}


/* 숫자형 페이지네이션 커스텀 */
.ohouse-room-swiper .swiper-pagination-fraction {
    position: absolute;
    left: auto !important; /* 왼쪽 정렬 해제 */
    right: 15px !important; /* 우측 여백 */
    bottom: 92% !important; /* 블러 오버레이(60~70px) 바로 위에 띄우기 */
    width: auto !important;
    background: rgba(0, 0, 0, 0.3); /* 반투명 블랙 캡슐 */
    color: rgba(255, 255, 255, 0.9);
    padding: 3px 10px 1px 10px;
    border-radius: 20px;
    font-family: 'Pretendard', sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.5px;
    z-index: 10;
}

/* Swiper 자체 기본 슬래시 두께나 간격 조정 */
.ohouse-room-swiper .swiper-pagination-fraction {
    font-variant-numeric: tabular-nums; /* 숫자 폭 고정으로 달릴 때 덜덜거림 방지 */
}



/* 1. 상품 리스트 전체를 감싸는 최외각 wrap 보호 */
.ohouse-product-sync-wrap {
    position: relative;
    z-index: 50; /* 상단 Swiper나 오버레이보다 무조건 위로 올릴 것 (터치 가로채기 방지) */
    width: 100% !important;
    clear: both; /* 혹시 모를 float 간섭 제거 */
}

/* [교체] 실제 스크롤이 일어나는 박스 통합 제어 */
.product-sync-group .scroll-box {
    display: flex !important;           /* 횡정렬 강제 */
    flex-wrap: nowrap !important;       /* 줄바꿈 절대 금지 */
    overflow-x: auto !important;        /* 가로 스크롤 강제 활성화 */
    overflow-y: hidden !important;      /* 세로 넘침은 숨김 */
    scroll-snap-type: x mandatory !important;
    width: 100% !important;             /* 부모 너비를 넘지 못하게 가둠 */
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-bottom: 5px !important;
    
    /* [핵심 수정] 요소의 가로 스크롤(pan-x)과 페이지의 세로 스크롤(pan-y)을 모두 허용 */
    touch-action: pan-x pan-y !important; 
}

/* 3. 스크롤바가 숨겨져서 안 되는 것처럼 보일 수 있으므로 브라우저 기본 스크롤바 숨김 다시 확인 */
.product-sync-group .scroll-box::-webkit-scrollbar {
    display: none !important;           /* Chrome, Safari, Opera */
}
.product-sync-group .scroll-box {
    -ms-overflow-style: none;           /* IE and Edge */
    scrollbar-width: none;              /* Firefox */
}

/* 4. 내부 상품 아이템 크기 고정 */
.product-sync-group .prod-item {
    flex: 0 0 auto !important;          /* 박스 너비가 절대 줄어들지 않고 유지되도록 설정 */
    width: 85px !important;             /* 원하시는 썸네일 가로 크기 */
    margin-right: 12px !important;      /* 상품 간 간격 */
}


/* ==========================================================
   [태블릿/데스크톱 구간] 배너와 1:1 수직 정렬 오버라이드
   ========================================================== */
@media (min-width: 640px) {
    /* 하단 wrap을 flex로 변경하여 active된 여러 그룹을 가로로 나란히 배치 */
    .ohouse-product-sync-wrap {
        display: flex !important;
        align-items: flex-start !important;
        gap: 10px !important; /* 상단 Swiper의 spaceBetween: 10 값과 정확히 일치시킴 */
    }

    /* 화면에 들어온 active 그룹들은 상단 배너와 똑같은 폭(1/2, 1/3)을 가지도록 제어 */
    .product-sync-group.active {
        display: block !important;
        flex: 1 !important; 
        min-width: 0 !important; /* 부모 폭을 초과해서 터지는 현상 방지 */
    }

    /* 데스크톱/태블릿에서는 썸네일 크기를 살짝 키워 배너 폭에 맞춤 */
    .product-sync-group .prod-item {
        width: 80px !important; 
    }
    .product-sync-group .prod-item .img-box {
        height: 80px !important;
    }
}

@media (min-width: 1024px) {
    /* 데스크톱 3단 배열일 때 배너 여백(20)과 일치 */
    .ohouse-product-sync-wrap {
        gap: 20px !important; 
    }
}












.sub_section {
    margin-bottom: 90px;
    margin-top: 35px;
}



.category-section {
    position: relative;
    padding: 72px 10px 62px 10px;
    background: #fff;
    overflow: hidden;
}

.category-swiper {
    padding: 0 5px;
}

.category-swiper .swiper-slide {
    width: auto; /* 내용만큼 너비 차지 */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 원형 아이콘 스타일 */
.category-swiper .img-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #f8f8f8;
    overflow: hidden;
    margin-bottom: 8px;
    border: 1px solid #eee; /* image_f5a634.png 느낌의 얇은 테두리 */
}

.category-swiper .img-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-swiper .name {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.category-swiper .swiper-wrapper {
    padding: 0 2rem;
}

/* 화살표 커스텀 (모바일에서는 숨기고 PC에서만 보이게 조절 가능) */
.category-swiper .swiper-button-next,
.category-swiper .swiper-button-prev {
    width: 30px;
    height: 30px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.category-swiper .swiper-button-next::after,
.category-swiper .swiper-button-prev::after {
    font-size: 12px;
    color: #000;
    font-weight: bold;
}

/* 모바일에서는 화살표 숨기기 (선택사항) */
@media (max-width: 768px) {
    .category-swiper .swiper-button-next,
    .category-swiper .swiper-button-prev {
        display: none;
    }
}
/* BASIC css end */

