.banner_re0805 {font-family: 'pretendard'; font-size: 16px; margin:20px 0;}

/* 지역분류값 색상 */
.bannerwrap0805 .top_txtbox .location_value {padding:5px 20px; border-radius: 20px; display: inline-block; font-weight: 600;}
.bannerwrap0805 .top_txtbox .value_na {color:#ff7d7d; background:#FFE9E9;} 
.bannerwrap0805 .top_txtbox .value_pu {color:#ff7d7d; background:#FFF9E2;} 
.bannerwrap0805 .top_txtbox .value_all {color: #fff; background: #111;}

/* 배너스타일설정 */
.bannerwrap0805 {
  width: 100%; margin: 0 auto;
  height: 440px;
  overflow: hidden;
  padding-left: 20px; 
}
.swiper0805wrpper {display: flex;}
.bannerwrap0805 .main_banner_txtbox {width: 400px; height: 430px; max-height: 472px;
    overflow: hidden; position: relative; border-radius: 10px; box-shadow: 5px 5px 0px 1px #00000016; flex-shrink: 0;}
.bannerwrap0805 .main_banner_txtbox .banner_backimg {transition: all 0.3s; object-fit: cover; width: 100%; height: 100%;}
.bannerwrap0805 .main_banner_txtbox::after {content:''; display: inline-block; position: absolute; right: 32px; bottom: 32px; opacity: 0;
    width:60px; height: 60px; background: url(/images/pikdeal/black_arrow.svg)no-repeat; transition: all 0.3s; background-size : 70%}
.bannerwrap0805 .top_txtbox {position: absolute; left: 0; top:0; padding: 32px; z-index: 10;}
.bannerwrap0805 .top_txtbox .txtbox_head {font-size: 1.5rem; display: block; font-weight: 600; margin-top: 24px; line-height: 110%;}
.bannerwrap0805 .txtbox_subtxt {margin-top: 14px; margin-bottom: 7px;}
.bannerwrap0805 .txtbox_boxtxt {margin-top: 5px; border-radius: 30px; padding: 5px 7px; background: #ffffffa8; 
    display: inline-block; box-shadow: 0px 0px 3px 1px #00000010; color: #555;}
/*.bannerwrap0805 .txtbox_boxtxt {margin-top: 20px; border-radius: 30px; padding: 12px 20px; background: #ffffffa8; 
    display: inline-block; box-shadow: 0px 0px 3px 1px #00000010; color: #555;} 
.bannerwrap0805 .txtbox_boxtxt::before {content: ''; display: inline-block; position: relative; top: 2px;
    width: 15px; height: 14px; background: url(/images/pikdeal/gift_icon.svg)no-repeat center; margin-right: 10px;  }*/
.bannerwrap0805 .main_banner_txtbox:hover::after {opacity: 1;}
.bannerwrap0805 .main_banner_txtbox:hover .banner_backimg {transform: scale(1);}
.bannerwrap0805 {width: 100%; height: 440px; overflow: hidden;}


/* 메인 최상단 배너 프로그레스바 */
.main-banner-controls {
    max-width: 50%;
    margin: 20px auto 0;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 10px;
}

.main-banner-controls .swiper-pagination-total {
    display:none;
}

.main-banner-controls .top-banner-pagination {
    position: relative;
    flex-grow: 1; 
    height: 2px !important;
    background-color: #e0e0e0;
}

.main-banner-controls .swiper-pagination-progressbar-fill {
    background-color: #157ced !important;
}

.main-banner-controls .banner-pagination-fraction {
    font-size: 1rem;
    color: #555;
    white-space: nowrap;
    font-weight: 500;
}
.main-banner-controls .banner-pagination-fraction .top-swiper-pagination-total {
    color: #999;
}

.main-banner-controls .banner-buttons {
    display: flex;
    align-items: center;
    border: 1px solid #e0e0e0; 
    border-radius: 30px; 
    overflow: hidden; 
}

.main-banner-controls .top-swiper-button-prev,
.main-banner-controls .top-swiper-button-next,
.main-banner-controls .swiper-button-autoplay {
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 0;
    background-color: #fff;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 12px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.main-banner-controls .banner-buttons button + button {
    border-left: 1px solid #e0e0e0;
}

.main-banner-controls .top-swiper-button-prev:hover,
.main-banner-controls .top-swiper-button-next:hover,
.main-banner-controls .swiper-button-autoplay:hover {
    background-color: #f5f5f5;
}

.main-banner-controls .top-swiper-button-prev {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z'/%3E%3C/svg%3E");
}

.main-banner-controls .top-swiper-button-next {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8.59 16.59L10 18l6-6-6-6-1.41 1.41L13.17 12z'/%3E%3C/svg%3E");
}

.main-banner-controls .swiper-button-autoplay.play {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 19h4V5H6v14zm8-14v14h4V5h-4z'/%3E%3C/svg%3E"); /* Pause Icon */
}

.main-banner-controls .swiper-button-autoplay.pause {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E"); /* Play Icon */
}



 @media (max-width: 1400px) {
.bannerwrap0805 .main_banner_txtbox {height: 400px; min-width: 300px;}
.bannerwrap0805 {height: 410px;}

  }
 @media (max-width: 620px) {
    .bannerwrap0805 .swiper-slide {
        width: 65vw;
        min-width: 280px;    
    }

  /* 메인 상단배너 프로그레스 바 */
    .main-banner-controls {
        max-width: 85%;
        padding: 0;
        margin-top: 0px;
    }

    .bannerwrap0805 .top_txtbox .txtbox_head {margin-top: 14px;}
    .bannerwrap0805 .top_txtbox .txtbox_head br {display: none;}
    .bannerwrap0805 .txtbox_boxtxt {font-size:0.75rem;/*font-size: 0.95rem;*/ line-height: 100%;}
    .bannerwrap0805 .top_txtbox {padding: 24px;}
    .bannerwrap0805 .main_banner_txtbox::after {right: 24px; bottom: 24px;}
    .bannerwrap0805 {height: 340px;}
    .bannerwrap0805 .main_banner_txtbox {height: 320px;}
    .bannerwrap0805 .main_banner_txtbox::after {opacity: 0 !important;  left:24px ; background-size:70%}
    .bannerwrap0805 .top_txtbox .txtbox_head {font-size: 1.25rem;}
    .bannerwrap0805 .txtbox_boxtxt {background: #ffffffed;}
 }



/* 메인픽딜 연동부분 */
.pickdeal_wrapper {font-family: 'pretendard';}
.pickdeal_wrapper .pickdeal_detail {max-width: 1270px; margin: 0 auto; width: 100%; overflow: hidden; margin-bottom: 40px;}
.pickdeal_wrapper .pickdeal_header {display: flex; justify-content: space-between; align-items: center;}
.pickdeal_wrapper .pick_dealall {color: #157ced; font-weight: 600; margin-right: 5px; font-size: 1rem;}
.pickdeal_wrapper .pick_dealall::after {content: ''; display: inline-block;
    width: 8px; height: 8px; border-top: 2px solid #157ced; border-right: 2px solid #157ced; transform: rotate(45deg); margin-left: 10px;}
.pickdeal_wrapper .pickdeal_header h3 {font-size: 1.75rem; font-weight: 700;}
.pickdeal_wrapper .pickdeal_header h3 strong {color: #157ced; font-weight:700;}
.pickdeal_wrapper .pickdeal_subtxt {display: flex; background: #F8FBFF; width: 100%; padding: 16px; border-radius: 5px; margin: 24px 0;}
.pickdeal_wrapper .deal_description {margin-left: 10PX; color: #333;}
.pickdeal_wrapper .pickdeal_body {max-width: 1270px; margin: 0 auto;
    padding: 40px 0; border: 1px solid #dfdfdf; border-radius: 10px; width: 100%; position: relative;
    overflow: hidden;}
.pickdeal_wrapper .pickdeal_bodydetail {display: flex; gap: 40px; width: 100%; padding: 0 40px;}
.pickdeal_wrapper .pickdeal_bodydetail .pickdeal_mainimg {max-width: 420px; width: 40%; height: 248px;border-radius: 10px; object-fit: fill; }
.pickdeal_wrapper .time_icon {animation: shake 0.5s infinite; transform-origin: center; display: inline-block;}
.pickdeal_wrapper .txtdetail_head {font-size: 1.5rem; font-weight: 600; margin: 10px 0; width: 100%;}
.pickdeal_wrapper .bodydetail_txt {width: 60%;}
.pickdeal_wrapper .pickdeal_benefit { padding: 16px 0;  font-size: 1.25rem; line-height: 144%; color: #555;
    border-bottom: 1px solid #dfdfdf; border-top: 1px solid #dfdfdf; height: 144px; }
.pickdeal_wrapper .pickdeal_benefit .before_star::before {content: ''; background: url(/images/pikdeal/star_benefit.svg)no-repeat; background-size: 100%;
    width: 10px; height: 10px; display: inline-block;  margin-right: 10px; position: relative; top: -3px;}
.pickdeal_wrapper .pickedeal-swwrapper {display: flex;}
.pickdeal_wrapper .pickdeal_price{display: flex; gap: 12px; padding: 12px 0; align-items: center;}
.pickdeal_wrapper .pickdeal_discount {color: #fff; font-weight:700; font-size: 1rem; background: #ff4e4e; padding: 4px 8px; border-radius: 5px;}
.pickdeal_wrapper .pcikdeal_bill strong {font-weight: 700; font-size: 1.5rem; color: #ff4e4e; }
.pickdeal_wrapper .pickdeal_reser {padding: 10px 40px; color: #fff; background: #111; border-radius: 5px; font-size: 1rem;}
.pickdeal_wrapper .swiper-slide {width: 100%; box-sizing: border-box; flex-shrink: 0; }
.pickdeal_wrapper .pickdeal_pager {position: absolute; left: -20px; top: 50%; display: none;  justify-content: space-between; align-items: center;} 
.pickdeal_wrapper .pickdeal-swiper-button-prev, .pickdeal-swiper-button-next {width: 40px; height: 40px; border-radius: 40px; display: inline-block; border:1px solid #Dfdfdf; display: flex; align-items: center;}
.bodydetail_txt .flex_row {display: flex; justify-content: space-between; align-items: center;
    margin-top: 6px;}

.pickdealpagenation {
    margin: 15px auto 0px auto;
    text-align: center;

}
.pickdealpagenation .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #A2CEFF; 
    opacity: 1;       
    margin: 0 4px;    
    border-radius: 50%;
}

.pickdealpagenation .swiper-pagination-bullet-active {
    background: #157ced; 
}

@keyframes shake {
  0% { transform: rotate(0deg); }
  20% { transform: rotate(-15deg); }
  40% { transform: rotate(10deg); }
  60% { transform: rotate(-10deg); }
  80% { transform: rotate(5deg); }
  100% { transform: rotate(0deg); }
}

 @media (max-width: 620px) {
    .pickdeal_wrapper .txtdetail_head {margin-top: 0;}
    .pickdeal_wrapper {margin: 30px 15px;}
    .pickdeal_wrapper .pickdeal_body {padding: 20px 0px;}
    .pickdeal_wrapper .pickdeal_bodydetail {padding: 0 20px; gap: 20px; cursor:pointer; font-size: 0.85rem;}
    .pickdeal_wrapper .pickdeal_pager {width: 100%; top: calc(50% - 18px); right: 0; justify-content: space-between;}
    .pickdeal_wrapper .pickdeal_benefit {height: 92px; padding: 8px 0; font-size: 0.9rem;}
    .pickdeal_wrapper .pickdeal_price {padding: 8px 0 0 0; gap: 7px;}
    .pickdeal_wrapper .pickdeal_bodydetail .pickdeal_mainimg {height: auto; max-height:150px; object-fit: cover;}
        .pickdeal_wrapper .txtdetail_head {
        font-size: 1.25rem; 
        padding-top: 0;
        width: 100%;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;  
        -webkit-box-orient: vertical;
    }
    .pickdeal_wrapper .pickdeal_reser {display:none;}
    .pickdeal_wrapper .deal_description {font-size: 0.9rem;}
    .pickdeal_wrapper .pickdeal_subtxt {margin: 12px 0;}
    .bodydetail_txt .flex_row{flex-direction: column; align-items: flex-start}
    .pickdeal_wrapper .pcikdeal_bill strong {font-size: 1.15rem;}
    .pickdeal_wrapper .pickdeal_header h3{font-size: 1.5rem;}
    .bodydetail_txt .flex_row{margin-top: 0;}
    .main-banner-controls .top-swiper-button-prev,
    .main-banner-controls .top-swiper-button-next,
    .main-banner-controls .swiper-button-autoplay {height: 28px;}
    .pickdeal_wrapper .pickdeal_benefit .before_star::before {width: 7px; height: 7px; margin-right: 5px;}
 }

 
 @media (max-width: 360px) {
        .pickdeal_wrapper .pickdeal_benefit {font-size: 0.85rem; overflow-y: hidden;}
 }
