html,body{height: auto}
main{
    width: 1000px;
    margin: 0 auto;
    font-size: 10px;
    line-height: 1em;
}
section{
    line-height: 1.1em;
}
@media all and (max-width:768px){
    html, body{
        min-width: auto;
        margin: 0;
        overflow-x: hidden;
    }
    header, footer, .B_header.cloned.fixed{
        display: none;
    }
}






.list_wrap{
    padding-bottom: 80px;
    border-bottom: 1px solid #EEEEEE;
}
.phamstar_n_eve{
    position: relative;
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 2em 0;
}

/* 월 네비게이션 스와이퍼 */
.year_tab{
    padding-bottom: 25px;
}
.year_tab .swiper{
    width: 100%;
    margin: 0 auto;
    position: relative;
    font-size: 18px;
    line-height: 1.2em;
    max-width: 720px;
    margin: auto;
}

.year_tab .swiper-slide{
    width: auto;
    text-align: center;
    box-sizing: border-box;
    background-color: var(--white);
    color: var(--black);
    border-radius: 100px;
    background-color: #eee;
}

.year_tab .swiper-slide.active {
    background-color: var(--point_main);
    color: var(--white);
}

.year_tab .swiper-slide a {
    display: block;
    padding: 8px 22px;
}


/* 월 콘텐츠 */
.month_view{
    position: relative;
    margin-bottom: 2em;
}
.month_swiper{
    max-width: 720px;
    width: 100%;
    margin: auto;
    aspect-ratio: 1/1;
}
.month_swiper img{
    width: 100%;
    object-fit: cover;

}
.month_item {
    opacity: 0;
    visibility: hidden;
    height: 0;
    overflow: hidden;
    transition: opacity .25s;
}

.month_item.active {
    opacity: 1;
    visibility: visible;
    height: auto;
    overflow: visible;
}


/* 좋아요 & 댓글 버튼 */
.bottom_action {
    display: flex;
    justify-content: center;
    gap: 3%;
    padding-bottom: 2em;
}

.btn_like, .btn_reply{
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 12px 18px;
    border-radius: 25px;
    background: #F4F4F4;
    cursor: pointer;
    color: #909090;
    width: 220px;
}
.btn_like svg, .btn_reply svg{
    fill: #909090;
}
.btn_like.active {
    background: var(--point_main);
    color: #fff;
}
.btn_reply.active {
    background: var(--point_main);
    color: #fff;
}
.btn_like.active svg, .btn_reply.active svg{
    fill: #fff;
}
/* 댓글 폼 */
.reply_form{
    display: none;
    border: 1px solid #ddd;
    padding: 12px 15px;
    border-radius: 8px;
    max-width: 720px;
    margin: auto;
}
.reply_form.active{
    display: flex;
}
.reply_form .input_wrap{
    position: relative;
    width: 100%;
}
.reply_form input{
    width: 100%;
    padding: 3px 10px;
    font-size: 16px;
    line-height: 1.3em;
}
.reply_form .input_wrap::before{
    content: '';
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    height: 100%;
    width: 1px;
    background-color: #ddd;
}
.reply_form .review_btn{
    display: block;
    width: 60px;
    margin-left: 15px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}





/* 버튼 */
/* Swiper Prev / Next 버튼 공통 */
.swiper-button-prev,
.swiper-button-next {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #d1d1d1de;
    /* box-shadow: 0 0 5px rgba(0,0,0,0.1); */
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;   /* 아이콘 크기 */
    cursor: pointer;
    transition: .15s;
}

/* Swiper 기본 after 아이콘 제거 */
.swiper-button-prev::after,
.swiper-button-next::after {
    display: none !important;
}

/* 버튼 hover */
.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: #d1d1d1;
}

/* -------------- */
.st_c_prev,
.st_c_next{
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #808080;
    /* box-shadow: 0 0 5px rgba(0,0,0,0.1); */
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;   /* 아이콘 크기 */
    cursor: pointer;
    transition: .15s;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
}
.st_c_prev{
    left: 0%;
}
.st_c_next{
    right: 0%;
}
/* Swiper 기본 after 아이콘 제거 */
.st_c_prev::after,
.st_c_next::after {
    display: none !important;
}

/* 버튼 hover */
.st_c_prev:hover,
.st_c_next:hover {
    background: #d1d1d1;
}



.pharm_st_wrap{
    position: relative;
    padding: 30px 0;
}
.pharm_st_wrap .t_title{
    line-height: 1.2em;
    display: flex;
    align-items: end;
    gap: 10px;
    padding-bottom: 20px;
}
.pharm_st_wrap .t_title h2{
    font-size: 24px;
    font-weight: 600;
    line-height: 1em;
}
.pharm_st_wrap .t_title h3{
    position: relative;
    font-size: 14px;
    color: #333333;
    display: flex;
    align-items: end;
    gap: 2px;
    line-height: 1.2em;
    word-break: keep-all;
}
.pharm_st_wrap .t_title h3 svg{
    cursor: pointer;
    transition: .2s;
}
.pharm_st_wrap .t_title h3 svg:hover{
    transform: scale(1.1);
}
.pharm_st_wrap .t_title .tool_tip{
    display: none;
    position: absolute;
    bottom: 0;
    left: calc(100% + 10px);
    width: 180px;
    text-align: center;
    border-radius: 6px;
    background-color: #F4F4F4;
    font-size: 12px;
    padding: 5px 10px;
}
.pharm_st_wrap .t_title .tool_tip.active{
    display: block;
}
.pharm_st_wrap .t_title .hadle{
    display: flex;
    gap: 10px;
    margin-left: auto;
}

.gift_list{
    overflow: hidden;
    width: 90%;
    margin: 0 auto;
}
.gift_list .swiper-slide{
    max-width: 320px;
    position: relative;
    width: 100%;
    border-radius: 18px;
    border: 1px #E1E1E1 solid;
    padding: 12px;
    /* box-shadow: 0px 2px 6px #E1E1E1; */
    box-sizing: border-box;
}
.gift_list .swiper-slide:hover{
    border: 1px #B8C8D9 solid;
}
.gift_list .swiper-slide.gift_new::before{
    position: absolute;
    top: -5%;
    right: 3%;
    content: 'NEW';
    display: block;
    padding: 2px 7px 3px;
    color: white;
    background-color: #B5BDC9;
    border-radius: 5px;
    font-size: 13px;
    line-height: 14px;
    /* box-shadow: 3px 3px 3px #ebebeb; */
}
.gift_list .swiper-slide a{
    display: flex;
    align-items: center;
}
.gift_list .swiper-slide .gift_img{
    width: 40%;
    height: 125px;
    /* background-color: #F6F6F6; */
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    overflow: hidden;
}
.gift_list .swiper-slide .gift_img img{
    width: auto !important;
    max-height: 120px;
    max-width: 130px;
}
.gift_list .swiper-slide .gift_info{
    text-align: center;
    width: 60%;
}
.gift_list .swiper-slide .gift_info h4{
    font-size: 0.75rem;
    display: inline-block;
    padding: 4px 12px;
    border-radius: 10px;
    margin-bottom: calc(var(--padding));
    line-height: 1em;
    background-color: #5C5E74;
    color: #fff;
}
.gift_list .swiper-slide .gift_info h5{
    letter-spacing: .5px;
    line-height: 1.15rem;
    padding: 2px 20px;
    margin: 0 auto;
    margin-bottom: calc(var(--padding)* .7);
    text-align: center;
    font-size: 17px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    word-break: keep-all;
    font-family: 'Pretendard';
    letter-spacing: 0;
}
.gift_list .swiper-slide .gift_info h6{
    color: #9a9a9a;
    font-size: 14px;
    margin-bottom: calc(var(--padding)*1);
    text-align: center;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    line-height: 1.1em;
}
.gift_list .swiper-slide .gift_info .info_bottom{
    padding: 0 10px;
    position: relative;
    top: 8px;
}
.gift_list .swiper-slide .gift_info .info_bottom .l_point{
    font-size: 14px;
    color: #9a9a9a;
    display: flex;
    /* align-items: center; */
    padding: 2px 4px;
    border-radius: 6px;
    border: 1px solid #E6E6E6;
}
.gift_list .swiper-slide .gift_info .info_bottom .l_point img{
    width: 16px;
    height: 16px;
    margin-right: 2px;
}
.gift_list .swiper-slide .gift_info p{
    font-size: 12px;
    text-align: right;
    position: absolute;
    right: 10px;
    bottom: -5px;
    color: #9a9a9a;
}

@media all and (max-width:768px){
    .phamstar_n_eve{
        padding: 30px 10px;
    }
    .year_tab .swiper{
        font-size: 16px;
    }
    .btn_like, .btn_reply{
        font-size: 16px;
    }
    .pharm_st_wrap .t_title{
        flex-wrap: wrap;
        padding-bottom: 8px;
    }
    .pharm_st_wrap .t_title h3 svg{
        display: none;
    }
    .pharm_st_wrap .t_title .tool_tip{
        display: none;
    }
}
@media all and (max-width:480px){
    .bottom_action{
        flex-wrap: wrap;
        gap: 1em;
    }
    .swiper-button-prev,
    .swiper-button-next{
        width: 30px;
        height: 30px;
        font-size: 20px;
        background: #51515180;
    }
    .swiper-button-prev:hover,
    .swiper-button-next:hover {
        background: #51515180;
    }
    .st_c_prev:hover,
    .st_c_next:hover {
        background: #eee;
    }
}









.review_content {
  width: 100%;
  background: #fff;
  font-size: 14px;
  padding-bottom: 45px;
}

/* 헤더 */
.review_header {
  padding: 14px 16px;
  border-bottom: 1px solid #e5e5e5;
}

.review_title {
  font-size: 16px;
  font-weight: 600;
  color: #222;
}

.review_count {
  color: #555;
  font-weight: 400;
  margin-left: 4px;
}

/* 리스트 */
.review_list {
  list-style: none;
  margin: 0;
  padding-bottom: 40px;
}

.review_item {
  padding: 14px 16px;
  border-bottom: 1px solid #eee;
}

/* 좌측 텍스트 */
.review_text {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 5px;
  padding-bottom: 5px;
}

.review_tag {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.review_message {
  font-size: 16px;
  color: #555;
  line-height: 1.4em;
}

/* 날짜 */
.review_date {
  font-size: 12px;
  color: #999;
  white-space: nowrap;
}

.pagination li button{
    cursor: pointer;
    color: rgb(145, 145, 145);
}