:root {
    --helper-color-primary: #404040;
    --helper-color-primarylight: #757575;
    --helper-color-primarydark: #2e2e2e;
    --helper-color-secondary: #555555;
    --helper-color-secondarylight: #999999;
    --helper-color-secondarydark: #222222;
    --helper-color-success: #198754;
    --helper-color-successlight: #EAFFF5;
    --helper-color-naver: #1ec800;
    --helper-color-fb: #475595;
    --helper-color-kakao: #fee500;
    --helper-color-google: #dfdfdf;
    --helper-color-danger: #DC3545;
    --helper-color-dangerlight: #FFF3F0;
    --helper-color-info: #0DCAF0;
    --helper-color-border: #D9D9D9;
}


html, body {
    color: #404040;
}

body::-webkit-scrollbar {
    display: none
}

.wrapper{
    background-image: url("../data/img/component/wrapper_bg.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.wrapper .wrapper-inner{
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1040px;
    height: 100dvh;
    margin: 0 auto;
}

.wrapper .web-print{
    width: 100%;
    height: 100dvh;
    color: #05141f;
}

.wrapper .wrapper-inner .page-wrap {
    position: relative;

    background-color: #ffffff;
    box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.2);

    -ms-overflow-style: none; /* for Internet Explorer, Edge */
    scrollbar-width: none; /* for Firefox */
    overflow-y: scroll;
}

.wrapper .wrapper-inner .page-wrap.compensate-for-scrollbar{
    overflow-y: hidden;
}

.wrapper .wrapper-inner .page-wrap::-webkit-scrollbar {
    display: none; /* for Chrome, Safari, and Opera */
}

.wrapper .web-print .print-title-wrap{
    color: #404040;
}

.wrapper .web-print .print-title-wrap .title-subtitle{
    margin-top: 0.5rem;

    font-size: 1.25rem;
}

.wrapper .web-print .print-title-wrap .copyright-wrap{
    margin-top: 2rem;

    font-size: 0.875rem;
}

@media screen and (max-width: 1040px) {
    .wrapper .wrapper-inner {
        grid-template-columns: 1fr;

        max-width: 520px;
    }

    .wrapper .web-print{
        display: none;
    }
}



#gnb-wrap{
    border-bottom: none;
}

#gnb-wrap .gnb{
    display: flex;

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

    color: #404040;
}

#gnb-wrap .gnb .nav-logo-wrap{
    position: absolute;
    top: 50%;
    left: 50%;

    display: flex;
    justify-content: center;

    width: 8rem;

    transform: translate(-50%,-50%);
}

#gnb-wrap .gnb .nav-side-wrap{
    display: flex;

    align-items: center;
}

#gnb-wrap .gnb .nav-side-wrap .nav-side-item{
    padding: 0.875rem;
    font-size: 1.7rem;
}

/*=================================================
            [Component] gnb-menu-wrap
=================================================*/
.gnb-menu-wrap{
    position: fixed;
    top: 0;
    width: 520px;
    height: 100%;

    background-color: rgba(0,0,0,0.8);

    z-index: 100;

    opacity: 0;
    visibility: hidden;

    transform: translateX(-100%);
    transition: all 0.5s ease-in-out;
}

.gnb-menu-wrap.show{
    opacity: 100%;
    visibility: visible;
    transform: translateX(0);

}

.gnb-menu-wrap .gnb-menu-inner{
    width: 85%;
    height: 100%;

    padding-bottom: 2rem;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    background-color: #ffffff;
}

.gnb-menu-wrap .gnb-menu-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gnb-menu-wrap .gnb-menu-header .nav-logo-wrap{
    margin-left: 1rem;

    width: 8rem;
}

.gnb-menu-wrap .gnb-menu-header .gnb_menu_btn{
    padding: 1rem;

    font-size: 1.5rem;
}

.gnb .gnb_menu_btn .gnb-menu-indicator{
    position: relative;
}

.gnb .gnb_menu_btn .gnb-menu-indicator .gnb-menu-item-badge{
    position: absolute;
    top: -0.5rem;
    right: -1rem;
    width: 1.5rem;
    height: 1.5rem;
    line-height: 1.5rem;
    text-align: center;
    border-radius: 100%;
    background-color: #db1111;
    font-size: 0.875rem;
    font-weight: bold;
    color: #ffffff;
}

.gnb-menu-wrap .gnb-menu-content{
    display: flex;
    flex-direction: column;

    padding: 2rem 1rem;

    gap: 0.5rem;
}

.gnb-menu-wrap .gnb-menu-content .gnb-menu-item{
    padding: 0.75rem 0;
    font-size: 1.5rem;
    font-weight: 500;
}

.gnb-menu-wrap .gnb-menu-content .gnb-menu-item .gnb-menu-item-title{
    position: relative;
}

.gnb-menu-wrap .gnb-menu-content .gnb-menu-item .gnb-menu-item-title .gnb-menu-item-badge{
    position: absolute;
    top: -1rem;
    right: -1.5rem;
    width: 1.5rem;
    height: 1.5rem;
    line-height: 1.5rem;
    text-align: center;
    border-radius: 100%;
    background-color: #db1111;
    font-size: 0.875rem;
    font-weight: bold;
    color: #ffffff;
}


.gnb-menu-wrap .gnb-menu-footer{
    padding: 0 1rem;
}

@media (max-width: 767.98px) {
    .gnb-menu-wrap{
        width: 100%;
    }
}

/*=================================================
            [Component] footer-wrap
=================================================*/
.footer-wrap{
    margin-top: 2rem;
    padding: 1.25rem 0 2.5rem;
}

.footer-wrap .footer-content-wrap .logo-wrap{
    width: 7rem;

    margin-bottom: 1.25rem;
}

.footer-wrap .footer-content-wrap .info-wrap{
    display: flex;
    flex-direction: column;
    gap: 0.75rem;

    color: #B0B0B0;

    font-size: 0.75rem;
}

.footer-wrap .footer-content-wrap .info-wrap .info-item-wrap{
    display: flex;
    align-items: center;

    gap: 0.875rem;
}

/*=================================================
            [Component] common
=================================================*/
.full-height-wrap{
    height: calc(100dvh - 61px);
}

.full-height-wrap.except-nav{
    height: calc(100dvh);
}

.full-height-wrap.center-content{
    align-content: center;
}


/*=================================================
            [Component] column-flex-lists-wrap
=================================================*/
.column-flex-lists-wrap {
    display: flex;
    flex-direction: column;

    gap: 1rem;
}

/*=================================================
            [Component] page-title-wrap
=================================================*/
.page-title-wrap{
    margin-bottom: 1.5rem;

    text-align: center;
}

.page-title-wrap .page-subtitle {
    margin-top: 0.5rem;
}

.page-title-wrap .page-title {
    font-size: 1.5rem;
    font-weight: 700;
}

.page-title-wrap .page-subtitle{
    margin-top: 1rem;

    color: #999999;
}


/*=================================================
            [Component] section-lists-wrapper
=================================================*/
.section-lists-wrapper{
    display: flex;
    flex-direction: column;

    gap: 2rem;
}

/*=================================================
            [Component] section-wrapper
=================================================*/
/*****#####===== 공통 =====#####*****/
.section-wrapper .wrapper-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;

    padding: 1rem 0;
}

.section-wrapper .wrapper-header .title-wrap .title-title{
    font-size: 1.25rem;
    font-weight: bold;
}

.section-wrapper .wrapper-header .title-wrap .title-subtitle{
    color: #8e8e8e;
}

.section-wrapper .wrapper-header .func-wrap{
    color: #8e8e8e;
}

/*=================================================
            [Component] page-info-wrap
=================================================*/
.page-info-wrap{
    display: flex;
    flex-direction: column;
    gap: 0.5rem;

    padding: 1rem;

    background: #f3f3f3;
}

.page-info-wrap .page-info-item{
    position: relative;

    padding-left: 2rem;

    font-size: 0.875rem;
}

.page-info-wrap .page-info-item:before{
    content: '';
    position: absolute;
    top: 0.55em;
    left: 1em;
    width: 5px;
    height: 5px;

    background: #575757;
    border-radius: 100%;

    transform: translate(-50%,-50%);
}

/*=================================================
            [Component] gds_lists
=================================================*/
.component-wrap[data-id="gds_lists"]{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;

    gap: 1rem;
}

/*=================================================
            [Component] gds_item
=================================================*/
.component-wrap[data-id="gds_item"] .item-wrap .item-image-wrap{
    border-radius: 0.5rem;

    overflow: hidden;
}

.component-wrap[data-id="gds_item"] .item-wrap .item-image-wrap .gds-soldout-wrap{
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    color: #ffffff;
    text-align: center;
    font-weight: bold;

    display: flex;
    align-items: center;
    justify-content: center;
}

.component-wrap[data-id="gds_item"] .item-wrap .item-info-wrap{
    margin-top: 1rem;
}

.component-wrap[data-id="gds_item"] .item-wrap .item-info-wrap .item-price-wrap{
    display: flex;
    align-items: center;

    gap: 0.3rem;

    margin-top: 0.7rem;
}

.component-wrap[data-id="gds_item"] .item-wrap .item-info-wrap .item-price-wrap .item-discount{
    color: #F15746;
}

/*=================================================
            [Component] mgr_lists
=================================================*/
.component-wrap[data-id="mgr_lists"]{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;

    gap: 1rem;
}

/*=================================================
            [Component] mgr_item
=================================================*/
.component-wrap[data-id="mgr_item"] .item-wrap .item-image-wrap{
    border-radius: 0.5rem;

    overflow: hidden;
}

.component-wrap[data-id="mgr_item"] .item-wrap .item-info-wrap{
    margin-top: 1rem;
}

/*=================================================
            [Component] search-input-group
=================================================*/
.search-input-group{
    display: flex;
    align-items: center;

    padding: 0.3rem 0.7rem 0.3rem 0;

    border-radius: 0.5rem;
    border: 1px solid #f2f2f2;

    background-color: #f2f2f2;
}

.search-input-group .search-input-icon{
    padding: 0 0.7rem;
}

.search-input-group .form-control{
    border: none;
    background-color: inherit;
}


/*=================================================
            [Component] form-line-wrap
=================================================*/
.form-line-wrap{
    display: flex;
    flex-direction: column;
    gap: 1.25rem;

    background-color: #E7E7E7;
}

.form-line-wrap .form-group-wrap{
    padding: 1rem 12px;
    background-color: #ffffff;
}


.form-line-wrap .form-group-wrap .group-title{
    margin-bottom: 1.25rem;

    font-size: 1.125rem;
    font-weight: bold;
}


.form-line-wrap .form-group-wrap .group-content-wrap .form-group:not(:last-child) {
    margin-bottom: 1rem;
}

.form-line-wrap .form-group-wrap .group-content-wrap .form-group.horizontal{
    display: flex;
    gap: 0.5rem;
}

.form-line-wrap .form-group-wrap .group-content-wrap .form-group.horizontal .form-each-input{
    flex-grow: 1;
}

/*=================================================
            [Component] ordg-group-wrap
=================================================*/
.ordg-group-lists{
    display: flex;
    flex-direction: column;

    gap: 1.25rem;
}

.ordg-group-wrap .ordg-group-title-wrap{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ordg-group-wrap .ordg-group-content-wrap{
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid #D8D8D8;
    border-radius: 0.5rem;
}

.ordg-group-wrap .ordg-group-content-wrap .ordg-item-wrap{
    display: flex;
    gap: 0.625rem;
}

.ordg-group-wrap .ordg-group-content-wrap .ordg-item-wrap:not(:first-child){
    position: relative;

    padding-top: 2.5rem;
}

.ordg-group-wrap .ordg-group-content-wrap .ordg-item-wrap:not(:first-child)::before{
    content: "";
    position: absolute;
    top: 1.25rem;
    left: 0;
    width: 100%;
    height: 1px;

    background-color: #D8D8D8;
}

.ordg-group-wrap .ordg-group-content-wrap .ordg-item-wrap .item-checkbox .pretty{
    margin-right: 0;
}


.ordg-group-wrap .ordg-group-content-wrap .ordg-item-wrap .item-inner-wrap{
    flex-grow: 1;
}

.ordg-group-wrap .ordg-group-content-wrap .ordg-item-wrap .item-content-wrap{
    display: flex;
    gap: 0.625rem;
}

.ordg-group-wrap .ordg-group-content-wrap .ordg-item-wrap .item-content-wrap .item-image-wrap{
    width: 5rem;

    border-radius: 0.5rem;

    overflow: hidden;
}

.ordg-group-wrap .ordg-group-content-wrap .ordg-item-wrap .item-content-wrap .item-info-wrap{
    flex-grow: 1;
}

.ordg-group-wrap .ordg-group-content-wrap .ordg-item-wrap .item-content-wrap .item-info-wrap .item-title{
    font-size: 1rem;
    font-weight: bold;
}

.ordg-group-wrap .ordg-group-content-wrap .ordg-item-wrap .item-content-wrap .item-info-wrap .item-opts-wrap{
    display: flex;
    align-items: center;
}

.ordg-group-wrap .ordg-group-content-wrap .ordg-item-wrap .item-content-wrap .item-info-wrap .item-opts-wrap .opts-item:not(:first-child){
    position: relative;
    padding-left: 0.75rem;
}

.ordg-group-wrap .ordg-group-content-wrap .ordg-item-wrap .item-content-wrap .item-info-wrap .item-opts-wrap .opts-item:not(:first-child)::before{
    content: "";
    position: absolute;
    top: 50%;
    left: 0.375rem;
    width: 2px;
    height: 2px;
    border-radius: 100%;

    background-color: #404040;

    transform: translate(-50%, -50%);
}


.ordg-group-wrap .ordg-group-content-wrap .ordg-item-wrap .item-bottom-wrap{
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-top: 1rem;

    color: #838383;
}

.ordg-group-wrap .ordg-group-content-wrap .ordg-item-wrap .item-bottom-wrap .item-price-wrap{
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ordg-group-wrap .ordg-group-content-wrap .ordg-item-wrap .item-bottom-wrap .item-price-wrap .item-net-price{
    text-decoration: line-through;
}

.ordg-group-wrap .ordg-group-content-wrap .ordg-item-wrap .item-bottom-wrap .item-price-wrap .item-price{
    color: #404040;
    font-weight: 500;
}

/*=================================================
            [Component] between-wrap
=================================================*/
.between-wrap{
    display: flex;
    flex-direction: column;

    gap: 1.25rem;
}

.between-wrap .between-item{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.between-wrap .between-item.start{
    justify-content: flex-start;
}

.between-wrap .between-item.start .between-title{
    width: 5rem;
}

/*=================================================
            [Component] middle-line
=================================================*/
.middle-line{
    width: 100%;
    height: 1px;
    margin: 1rem 0;

    background-color: #D8D8D8;
}

/*=================================================
            [Component] terms-custom-wrap
=================================================*/
.terms-custom-wrap .terms-all-wrap .terms-item-wrap .state label{
    font-size: 1rem;
    font-weight: bold;
}

.terms-custom-wrap .terms-each-wrap{
    margin-top: 1.25rem;

    display: flex;
    flex-direction: column;
    gap: 0.625rem;

    padding-left: 0.625rem;
}

.terms-custom-wrap .terms-each-wrap .terms-item-wrap{
    color: #C1C1C1;
}


/*=================================================
            [Component] empty-wrap
=================================================*/
.empty-wrap {
    height: calc(100dvh - 90px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.empty-wrap .content-wrap{
    display: flex;
    flex-direction: column;
    gap: 1rem;

    text-align: center;
}

.empty-wrap .content-wrap .content-title{
    font-size: 24px;
    font-weight: bold;
}

/*=================================================
            [Component] ord_item
=================================================*/
.component-wrap[data-id="ord_item"] > .item-wrap .item-header{
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 0.5rem;

    border-bottom: 1px solid #D8D8D8;
    padding: 1rem;
}

.component-wrap[data-id="ord_item"] > .item-wrap .item-body{
    display: flex;
    flex-direction: column;

    gap: 2rem;

    padding: 1rem;
}

.component-wrap[data-id="ord_item"] > .item-wrap .item-body > div{
    position: relative;
}

.component-wrap[data-id="ord_item"] > .item-wrap .item-body > div:not(:first-child)::before{
    content: "";
    position: absolute;
    top: -1rem;
    left: 0;

    width: 100%;
    height: 1px;

    background-image: repeating-linear-gradient(
            to right,
            #e0e0e0,          /* 점선 색상 */
            #e0e0e0 4px,      /* 점 시작 */
            transparent 4px,
            transparent 8px  /* 간격 */
    );
}

/*=================================================
            [Component] ordg_item
=================================================*/
.component-wrap[data-id="ordg_item"] > .item-wrap .item-info-wrap{
    display: flex;

    gap: 0.625rem;
}

.component-wrap[data-id="ordg_item"] > .item-wrap .item-info-wrap .item-image-wrap{
    width: 6.25rem;

    border-radius: 0.5rem;

    overflow: hidden;
}

.component-wrap[data-id="ordg_item"] > .item-wrap .item-info-wrap .item-text-wrap{
    display: flex;
    flex-direction: column;
    align-items: start;

    flex-grow: 1;

    gap: 0.2rem;
}

.component-wrap[data-id="ordg_item"] > .item-wrap .item-info-wrap .item-text-wrap .item-opts-wrap{
    display: flex;
    align-items: center;
}

.component-wrap[data-id="ordg_item"] > .item-wrap .item-info-wrap .item-text-wrap .item-opts-wrap .opts-item:not(:first-child){
    position: relative;
    padding-left: 0.75rem;
}

.component-wrap[data-id="ordg_item"] > .item-wrap .item-info-wrap .item-text-wrap .item-opts-wrap .opts-item:not(:first-child)::before{
    content: "";
    position: absolute;
    top: 50%;
    left: 0.375rem;
    width: 2px;
    height: 2px;
    border-radius: 100%;

    background-color: #404040;

    transform: translate(-50%, -50%);
}

.component-wrap[data-id="ordg_item"] > .item-wrap .item-bottom-wrap{
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-top: 1rem;

    color: #838383;
}

.component-wrap[data-id="ordg_item"] > .item-wrap .item-bottom-wrap .item-price-wrap{
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.component-wrap[data-id="ordg_item"] > .item-wrap .item-bottom-wrap .item-price-wrap .item-net-price{
    text-decoration: line-through;
}

.component-wrap[data-id="ordg_item"] > .item-wrap .item-bottom-wrap .item-price-wrap .item-price{
    color: #404040;
    font-weight: 500;
}

/*=================================================
            [Component] ordg_card_item
=================================================*/
.component-wrap[data-id="ordg_card_item"] > .item-wrap{
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.component-wrap[data-id="ordg_card_item"] > .item-wrap .item-status{
    color: #649AFE;
    font-weight: bold;
}

.component-wrap[data-id="ordg_card_item"] > .item-wrap .item-content-wrap{
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
}

.component-wrap[data-id="ordg_card_item"] > .item-wrap .item-content-wrap .item-image-wrap{
    width: 6rem;

    border: 1px solid #D8D8D8;
    border-radius: 0.3125rem;

    overflow: hidden;
}

.component-wrap[data-id="ordg_card_item"] > .item-wrap .item-content-wrap .item-text-wrap .item-opts-wrap{
    display: flex;
    align-items: center;
}

.component-wrap[data-id="ordg_card_item"] > .item-wrap .item-content-wrap .item-text-wrap .item-opts-wrap .opts-item:not(:first-child){
    position: relative;
    padding-left: 0.75rem;
}

.component-wrap[data-id="ordg_card_item"] > .item-wrap .item-content-wrap .item-text-wrap .item-opts-wrap .opts-item:not(:first-child)::before{
    content: "";
    position: absolute;
    top: 50%;
    left: 0.375rem;
    width: 2px;
    height: 2px;
    border-radius: 100%;

    background-color: #404040;

    transform: translate(-50%, -50%);
}

.component-wrap[data-id="ordg_card_item"] > .item-wrap .item-btn-wrap{
    display: flex;
    gap: 0.625rem;
}

.component-wrap[data-id="ordg_card_item"] > .item-wrap .item-btn-wrap .item-btn{
    flex: 1 1 0;

    padding: 1rem 0.52rem;
    border: 1px solid #CDCDCD;
    border-radius: 5px;

    color: #838383;
    text-align: center;
}

.mobile-wrap{
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    color: #ffffff;
    text-align: center;
    font-size: 1.5rem;
    z-index: 1500;
    line-height: 1.6em;
}
