/* BASIC css start */
/* ─────────────────────────────────────────────────
   #tab_01 전용 룰렛 휠 100% 노출 보장용 오버라이드
─────────────────────────────────────────────────*/
/* 1) 부모에서 숨김 해제 */
#cateTab #tab_01 .evt_roulette {
  overflow: visible !important;
}

/* 2) wheel-container도 숨김 해제 */
#cateTab #tab_01 .evt_roulette #wheel-container {
  overflow: visible !important;
}

/* 3) background-size를 contain 으로 바꿔 잘림 방지 */
#cateTab #tab_01 .evt_roulette #wheel {
  background-size: contain !important;
  background-position: center !important;
}


/* 1) 상단 메인 이미지 바로 아래 여백 제거 */
main.page > .evt_main_img {
  margin-bottom: 0 !important;
  overflow: hidden;
}
main.page > .evt_main_img img {
  display: block;
  width: 100%;
  height: auto;
}

/* 2) 탭 컨테이너(#cateTab) 간격 제거 */
#cateTab {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* 3) 룰렛 탭이 아닐 때(.prod_tab_con#tab_01 아닌 곳) 룰렛 섹션 숨기기 */
#cateTab .prod_tab_con:not(#tab_01) .evt_roulette {
  display: none !important;
}

/* 4) #tab_01 내부 패딩 제거 및 중앙 정렬 */
#cateTab #tab_01 .inner {
  padding: 0 !important;
  text-align: center;
}

/* 5) #tab_01 룰렛 섹션 배경 설정 */
#cateTab #tab_01 .evt_roulette {
  position: relative;
  
  background-size: cover;

  margin: 0 !important;
  text-align: center;
  z-index: 1;
}

/* #cateTab 내 휠 위치 수정 */
#cateTab #tab_01 .evt_roulette #wheel-container {
  position: absolute !important;
  top: 24%;                    /* 기존 28% → 22% (약간 위로) */
  left: 50%;
  transform: translateX(-50%);
  width: 93% !important;      /* 기존 100% → 120%, 휠 확대 */
  height: auto !important;     /* 비율 유지를 위해 auto로 변경 */
  aspect-ratio: 1 / 1 !important;
  margin: 0 !important;
  overflow: visible !important;/* 잘림 방지 */
  z-index: 2;
}

/* 7) 룰렛 버튼: 휠 바로 아래 자연스럽게 배치 */
#cateTab #tab_01 .evt_roulette .roulette-btn {
  position: relative;
  display: block;
  width: 90%;
  max-width: 360px;

  z-index: 3;
}
#cateTab #tab_01 .evt_roulette .roulette-btn img {
  display: block;
  width: 100%;
  height: auto;
}

/* ==========================================================================
   글로벌 스타일: 탭 네비, 상품 리스트, 룰렛 기본 이미지 등
   (이 아래는 기존 CSS 전체를 포함합니다)
   ========================================================================== */

/* 상단 이미지 영역 스타일 (백업용) */
.evt_main_img {
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}
.evt_main_img img {
  display: block;
  width: 100%;
  height: auto;
}

/* 탭 네비 스타일 */
.prod_tab {
  height: 50px;
}
.prod_tabs {
  display: flex;
  align-items: flex-start;
  justify-content: space-around;
  background: #726e43;
  height: 50px;
}
.prod_tabs a {
  font-size: 1.4rem;
  color: #fff;
  font-weight: 400;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  position: relative;
  padding: 0 18px;
  width: 50%;
}
.prod_tabs a:after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 22px;
  background: #fff;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translate(0, -50%);
}
.prod_tabs a:last-child:after {
  display: none;
}
.prod_tabs a.active {
  font-weight: 900;
}
.Fixed .prod_tabs {
  position: fixed;
  top: 50px;
  left: 0;
  width: 100%;
  z-index: 1000;
}

/* 탭 컨텐츠 기본 Inner */
.prod_tab_con .inner {
  box-sizing: border-box;
  padding: 17px 10px;
  text-align: center;
}

/* 상품 리스트 스타일 */
.prod_tab_list {
  text-align: left;
}
.prod_tab_list .prod_tt {
  font-size: 1.8rem;
  font-weight: 400;
  color: #000;
  text-align: center;
  margin: 26px 0;
}
.prod_tab_list .btn_box {
  text-align: center;
}
.prod_tab_list .btn_box a {
  display: inline-block;
  width: 160px;
  border: 1px solid #000;
  text-align: center;
  padding: 9px;
  font-size: 1.2rem;
  font-weight: 400;
  margin-top: 0;
}

#wheel-container {
  position: relative;
  width: 90vw;          /* 화면 너비의 90% */
  max-width: 480px;     /* 최대 480px로 제한 */
  aspect-ratio: 1 / 1;  /* 정사각형 유지 */
  margin: 36px auto 0;
  overflow: hidden;
}
#wheel {
  width: 100%;
  height: 100%;
  background: url('https://mayblue.jpg3.kr/renewImg/m/event/261015_autumnfesta/roulette_1015.png')
    center/cover no-repeat;
  border-radius: 50%;
  transition: transform 1.5s ease-out;
}
#prize {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://mayblue.jpg3.kr/renewImg/m/event/261015_autumnfesta/autumnfesta_1015_coupon.png')
    center/cover no-repeat;
  display: none;
}

/* 상품 박스 스타일 */
.prod_item_box {
  position: relative;
  padding-bottom: 123%;
  margin-top: 49%;
}
.prod_item_box .prod_item {
  position: absolute;
  top: 5%;
  left: 0;
  width: 100%;
}

/* Swiper 스타일 (prod_tab_con 내) */
.prod_tab_con .prodTabSwiper .swiper-slide .item {
  box-sizing: border-box;
  padding: 16px;
  transition: all 0.3s;
}
.prod_tab_con .prodTabSwiper .swiper-slide.swiper-slide-active .item {
  padding: 0;
}
.prod_tab_con .prodTabSwiper .swiper-slide .item .info_box {
  background: #fff;
  padding: 10px;
  text-align: left;
}
.prod_tab_con .prodTabSwiper .swiper-slide .item .info_box .brand,
.prod_tab_con .prodTabSwiper .swiper-slide .item .info_box .icons {
  display: none;
}
.prod_tab_con .prodTabSwiper .swiper-slide .item .info_box .name {
  font-size: 1.2rem;
  color: #000;
}
.prod_tab_con .prodTabSwiper .swiper-slide .item .info_box .price_box {
  align-items: flex-end;
  flex-direction: column;
  position: relative;
  margin-right: 0;
}
.prod_tab_con .prodTabSwiper .swiper-slide .item .info_box .price_box p {
  margin-right: 0;
}
.prod_tab_con .prodTabSwiper .swiper-slide .item .info_box .price_box .priceStrike {
  font-size: 1.4rem;
  margin-bottom: 5px;
}
.prod_tab_con .prodTabSwiper .swiper-slide .item .info_box .price_box .price {
  font-size: 2.0rem;
}
.prod_tab_con .prodTabSwiper .swiper-slide .item .info_box .price_box .dc_info {
  font-size: 2.0rem;
  color: #726e43;
  position: absolute;
  bottom: 0;
  left: 0;
}
.prod_tab_con .swiper-pagination {
  bottom: -6%;
}
.prod_tab_con .swiper-pagination .swiper-pagination-bullet {
  border-radius: 0;
  width: 8px;
  height: 8px;
  transition: all ease 0.5s;
}
.prod_tab_con .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
  width: 48px;
}

/* ─────────────────────────────────────────────
   Tab02 (BEST 15%) 슬라이더 불릿 색상
───────────────────────────────────────────── */
#cateTab .prod_tab_con#tab_02 .swiper-pagination-bullet {
  background-color: #726e43  !important;         /* 비활성 불릿 */
}
#cateTab .prod_tab_con#tab_02 .swiper-pagination-bullet-active {
  background-color: #726e43  !important;         /* 활성 불릿 */
}

/* ─────────────────────────────────────────────
   Tab03 (S/S시즌오프) 슬라이더 불릿 색상
───────────────────────────────────────────── */
#cateTab .prod_tab_con#tab_03 .swiper-pagination-bullet {
  background-color: #726e43 !important;
}
#cateTab .prod_tab_con#tab_03 .swiper-pagination-bullet-active {
  background-color: #726e43 !important;
}


/* 탭별 배경 컬러 */
#tab_02 {
  background: #eff8ff;
}
#tab_02 .inner .tt_box .txt {
  color: #1995f1;
}
#tab_03 {
  background: #def1ff;
}
#tab_03 .inner .tt_box .txt {
  color: #0e568c;
}
#tab_03 .inner .btn_box .btn {
  background: #0e568c;
}

/* 두 번째 탭 시스템 (#cateTab2) */
#cateTab2 {
  padding-top: 32px;
}
#cateTab2 .prod_tabs {
  align-items: center;
  background: #fff;
  height: 44px;
}
#cateTab2 .prod_tabs a {
  font-size: 1.3rem;
  color: #2e88d4;
  font-weight: 400;
  height: 30px;
  border: 1px solid #2e88d4;
  border-radius: 30px;
  /* line-height: 1; */
  width: auto;
}
#cateTab2 .prod_tabs a:after {
  display: none;
}
#cateTab2 .prod_tabs a.active {
  font-weight: 400;
  color: #fff;
  background: #2e88d4;
}
#cateTab2.Fixed .prod_tabs {
  box-shadow: rgba(0, 0, 0, 0.25) 0 3px 7px;
  top: 94px;
}
#cateTab2 .prod_tab_con .inner {
  padding-top: 57px;
}
#cateTab2 #tab2_01 .inner {
  padding-top: 52px;
}
#cateTab2 .hide_prod_list .item {
  display: none;
}
#cateTab2 .hide_prod_list .item:nth-child(-n+10) {
  display: inline-block;
}

.roulette_notice { display: none !important; }

#cateTab #tab_01 .evt_roulette .roulette-btn {
  position: absolute !important;
  bottom: 18% !important;    
  left: 50% !important;           /* 가로 중앙 */
  transform: translateX(-50%) !important;
  width: 90%;
  max-width: 360px;
  z-index: 3;
}


#cateTab #tab_02 .inner {
  position: relative;
  width: 100%;
  height: calc(1510 / 720 * 100vw);
  background: url('https://mayblue.jpg3.kr/renewImg/m/event/261015_autumnfesta/autumnfesta_1015_bg2.jpg')
    no-repeat center top;
  background-size: cover;
  box-sizing: border-box;
  padding:17px 0 
}


#cateTab #tab_03 .inner {
  position: relative;
  width: 100%;
  height: calc(1427 / 720 * 100vw);
  background: url('https://mayblue.jpg3.kr/renewImg/m/event/260507_16th/16th_0507_bg3.jpg')
    no-repeat center top;
  background-size: cover;
  box-sizing: border-box;
}

a.best-btn {
    transform: translateX(-50%);
    position: absolute;
    width: 80%;
    top: 89%;
}


/* BASIC css end */

