/* 라디오 버튼 숨기기 */
#main .custom-radio input[type="radio"] {
    display: none;
}

/* 라벨 스타일 */
#main .custom-radio label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    margin: 0;
    border: 1px solid #fff;
    border-radius: 20px; /* 둥근 모서리 */
    background-color: white;
    color: #aaa;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

/* 활성화된 라벨 스타일 */
#main .custom-radio input[type="radio"]:checked + label {
    border-color: #191919;
    font-weight: bold;
    color: #191919;
}

/* 호버 효과 */
#main .custom-radio label:hover {
    border-color: #ededed;
}


/* 이미지 스타일 */
#main .custom-radio img {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

#main .slick-slide {
    margin-right: 10px; /* 각 슬라이더 항목 간의 간격 */
}

/* 마지막 항목의 여백 제거 */
#main .slick-slide:last-child {
    margin-right: 0;
}

#main .custom-card {
    /* margin-bottom: 40px; */
}

#main .custom-card.cursor-pointer-2 {
    margin-bottom: 40px;
}

#main .custom-card img.card-img {
    width: 100%;
}

#main .custom-card .custom-card-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: normal;
}

/* 만 19세 이상 가능 운세에 아이콘 추가 -- 2025/04/17, kkoo2324 */
#main .custom-card .custom-card-title .title{
    display:flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    /* font-weight: bold; */
}

#main .custom-card .custom-card-title .menu {
    display: flex;
    gap: 12px;
    font-size: 0.75rem;
}

#main .custom-card .custom-card-title .menu span {
    display: flex;
    gap: 5px;
    align-items: center;
    line-height: 1;
}

#main .custom-card .custom-card-title .menu img {
    height: 20px;
    width: 20px;
}

#main .custom-card .custom-card-content {
    font-size: 14px;
    color: #aaa;
    border-bottom: 1px solid #d3d3d3;
}
#main .custom-card .custom-card-content > p{color:#444;}
#main #first_menu > .custom-radio{
    width:16.6666%;
}
#main #allMenu {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    width: 95%;
}

#main #allMenu > .custom-radio {
    /* margin-right: 5px; */
    margin-right: 0;
}

/* 모바일에서 날짜 선택 안내 문구 추가 -- 2025/05/26, kkoo2324 */
.mo_view_txt{
    display: none !important;
    font-size:0.8rem;
    line-height: 1.2;
    margin:0.5rem 0 0 !important;
}

/* ppb */
#header{z-index: 9;position: relative; padding: 1.5rem 1rem;}
#intro{    background: linear-gradient(180deg, #2773DA 16.83%, #0051BE 71.64%);
    height: 100%;
    position: absolute;
    width: 100%;
    top: 0px;
    left: 0px;
    z-index: 99;
}
#main{padding: 1rem 1rem 6rem;background: #EEF4FC;/* height: calc(80vh - 214px); */overflow-y: auto;max-height: 66%;height: 100%;}

.mo_br_560{display: none;}
.fade-out {
    opacity: 0;
    transition: opacity 0.8s ease;
  }

  .menu-wrap {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    padding: 1rem 1.5rem;
    background: #fff;
    border-radius: 1rem;
  }
  
  .menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    width: calc(25% - 18px);
  }
  
  .menu-icon {
    width: 56px;
    height: 56px;
    background: #F4F7FB;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .menu-icon img {
    width:100%
  }
  
  .menu-label {
    font-size: 14px;
    font-weight: 500;
    color: #000;
  }

  .bottom-nav {
    width: 100%;
    background: #ffffff;
    padding: .5rem 1rem;
    /* position: absolute; */
    bottom: 0px;
    z-index: 9;
}

.nav-list {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 1rem;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #8E8E8E;
    cursor: pointer;
    width: 25%;
}

.nav-icon-wrap {
    border-radius: 50%;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 58px;
}

.nav-icon {
    opacity: 0.6;
}

.nav-home{
    transform: scale(1.675);
}

.nav-label {
    font-size: 12px;
    margin-top: 4px;
}

.lockB{position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);width: 100%;justify-content: center;display: flex;flex-wrap: wrap;padding: 2rem;}
.fortune-item{
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
    padding: .75rem 1rem;
    background: #fff;
    border-radius: 1rem;
    cursor: pointer;
}
.fortune-icon{}
.fortune-icon img{}
.fortune-label{
    width: 100%;
    font-size: 0.875rem;
    margin-top: 8px;
    font-weight: 700;
}

.notice-pagination .swiper-pagination-bullet {
    background: #C7D4ED;    /* ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã‚ÂÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â°ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â­ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã¢â‚¬Â¦ÃƒÂ¢Ã¢â€šÂ¬Ã…â€œ ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â­ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã¢â‚¬Â¦ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â° ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â */
    opacity: 1;
    width: 6px;
    height: 6px;
}

.notice-pagination .swiper-pagination-bullet-active {
    background: #2B71E3;    /* ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â­ÃƒÆ’Ã¢â‚¬Â¦ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã¢â‚¬Â¦ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â«ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¾ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â */
    width: 16px;
    border-radius: 4px;
}

.notice-pagination{
    position: relative !important;
    margin: 0;
}

#taro-hero{height: 150px;}
#taroView-hero{height: 280px;}
#saju-hero{height: 15vh;}
#saju2-hero{height: 350px;}
#gwansang-hero{height: 500px; margin-bottom: -1px;}
.unse-card-wrap{
    margin-top: 12px;
    background: #fff;
    padding: 4px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-radius: 12px;
}
/* ÃƒÆ’Ã‚Â¬Ãƒâ€šÃ‚Â¹Ãƒâ€šÃ‚Â´ÃƒÆ’Ã‚Â«ÃƒÂ¢Ã¢â€šÂ¬Ã…â€œÃƒâ€¦Ã¢â‚¬Å“ ÃƒÆ’Ã‚Â¬Ãƒâ€šÃ‚Â ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¾ÃƒÆ’Ã‚Â¬Ãƒâ€šÃ‚Â²Ãƒâ€šÃ‚Â´ */
.unse-card {
    display: flex;
    padding: 12px 16px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 8px;
    align-self: stretch;
    cursor: pointer;
    border-radius: 12px;
    background: rgba(40, 116, 218, 0.08);
}

/* ÃƒÆ’Ã‚Â¬Ãƒâ€ Ã¢â‚¬â„¢Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â«ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¹Ãƒâ€šÃ‚Â¨ ÃƒÆ’Ã‚Â¬Ãƒâ€šÃ‚Â Ãƒâ€¦Ã¢â‚¬Å“ÃƒÆ’Ã‚Â«Ãƒâ€šÃ‚ÂªÃƒâ€šÃ‚Â© + ÃƒÆ’Ã‚ÂªÃƒâ€šÃ‚Â°ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÆ’Ã‚ÂªÃƒâ€šÃ‚Â²Ãƒâ€šÃ‚Â©/ÃƒÆ’Ã‚Â¬Ãƒâ€šÃ‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¹ÃƒÆ’Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¾ÃƒÆ’Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â */
.unse-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* ÃƒÆ’Ã‚Â¬Ãƒâ€šÃ‚Â Ãƒâ€¦Ã¢â‚¬Å“ÃƒÆ’Ã‚Â«Ãƒâ€šÃ‚ÂªÃƒâ€šÃ‚Â© */
.unse-title {font-size: 1rem;font-style: normal;font-weight: 700;line-height: normal;}

/* ÃƒÆ’Ã‚ÂªÃƒâ€šÃ‚Â°ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÆ’Ã‚ÂªÃƒâ€šÃ‚Â²Ãƒâ€šÃ‚Â© + ÃƒÆ’Ã‚Â¬Ãƒâ€šÃ‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¹ÃƒÆ’Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¾ÃƒÆ’Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â«Ãƒâ€šÃ‚Â¬Ãƒâ€šÃ‚Â¶ÃƒÆ’Ã‚Â¬Ãƒâ€šÃ‚ÂÃƒâ€¦Ã¢â‚¬â„¢ */
.unse-meta {
    display: flex;
    gap: 2px;
}

/* 유료 표시 */
.unse-charge {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 99px 8px 8px 99px;
    background: #FF0000;
}

/* 유료 표시 텍스트 */
.unse-charge-value {
    font-size: 12px;
    font-weight: 700;
    color:#fff;
}


/* ÃƒÆ’Ã‚ÂªÃƒâ€šÃ‚Â°ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÆ’Ã‚ÂªÃƒâ€šÃ‚Â²Ãƒâ€šÃ‚Â© */
.unse-price {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 8px 99px 99px 8px;
    background: #FFB600;
}

/* ÃƒÆ’Ã‚ÂªÃƒâ€šÃ‚Â°ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÆ’Ã‚ÂªÃƒâ€šÃ‚Â²Ãƒâ€šÃ‚Â© ÃƒÆ’Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¾ÃƒÆ’Ã‚Â¬Ãƒâ€šÃ‚ÂÃƒâ€šÃ‚Â´ÃƒÆ’Ã‚Â¬Ãƒâ€šÃ‚Â½Ãƒâ€¹Ã…â€œ */
.unse-price-icon {width: 1rem;}

/* ÃƒÆ’Ã‚ÂªÃƒâ€šÃ‚Â°ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÆ’Ã‚ÂªÃƒâ€šÃ‚Â²Ãƒâ€šÃ‚Â© ÃƒÆ’Ã‚Â¬Ãƒâ€¹Ã¢â‚¬Â Ãƒâ€šÃ‚Â«ÃƒÆ’Ã‚Â¬Ãƒâ€¦Ã‚Â¾Ãƒâ€šÃ‚Â */
.unse-price-value {
    font-size: 12px;
    font-weight: 700;
}

/* ÃƒÆ’Ã‚Â¬Ãƒâ€šÃ‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¹ÃƒÆ’Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¾ÃƒÆ’Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â */
.unse-like {
    display: flex;
    align-items: center;
    gap: 4px;
    border-radius: 8px 99px 99px 8px;
    background: #FFF;
    padding: 4px 8px;
}

/* ÃƒÆ’Ã‚Â¬Ãƒâ€šÃ‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¹ÃƒÆ’Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¾ÃƒÆ’Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¾ÃƒÆ’Ã‚Â¬Ãƒâ€šÃ‚ÂÃƒâ€šÃ‚Â´ÃƒÆ’Ã‚Â¬Ãƒâ€šÃ‚Â½Ãƒâ€¹Ã…â€œ */
.unse-like-icon {width: 1rem;}

/* ÃƒÆ’Ã‚Â¬Ãƒâ€šÃ‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¹ÃƒÆ’Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¾ÃƒÆ’Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¬Ãƒâ€¹Ã¢â‚¬Â Ãƒâ€šÃ‚Â«ÃƒÆ’Ã‚Â¬Ãƒâ€¦Ã‚Â¾Ãƒâ€šÃ‚Â */
.unse-like-count {font-size: 12px;font-weight: 700;}

/* ÃƒÆ’Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¾Ãƒâ€šÃ‚Â¤ÃƒÆ’Ã‚Â«Ãƒâ€šÃ‚ÂªÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦ ÃƒÆ’Ã‚Â­ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦Ãƒâ€šÃ‚ÂÃƒÆ’Ã‚Â¬Ãƒâ€¦Ã‚Â Ãƒâ€šÃ‚Â¤ÃƒÆ’Ã‚Â­Ãƒâ€¦Ã‚Â Ãƒâ€šÃ‚Â¸ */
.unse-desc {color: #000;font-size: 14px;font-style: normal;font-weight: 400;line-height: 20px; /* 142.857% */}

/* ÃƒÆ’Ã‚Â­Ãƒâ€ Ã¢â‚¬â„¢Ãƒâ€¦Ã¢â‚¬Å“ÃƒÆ’Ã‚ÂªÃƒâ€šÃ‚Â·Ãƒâ€šÃ‚Â¸ ÃƒÆ’Ã‚Â«Ãƒâ€šÃ‚Â°ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¢ÃƒÆ’Ã‚Â¬Ãƒâ€¦Ã‚Â Ãƒâ€šÃ‚Â¤ */
.unse-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 10px;
}

/* ÃƒÆ’Ã‚ÂªÃƒâ€šÃ‚Â°Ãƒâ€¦Ã¢â‚¬Å“ÃƒÆ’Ã‚Â«Ãƒâ€šÃ‚Â³ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¾ ÃƒÆ’Ã‚Â­Ãƒâ€ Ã¢â‚¬â„¢Ãƒâ€¦Ã¢â‚¬Å“ÃƒÆ’Ã‚ÂªÃƒâ€šÃ‚Â·Ãƒâ€šÃ‚Â¸ */
.unse-tag {border-radius: 99px;border: 1px solid rgba(40, 115, 218, 0.50);padding: 5px 6px;color: rgba(40, 115, 218, 0.50);font-weight: 700;font-size: 12px;}
.notice-pagination{height: 14px;}
.form-control-lg{border-radius: 10px !important;}
.tw-rounded-md{border-radius: 8px !important;}
.form-control{}
.form-select{border-radius: 8px !important;}
.md_top_bg{display: none;}

.loginBox{
    text-align: center;
}
.loginContainer{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

/* ppb2 */


.category-button {
    /* margin: 5px; */
    border-color: #1d586f;
    color: #1d586f;
    line-height: 1;
    width: calc(12.5% - 0.5rem);
    padding: .375rem 0;
}

.category-button.active {
    background-color: #1d586f;
    border-color: #1d586f;
    color: white;
}

.category-button:hover {
    background-color: #1d586f;
    border-color: #1d586f;
    color: white;
}

.category-button:active,
.category-button:focus {
    border: 1px solid #1d586f !important;
    box-shadow: none !important;
    outline: none !important;
}

.love_select:active,
.love_select:focus {
    border: none !important;
    box-shadow: none !important;
    outline: 1px solid #1d586f !important;
}

.love_input:active,
.love_input:focus {
    border: none !important;
    box-shadow: none !important;
    outline: 1px solid #1d586f !important;
}

#selectedCards {
    margin-bottom: 20px; /* 여기 추가 */
}

#cardList {
    position: relative;
    width: 100%;
    margin-top: 3rem;
    margin-bottom: 3rem;
}/* 선택 카드와 카드 리스트 사이 간격 수정 -- 2025/04/28, kkoo2324 */

/* 카드섞기 버튼 추가 -- 2025/04/29, kkoo2324 */
.shuffle_btn {
    position: absolute;
    top: 0;
    left: 0;
}

.shuffle_btn>.btn {
    background: #333;
    color: #fff;
    line-height: 1;
    font-size: 0.875rem;
}

.shuffle_btn>.btn:active,
.shuffle_btn>.btn:focus {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

/* 모바일에서 input datepicker 영역 안보이게 -- 2025/04/28, kkoo2324 */
.flatpickr-input.flatpickr-mobile {
    width: 0px;
    height: 0px;
    opacity: 0;
    padding: 0;
    margin: 0;
}

.warning-text {
    white-space: pre-line;
}

.taro_top_img {
    position: relative;
    width: 100%;
    height: 18rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.br_mo {
    display: none;
}

@media (min-width: 567px) {
    .taro_container {
        max-width: 100% !important;
    }
}

@media (max-width: 1500px) {
    .category-button {
        width: calc(25% - 1rem);
    }
}

@media (max-width: 960px) {
    .category-button {
        padding: 0.25rem 0;
        font-size: 0.875rem;
        width: calc(25% - 0.6rem);
    }
}

@media (max-width: 768px) {
    #header{padding: 1rem 0.9375rem;}
    #cardList {
        margin-top: 1.85rem;
    }

    #selectedCards {
        max-width: 320px;
        margin: 0 auto 1rem;
    }

    .shuffle_btn {
        left: 0;
    }

    .shuffle_btn>.btn {
        padding: 0.25rem 0.4rem;
        font-size: 0.75rem;
        height: 28px;
    }

    .warning-text {
        white-space: normal !important;
    }
}

@media (max-width: 560px) {
    .taro_top_img {
        height: 13rem;
    }
}

@media (max-width: 480px) {
    .category-button {
        font-weight: 500;
    }

    .taro_top_img {
        height: 12rem;
    }

    .br_mo {
        display: block;
    }
}

@media (max-width: 400px) {
    .category-button {
        padding: 0.2rem 0;
        font-size: 0.8125rem;
        font-weight: 400;
    }

    .taro_top_img {
        height: 11rem;
    }
}

@media (max-width: 360px) {
    #categoryButtons.gap-2 {
        gap: 0.25rem !important;
    }

    .taro_top_img {
        height: 10rem;
    }
}


/* active ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚ÂÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â­ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã¢â‚¬Å“ */
.nav-item.active {
    color: #1E63DA;
}

.nav-item.active .nav-icon-wrap {
}

.nav-item.active .nav-icon {
    opacity: 1;
}

.nav-item.active .nav-label {
    font-weight: 600;
}


  
@media (max-width:1024px) {
    .mo_view_txt{
        display: block !important;
    }
    .container-fluid{padding: 0 !important;height: auto;}
    .main_wrap{border-radius: 0px;border: 0px;max-width: none;height: 100vh !important;}
    .dt_on{display: none !important; opacity:0 !important;}
    #home-hero {
        height: 360px;
    }
    #gwansang-hero{height: 600px;}
    #saju2-hero{height: 440px;}
    .md_top_bg{display: block;}
    .lg_top_bg{display: none;}
}
@media (max-width:768px) {
    /* 정보입력페이지에 있는 birth_box css 추가 -- 2025/04/16, kkoo2324 */
    .birth_box{
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: flex-start;
    }
    .birth_box > select[name=solunar]{
        width:25%;
    }
    .birth_box > select[name=youn]{
        width:25%;
    }
    .birth_box > input{
        width:45%; height:48px;
    }
    .birth_box > select[name=request_hour]{
        width:100%; margin:1rem 0 0 0 !important;
    }
    .birth_box > select[name=your_solunar]{
        width:25%;
    }
    .birth_box > select[name=your_youn]{
        width:25%;
    }
    .birth_box > select[name=your_hour]{
        width:100%; margin:1rem 0 0 0 !important;
    }
}
@media (max-width:640px) {
    #main #first_menu > .custom-radio{
        width:33.3333%;
    }
    #gwansang-hero{height: 400px;}
}
@media (max-width:560px) {
    .mo_br_560{display: block;}
    #main .custom-card .custom-card-title .title{font-size:0.9375rem;}
    #main .custom-card .custom-card-title .menu > span{font-size:0.9375rem;}
}
@media (max-width:480px) {
    .md_top_bg{display: none;}
    .lg_top_bg{display: block;}
    
    #gwansang-hero{height: 600px;}
    #saju2-hero{height: 400px;}
}
@media (max-width:420px) {
    #home-hero {
        height: 260px;
    }
    #gwansang-hero{height: 400px;}
    #saju2-hero{height: 350px;}
}
@media (max-width:345px) {
    .birth_box > input{
        width:44%;
    }
}

/* taro */
.category-button {
    /* margin: 5px; */
    border-color: #1d586f;
    color: #1d586f;
    line-height: 1;
    width: calc(12.5% - 0.5rem);
    padding: .375rem 0;
}

.category-button.active {
    background-color: #1d586f;
    border-color: #1d586f;
    color: white;
}

.category-button:hover {
    background-color: #1d586f;
    border-color: #1d586f;
    color: white;
}

.category-button:active,
.category-button:focus {
    border: 1px solid #1d586f !important;
    box-shadow: none !important;
    outline: none !important;
}

.love_select:active,
.love_select:focus {
    border: none !important;
    box-shadow: none !important;
    outline: 1px solid #1d586f !important;
}

.love_input:active,
.love_input:focus {
    border: none !important;
    box-shadow: none !important;
    outline: 1px solid #1d586f !important;
}

#selectedCards {
    margin-bottom: 20px; /* 여기 추가 */
    padding: 0px 12px;
}

#cardList {
    position: relative;
    width: 100%;
    margin-top: 3rem;
}/* 선택 카드와 카드 리스트 사이 간격 수정 -- 2025/04/28, kkoo2324 */

/* 카드섞기 버튼 추가 -- 2025/04/29, kkoo2324 */
.shuffle_btn {
    position: absolute;
    top: 0;
    right: 0;
    left: auto;
}

.shuffle_btn>.btn {
    background: #333;
    color: #fff;
    line-height: 1;
    font-size: 0.875rem;
}

.shuffle_btn>.btn:active,
.shuffle_btn>.btn:focus {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

/* 모바일에서 input datepicker 영역 안보이게 -- 2025/04/28, kkoo2324 */
.flatpickr-input.flatpickr-mobile {
    width: 0px;
    height: 0px;
    opacity: 0;
    padding: 0;
    margin: 0;
}

.warning-text {
    white-space: pre-line;
}

.taro_top_img {
    position: relative;
    width: 100%;
    height: 18rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.br_mo {
    display: none;
}

@media (min-width: 567px) {
    .taro_container {
        max-width: 100% !important;
    }
}

@media (max-width: 1500px) {
    .category-button {
        width: calc(25% - 1rem);
    }
}

@media (max-width: 960px) {
    .category-button {
        padding: 0.25rem 0;
        font-size: 0.875rem;
        width: calc(25% - 0.6rem);
    }
}

@media (max-width: 768px) {
    #cardList {
        margin-top: 1.85rem;
    }

    #selectedCards {
        max-width: 100%;
        margin: 0 auto 1rem;
    }

    .shuffle_btn {
    }

    .shuffle_btn>.btn {
        padding: 0.25rem 0.4rem;
        font-size: 0.75rem;
    }

    .warning-text {
        white-space: normal !important;
    }
}

@media (max-width: 560px) {
    .taro_top_img {
        height: 13rem;
    }
}

@media (max-width: 480px) {
    .category-button {
        font-weight: 500;
    }

    .taro_top_img {
        height: 12rem;
    }

    .br_mo {
        display: block;
    }
}

@media (max-width: 400px) {
    .category-button {
        padding: 0.2rem 0;
        font-size: 0.8125rem;
        font-weight: 400;
    }

    .taro_top_img {
        height: 11rem;
    }
}

@media (max-width: 360px) {
    #categoryButtons.gap-2 {
        gap: 0.25rem !important;
    }

    .taro_top_img {
        height: 10rem;
    }
}
/* taro end */