/* BASIC css start */
/* 띠배너 추가됨에 따라 헤더 스타일 추가 수정 */
#header.scroll #topbanner{transform: translateY(0%);max-height: 45px;opacity: 0;pointer-events: none;}
#header.scroll.click.show .open-menu-wrap, .open-menu-wrap[aria-hidden="false"] {top:105px !important;}
#header.scroll.click.show.is-fixed .open-menu-wrap, .open-menu-wrap[aria-hidden="false"] {top:60px !important;}

#topbanner {
    transition: transform .35s ease, max-height .35s ease, opacity .25s ease;
    overflow: hidden;    /* 높이가 줄어들 때 내용물이 삐져나오지 않게 함 */
    max-height: 200px;   /* 실제 배너 높이보다 넉넉하게 설정 */
    opacity: 1;
}
/* 스크롤이 내려갔을 때 배너를 숨김 */
#header.is-fixed #topbanner {
    max-height: 0 !important;   /* 높이를 0으로 줄임 */
    opacity: 0 !important;      /* 투명하게 만듦 */
    padding-top: 0 !important;  /* 패딩이 있다면 이것도 제거 */
    padding-bottom: 0 !important;
    margin: 0 !important;       /* 여백 제거 */
}
/* 헤더를 상단에 고정하고 싶다면 */
#header.is-fixed {
   /* position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;*/
}
/* 모바일: 띠배너 추가됨에 따라 헤더 스타일 추가 수정 */
@media (max-width: 768px) {
    .header-container--md.scroll {
        top: 45px !important;
        z-index: 9999;
    }
    .header-container--md.scroll.is-fixed {
        top: 0px !important;
    }
    .header-container--md.scroll.is-fixed + .m-search-area, .side-menu-wrap.active {
        top: 50px!important;
        padding-top: 0;
    }
    .header-container--md.scroll + .m-search-area, .side-menu-wrap.active {
        top: 94px!important;
    }
    .header-container--md {z-index: 9999;}
    .header-container--md.scroll.is-fixed {top: 45px;}
    .scroll.is-fixed + .side-menu-wrap.active {top: 46px !important;}
    .container {margin-top: 130px!important;}
    .side-menu-wrap {z-index: 100 !important;}
}




/* 가입순서 */
.join-step { display: flex; flex-wrap:wrap; gap: 48px; align-items: center; justify-content: center; padding: 24px 0; text-align: center; }
.join-step li { position: relative; }
.join-step li:not(:last-child)::after { position: absolute; right: -32px; top: 27px; width: 16px; height: 16px; background: url('//skin.makeshop.co.kr/skin/rw_shop/images/icons/ico_arrow_step.svg') no-repeat; content: ''; }
.join-step li .icon { display: block; width: 48px; height: 48px; line-height: 48px; border-radius: 50%; background: var(--cw-color-10); }
.join-step li p { padding-top: 4px; font-size: .875rem; color: var(--cw-color-60); }
.join-step li.active .icon { background: var(--cw-point-color-pri); }
.join-step li.active p { font-weight: 600; color: var(--cw-heading-color); }

.btn-agree { display: flex; align-items: center; justify-content: center; }
.btn-agree .btn { margin: 40px 0; width: 300px; }

/* 태블릿 */
@media (min-width: 768px) and (max-width: 991.98px) {
    .join-step { padding: 0 0 24px; }
}

/* 모바일 */
@media (max-width: 767.98px) {
    .join-step { padding: 0 0 24px; gap: 40px; }
    .join-step li::after { right: -28px; }
    .join-step li p { font-size: .813rem; }
    .form-terms .all-check ul li { font-size: .75rem; }
    .form-terms label,
    .form-terms .join-terms .form-check { font-size: .813rem; }
}

/* 모바일 */
@media (max-width: 480px) {
    .btn-agree .btn { width: 100%; }
}

/* BASIC css end */

