/*=================================================
            [Goods] lists.php
=================================================*/
#goods-lists-page .filter-wrap {
    display: flex;

    padding: 1.143rem 0;

    justify-content: space-between;
}

#goods-lists-page .filter-wrap .filter-title {
    background-color: var(--helper-color-primary);
    border-radius: 3px;
}

#goods-lists-page .component-wrap[data-id='gds_item'] {
    display: flex;

    flex-direction: column;

    gap: 1.143rem;
}

#goods-lists-page .drawer-alert .form-group:not(:last-child) {
    margin-bottom: 0;
    padding-bottom: 1.25rem;
    border-bottom: none;
}

#goods-lists-page .form-title {
    padding-bottom: 0.857rem;

    border-bottom: 1px solid #DEE2E6;
}

#goods-lists-page .top-btn {
    position: fixed;
    bottom: 10%;
    right: 4%;

    z-index: 999;
}

#goods-lists-page .up-btn {
    background-color: #ffffff;
    border: 1px solid #DEE2E6;
    border-radius: 50%;
    box-shadow: 0px 0px 0.875rem 0px rgba(0, 0, 0, 0.08);
}

/* @media (min-width: 1400px){
    #goods-lists-page .top-btn {
        margin: 0 33rem;
    }
} */

/*=================================================
            [Search] index.php
=================================================*/
#search-index-page .input-outter {
    margin-bottom: 1.143rem;
    padding: 0.5rem;

    background-color: #F1F1F1;
}

#search-index-page .form-control {
    color: #222222;
    background-color: #F1F1F1;
}

#search-index-page .lists_wrap {
    padding: 1.143rem 0;

    cursor: pointer;
}

#search-index-page .search-content {
    padding: 0.857rem 0;
}

/* @media (min-width: 1400px){
    #search-index-page .line {
        margin: 0 38rem;
    }
} */

/*=================================================
            [Chat] lists.php
=================================================*/
#chat-lists-page .chat-bar {
    padding: 1rem;

    background-color: #E7F8FF;
    text-align: center;
}

#chat-room-page .chat-bar {
    padding: 1rem;

    background-color: #E7F8FF;
    text-align: center;
}


#chat-lists-page .chat-input-srch {
    display: grid;
    grid-template-columns: 1fr auto;

    padding: 1rem 1.25rem;

    align-items: center;

    border: 1px solid #dddddd;
}

#chat-lists-page .chat-lists-item {
    display: flex;
    flex-direction: column;

    gap: 1.143rem;
}

.chat-lists-item .lists-item {
    padding: 1.5rem 0;

    border: 1px solid #dddddd;
    border-radius: 3px;
}

.chat-lists-item .item-badge .badge {
    height: auto;
    padding: 0.375rem 0.25rem 0.25rem;

    font-weight: 500;

    background-color: var(--helper-color-primary);
    border-radius: 4px;
}

/* @media (min-width: 1400px){
    #chat-lists-page .chat-bar
    {
        margin: 1.143rem 38rem;
    }
} */

/*=================================================
            [Chat] room.php
=================================================*/
#chat-room-page .item-title-title .item-title {
    flex: 1 0 0;
}

#chat-room-page .chat_wrap .chat_bubble_wrap.my_chat .bubble_text {
    background-color: var(--helper-color-primary);
    color: #ffffff;

    border-radius: 3px;
}

#chat-room-page .chat_wrap .chat_bubble_wrap .bubble_text {
    border-radius: 3px;
}

.chat-pop-btn {
    padding: 1.5rem;
}

#chat-room-page .chat_wrap .send-text-wrap .chat-upload-btn {
    padding: 0.375rem 0.5rem;
}

#goods-view-body #gnb-wrap .popover {
    width: 6rem;

    transform: translate(-3.07rem, 3.07rem) !important;
}

.chat-pop-btn .popover {
    width: 6rem;

    transform: translate(73.93rem, 3.07rem) !important;
}

#chat-room-page .popover-body .pop-item,
#goods-view-body .popover-body .pop-item{
    text-align: center;
}

#chat-room-page .chat-box{
    border: none;
}

#chat-room-page .chat-view-box{
    border: 1px solid #dddddd;
    border-radius: 0.25rem;
}

#chat-room-page .chat-view-top{
    border-bottom: 1px solid #dddddd;
}

.chat_wrap .message_wrap{
    height: calc(100% - 15.625rem);
    padding: 1.25rem 1.25rem 0;
}

.chat_wrap .chat_bubble_wrap[data-type="image"] .bubble_text{
    background-color: transparent !important;
}

.chat_wrap .user-image{
    width: 2.25rem;
}

.chat_wrap .chat_bubble_wrap.my_chat .user-image{
    display: none;
}

@media (min-width: 100px) and (max-width: 767.98px){
    #chat-room-page .chat-view-box {
        height: calc(100vh - 7rem);
    }

    .chat-pop-btn .popover {
        width: 6rem;

        transform: translate(19.93rem, 3.07rem) !important;
    }
}


.chat-lists-wrap {
    margin: 1.143rem 0 4rem;
}

/*=================================================
            [Section] safe.php
=================================================*/
/*****#####===== 공통 =====#####*****/
#main-safe-page .section-wrap {
    padding: 0;
}

/*****#####===== safe_title =====#####*****/
.section-wrap[data-layout="safe_title"] .safe-title-wrap {
    padding: 1.71rem 1.71rem 3rem;

    text-align: center;
}

.section-wrap[data-layout="safe_title"] .safe-title {
    margin-top: 1.143rem;

    color: var(--helper-color-secondarylight);

    font-size: 1.71rem;
    font-weight: 700;
}

.section-wrap[data-layout="safe_title"] .title-img {
    width: 9rem;

    margin: 1.143rem auto 0;
}

/*****#####===== safe_content =====#####*****/
.section-wrap[data-layout="safe_content"] .img-wrap {
    display: flex;

    gap: 1.71rem;
    padding: 1.71rem 3rem;

    flex-direction: column;

    background-color: #F7F7F7;
}

.section-wrap[data-layout="safe_content"] .item-img {
    width: 18rem;
}

.section-wrap[data-layout="safe_content"] .main-title {
    color:  var(--helper-color-primarydark);

    font-size: 1.5rem;
    font-weight: 700;
}

.section-wrap[data-layout="safe_content"] .item-img-wrap {
    display: flex;

    gap: 1.143rem;
    padding: 1.71rem 1.36rem 3.57rem;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    background-color: var(--helper-color-secondary);
}

.section-wrap[data-layout="safe_content"] .img-title-wrap {
    text-align: center;
}

/*****#####===== safe_bottom =====#####*****/
.section-wrap[data-layout="safe_bottom"] .safe-info-wrap {
    padding-top: 1.71rem;
}

.section-wrap[data-layout="safe_bottom"] .safe-bottom-title {
    font-size: 1.5rem;
    font-weight: 700;

    color:  var(--helper-color-primarydark);
}

.section-wrap[data-layout="safe_content"] .img-title {
    color:  var(--helper-color-primarydark);
}

.section-wrap[data-layout="safe_bottom"] .safe-content {
    padding: 1.71rem;
}

.section-wrap[data-layout="safe_bottom"] .item-img {
    width: 100%;
}

.section-wrap[data-layout="safe_bottom"] .img-subtitle strong {
    font-weight: 600;
}

/*================================================
            [Controller] goods
=================================================*/
/**#####===== [Page] 리스트 =====#####**/
/**##### 네비게이션 #####**/
/**== 네비게이션 wrap ==**/
.gds-nav-wrap {
    color: var(--helper-color-secondarylight);

    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.gds-nav-wrap:first-child {
    border-bottom: 1px solid #DEE2E6;
}

.gds-nav-wrap::-webkit-scrollbar {
    display: none;
}

.gds-nav-wrap.top-nav {
    border-bottom: 1px solid #DEE2E6;
}

/**== 1차 네비게이션 아이템 ==**/
.gds-nav-item {
    display: inline-block;

    padding: 0.625rem;
}

.gds-nav-item.active{
    color: var(--helper-color-primarydark);
    font-weight: 700;

    border-bottom: 3px solid var(--helper-color-primarydark);
}

/**== 2차 네비게이션 아이템 ==**/
.gds-nav-title {
    display: inline-block;

    padding: 10px;

    border-bottom: none;
}

.gds-nav-title.active{
    color: var(--helper-color-primary);
}

/*=================================================
           [Goods] view.php
=================================================*/
#goods-view-page{
    padding-bottom: 0;
}

/***** view-img-wrap  *****/
#goods-view-page .view-img-wrap {
    position: relative;

    max-width: inherit;
}

#goods-view-page .slick-slide {
    width: 100%;
}

#goods-view-page .slick-wrap {
    padding: 0;
}

#goods-view-page .view-img-wrap .slide-btn-wrap {
    position: absolute;
    display: flex;

    right: 3%;
    bottom: 7%;
    padding: 0.375rem 0.625rem;
    gap: 0.5rem;

    font-size: 1rem;

    text-align: center;
    border-radius: 2.14rem;

    background-color: var(--helper-color-secondarydark);

    z-index: 1;

    cursor: pointer;
}

.temp-section-wrap[data-id="SMG-002-more"],
.temp-section-wrap[data-id="SMG-002-similar"]{
    min-height: 5rem;
}

.temp-section-wrap[data-id="SMG-002-brief"] {
    display: flex;
    flex-direction: column;

    gap: 0.43rem;
    padding: 1.143rem 0;
}

#goods-view-page .item-title-wrap {
    display: flex;

    justify-content: space-between;

    color: var(--helper-color-primarydark);
}

#goods-view-page .item-content-wrap {
    display: flex;

    gap: 0.43rem;

    color: var(--helper-color-primarydark);
}

#goods-view-page #explanation .ex-title {
    line-height: 1.6;
}

#goods-view-page .ex-title {
    color: var(--helper-color-primarydark);
}

#goods-view-page .item-btn {
    border-radius: 8px;
}

/***** view-nav-wrap  *****/
#goods-view-page .view-nav-wrap {
    display: flex;
    position: sticky;

    top: 5rem;

    justify-content: space-between;

    background-color: var(--helper-color-secondary);
    border-bottom: 1px solid var(--helper-color-accentlight);

    z-index: 9;
}

#goods-view-page .view-nav-item .nav-title {
    padding: 1.143rem 2rem;
    color: var(--helper-color-secondarylight);

    cursor: pointer;
}

#goods-view-page .view-nav-item .nav-title.active {
    font-weight: 700;
    border-bottom: 2px solid var(--helper-color-primarydark);
}

/***** card-lists-item  *****/
#goods-view-page .card-lists-item {
    padding: 0;
}

#goods-view-page .card-lists-item  .item-desc-wrap {
    display: flex;
    flex-direction: column;

    gap: 1.143rem;
}

#goods-view-page .item-lists-wrap {
    padding: 0;
    gap: 1.71rem;
}

.temp-section-wrap[data-id="SMG-002-profile"] {
    margin: 1.143rem 0;
}

.temp-section-wrap[data-id="SMG-001-trade"] {
    padding-bottom: 1.143rem;
}

#goods-view-page .item-wrap {
    display: grid;
    grid-template-columns: 4.78rem 1fr;

    gap: 1.143rem;

    align-items: center;
}

#goods-view-page .lists-item-wrap {
    padding-bottom: 1.143rem;
}

#goods-view-page .btn-lists-wrap {
    position: sticky;

    bottom: 0;
    display: flex;
    flex-direction: column;

    gap: 0.857rem;
    padding: 1.143rem;

    border-top: 2px solid #DEE2E6;

    background-color: var(--helper-color-secondary);

    z-index: 100;
}

/* @media (min-width: 1400px){
    #goods-view-page .btn-lists-wrap {
        position: static;
        bottom: auto;

        margin: 1.143rem 37rem;
    }
} */

/*=================================================
           [User] login.php
=================================================*/
#user_login {
    display: flex;
    justify-content: center;
    align-items: center;

    height: 80vh;
}

#user-login-page .page-wrap[data-menu='user'] {
    height: 100vh;
}

#user-login-page .logo-wrap {
    display: flex;

    width: 100%;

    justify-content: center;
}

#user-login-page .kakao-wrap {
    width: 100%;

    margin-top: 1.5rem;
    padding: 0.857rem;
    background-color: #FEE500;
}

#user-login-page .content-wrap {
    width: 100%;

    padding: 0.857rem;
    margin-top: 2.5rem;

    text-align: center;
}

#user-login-page .sns-login-wrap .content-wrap[aria-expanded="true"] .other-collapse-arrow {
    display: inline-block;

    transform: rotateZ(-180deg);
}

#user-login-page .google-wrap,
#user-login-page .email-wrap {
    width: 100%;

    margin-top: 1.143rem;
    padding: 0.857rem;

    text-align: center;

    background-color: #F1F1F1;
}

/*=================================================
           [User] signup.php
=================================================*/
#user-signup-page .underline-title-wrap {
    padding-bottom: 0.857rem;

    border-bottom: 1px solid #222222;
}

#user-signup-page .terms-box {
    margin-top: 1.3rem;
}

/*=================================================
           [User] findid.php
=================================================*/
#user-findid-page .page-subtitle {
    padding-bottom: 1.143rem;

    border-bottom: 1px solid #222222;
}

/*=================================================
           [User] findpw.php
=================================================*/
#user-findpw-page .page-subtitle {
    padding-bottom: 1.143rem;

    border-bottom: 1px solid #222222;
}

/*=================================================
           [User] leave_complete.php
=================================================*/
#user-leave_complete-body .page-wrap:not([data-menu="component"]) {
    padding: 7rem 0;
}

/*=================================================
           [Render] terms.php
=================================================*/
.tab-menu-block .tab-item {
    display: block;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    color: #555555;
    text-align: center;
    border: none;
    border-radius: 0;
}

.tab-menu-block .tab-item.active {
    font-weight: 700;
    color: var(--helper-color-primarydark);
    border-bottom: 2px solid var(--helper-color-primarydark);
}


/*=================================================
            [Chat] Guide.php
=================================================*/
#chat-guide-page .header-title-wrap .title-title{
    margin-bottom: 0.5rem;

    font-size: 1.5rem;
}

#chat-guide-page .tab-content-wrapper{
    padding: 0.5rem 1rem;
}

#chat-guide-page .tab-content-wrapper .tab-content-wrap{
    display: none;
}

#chat-guide-page .tab-content-wrapper .tab-content-wrap.show{
    display: block;
}

#chat-guide-page .tab-content-wrapper .tab-content-title{
    margin: 2rem 0 2.5rem;
}

#chat-guide-page .tab-content-wrapper .tab-gap-wrap{
    display: flex;
    flex-direction: column;
    row-gap: 2.5rem;
}

#chat-guide-page .tab-content-wrapper .tab-gap-item-wrap .item-title-wrap{
    margin-top: 0.625rem;
}

#chat-guide-page .tab-content-wrapper .tab-gap-item-wrap .item-title-wrap .item-desc{
    margin-top: 0.625rem;
}
