/***/

/* 마이페이지 */
.wrap-my-dashboard .section-BuyBenefit ul li .button {
    padding: 7px 15px;
    font-size: 14px;
}
.woocommerce-MyAccount-content .dashboard-MyAccount-header .user-logout {
    font-size: 14px;
}


/* 사용 가능한 쿠폰이 없을 경우 */
.tab-content .available-coupons-table tbody td.coupon_empty{
    border-bottom: none;
    padding-bottom: 96px;
}

ul.available-select-coupons-table li.empty-coupon {
    border-bottom: none;
    padding-bottom: 50px;
    margin-bottom: 0px;
}

.tab-content .available-coupons-table tbody td.coupon_empty .box-coupon-image {
    width: 100px;
    margin: 94px auto 32px;
}

ul.available-select-coupons-table li.empty-coupon .box-coupon-image {
    width: 70px;
    margin: 50px auto 32px;
}

ul.available-select-coupons-table li.empty-coupon .box-coupon-image img {
    width: 100%;
}

.tab-content .available-coupons-table tbody td.coupon_empty span.empty-coupon-description {
    font-size: 14px;
    font-weight: 400;
    color: #9c9c9c;
}
ul.available-select-coupons-table li.empty-coupon span.empty-coupon-description {
    font-size: 14px;
    font-weight: 500;
    color: #9c9c9c;
    text-align: center;
    width: 100%;
    display: block;
}

.wrap-sconn-point .box-my-hold-point .box-register-coupon .wcsc_coupon_code {
    border-bottom: 0.5px solid #9c9c9c;
}

.form_registration_coupon_code .coupon-error-message.on .message {
    font-weight: 500;
    font-size: 12px;
    background-size: 14px;
    padding-left: 18px;
    line-height: 14px;
    margin-right: 100px;
}

.form_registration_coupon_code .coupon-error-message.on {
    margin-top: 0px;
}

.tab-content .available-coupons-table tbody td {
    padding: 12px 0;
}

.breakdance-woocommerce .woocommerce-MyAccount-navigation ul li.active a {
    color: #fecb4c;
}

.box-register-coupon input.wcsc_coupon_code:focus::placeholder {
    font-size: 0;
}

#order_review .available-use-coupons .box-available-coupons-use button {
    padding: 5px 20px;
    font-size: 14px;
    font-weight: bold;
    line-height: 20px;
}

.wrap-payment-sconn-point tr.cart-discount td {
    padding: 15px 0!important;
}

.wrap-payment-sconn-point .available-use-coupons .coupon-title {
    margin-top: 16px;
    font-weight: 400;
}

#order_review table.wrap-payment-sconn-point th {
    vertical-align: top;
    font-family: NotoSansKR;
    font-size: 16px;
    font-weight: 500;
    line-height: 16px;
    padding: 18.5px 0;
}

table.wrap-payment-sconn-point span.woocommerce-Price-amount.amount {
    font-size: 20px;
}

#order_review table.wrap-payment-sconn-point td.available-use-coupons {
    font-size: 20px;
    font-weight: bold;
}


.tab-content .available-coupons-table thead th {
    color: #595959;
    text-align:center;
    font-weight: 400 !important;
}

.tab-content .available-coupons-table .coupon_date {width: 15%;}

.tab-content .available-coupons-table .coupon_title.manage-column {width: 30%;}

.tab-content .available-coupons-table .coupon_amount.manage-column {width: 10%;font-weight: bold;}

.tab-content .available-coupons-table .coupon_discount.manage-column {width: 30%;}

.tab-content .available-coupons-table .coupon_expiry.manage-column {width: 15%;text-align: center;}

.tab-content .sconn-point-table, .tab-content .available-coupons-table {
    display: table;
}

div#my-sconn-coupon .tab-content .available-coupons-table tbody td {
    color: #9c9c9c;
}

.tab-content .available-coupons-table tbody td.coupon_title.manage-column {
    font-size: 14px;
    font-weight: 600;
    color: #1c1917;
}

.tab-content .available-coupons-table .coupon_expiry.manage-column ul {
    margin: 0;
    padding: 0;
}

div#sconn-available-coupon .available-coupons-table tbody td {
    color: #595959;
}

div#sconn-available-coupon .available-coupons-table td.coupon_amount.manage-column {
    color: #4A52C4;
    font-weight: 600;
}

div#sconn-available-coupon .available-coupons-table tbody td.coupon_title.manage-column {
    color: #1c1917;
}

.wrap-sconn-point .box-my-hold-point .box-register-coupon .register-coupon-code {
    padding: 6px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
}
#bookcafe-search-result-page .tab li a:hover, #bookcafe-archive-result-page .tab li a:hover, div#my-sconn-coupon .tab li a:hover, div#my-sconn-point .tab li a:hover {
    background-color: transparent;
}

.box-register-coupon input.wcsc_coupon_code::placeholder {
    font-size: 14px;
    font-weight: 500;
    font-family: NotoSansKR;
    color:#9c9c9c;
}
#my-sconn-coupon .box-register-coupon.loading {}
#my-sconn-coupon .box-register-coupon.loading button {
    background-color: gray;
}
#my-sconn-coupon .box-register-coupon .progress {
    width: 25px;
    height: 25px;
    margin-bottom: -7px;
    display: inline-block;
}
#my-sconn-coupon .box-register-coupon.loading .progress {
    background-size: cover !important;
    background: url("../images/ajax-loader.gif") no-repeat;
}

div#my-sconn-coupon .tab li a {
    font-size: 14px;
    padding: 8px 16px;
    max-height: 36px;
    font-weight: 400;
    color: #78716C;
}
div#my-sconn-coupon .tab li.active a{
    font-weight: 600;
    color: #1c1917;
}
div#my-sconn-coupon .tab li {
    height: 38px;
}

div#my-sconn-coupon .Coupon-dashicons {
    width:40px;
    height: 40px;
    margin-right: 12px;
    float: left;
    background-repeat:no-repeat;
    background-position:center;
}

.woocommerce-MyAccount-content .dashboard-MyAccount-header {
    padding-bottom: 0;
}

.woocommerce-MyAccount-content div#my-dashboard .dashboard-MyAccount-header, .woocommerce-MyAccount-content div#my-EditAccountForm-list .dashboard-MyAccount-header {
    padding-bottom: 10px;
}

.woocommerce-MyAccount-content div#my-sconn-coupon .dashboard-MyAccount-header {
    padding-bottom: 5px;
    display: flex;
    align-items: center;
    position: relative;
}
.woocommerce-MyAccount-content div#my-library-list .dashboard-MyAccount-header {
    position: relative;
}
.woocommerce-MyAccount-content div#my-library-list .dashboard-MyAccount-header .header-right.header-link{
    color: #1c1917;
    right: 0;
    bottom: 7.5px;
    position: absolute;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
}
.woocommerce-MyAccount-content div#my-library-list .dashboard-MyAccount-header .header-right.header-link .fa-thumbs-arrow-right{
    display: inline-block;
    background: url("../images/bookcafe/icon_arrow_right.png") no-repeat;
    background-size: cover;
    width: 15px;
    height: 15px;
    margin-bottom: -1px;
}

div#my-sconn-coupon .dashboard-MyAccount-header {
    margin-bottom: 32px;
}

div#my-sconn-coupon .box-my-hold-point {
    margin-bottom: 53px;
}
div#my-sconn-coupon form.form_registration_coupon_code {
    gap: 0;
}
.coupon_use_guide {list-style: none;padding: 0;}

.coupon_use_guide li:before {
    content: "•";
    display: inline-block;
    margin-right: 5px;
}

ul.coupon_use_guide li {
    margin-bottom: 8px;
}

@media (max-width: 1024px){

    div#my-sconn-coupon .tab-content .available-coupons-table tbody td {

        width: 100%;
    }
}

/* 결제 페이지 */
#order_review table tr.total-payment-sconn-point td, tr.total-payment-sconn-point th {
    border-top: 1px solid #d7d7d7!important;
}

#order_review table.wrap-payment-sconn-point {
    border-spacing: 0;
}

.pay-underline {
    background: linear-gradient(0deg, #FFFBBD 65%, #FFFFFF 35%);
    padding: 0 5px;
}

table.shop_table.woocommerce-checkout-review-order-table tr.cart-subtotal th {
    font-size: 16px;
    font-weight: 500;
    padding: 23.5px 16px;
}
@media (max-width: 1024px) {
    body.woocommerce-checkout .woocommerce-notices-wrapper {
        width: calc(100% - 40px);
    }
}
/* 쿠폰 팝업 */

.wt_coupon_wrapper {
    padding-top: 0;
    display: block;
}

.wt_coupon_wrapper .available-select-coupons-table li .coupon_body span.coupon_title br {
    display: none;
}

body .sconn-point-modal label.charge-title {
    font-size: 20px;
    font-weight: 500;
    margin: 31.5px 32px 7.5px;
    padding-bottom: 7.5px;
    border-bottom: 1px solid #000;
}

.ui-widget-content[aria-describedby="sconn-coupon-select"] {
    border: none;
    max-width: 537px;
    max-height: 725px;
}


.wt_coupon_wrapper .available-select-coupons-table li .coupon_head span {
    font-size: 16px;
    font-weight: bold;
    font-family: NotoSansKR;
    line-height: 20px;
}

.sconn-point-modal .wt_coupon_wrapper ul.available-select-coupons-table label {
    display: flex;
    align-items: self-end;
    gap: 8px;
}

.coupon_head input[type="radio"] {margin: 0;width: 20px;height: 20px;}


.wt_coupon_wrapper .available-select-coupons-table li .coupon_body {
    margin-top: 13px;
    font-size: 14px;
    font-weight: 500;
    line-height: 23px;
}

.wt_coupon_wrapper .available-select-coupons-table li {
    margin-bottom: 0;
    padding: 0 0 35px;
}

.modal .wt_coupon_wrapper .wt-single-coupon button {
    font-family: Pretendard;
    font-size: 14px;
    font-weight: bold;
    padding: 14px 29px;
    border-radius: 8px;
}

.modal .wt_coupon_wrapper .wt-single-coupon {
    min-height: auto;
    margin-bottom: 32px;
    padding: 20px 0 0;
}

.wt_coupon_wrapper .available-select-coupons-table li .coupon_head span.coupon_cart_discount {
    color: #3988ff;
}

.modal .wt_coupon_wrapper .wp-list-table {
    padding: 0px 32px 0;
    margin: 0px;
}

.wt_coupon_wrapper .available-select-coupons-table li.item-delete-coupon {
    padding-top: 16px;
}

.wt_coupon_wrapper .available-select-coupons-table li .coupon_body span.coupon_title, 
.wt_coupon_wrapper .available-select-coupons-table li .coupon_body span.coupon_description {
    position: relative;
}

.wt_coupon_wrapper .available-select-coupons-table li .coupon_body span.coupon_title:after, 
.wt_coupon_wrapper .available-select-coupons-table li .coupon_body span.coupon_description:after {
    content: "";
    width: 1px;
    height: 15px;
    background-color: #d7d7d7;
    display: inline-block;
    margin: 0 7.5px;
    vertical-align: middle;
}

.wt_coupon_wrapper .available-select-coupons-table li .coupon_body span.coupon_expiry.expiring_day_coupon {
    font-size: 0;
}

.wt_coupon_wrapper .available-select-coupons-table li .coupon_body span.coupon_expiry.expiring_before_coupon {
    color: #ff453a;
}

.wt_coupon_wrapper .available-select-coupons-table li .coupon_body span.coupon_expiry.expiring_day_coupon:before {
    content: "오늘까지";
    font-size: 14px;
    font-weight: 500;
    color: #ff453a;
}

.sconn-point-modal .wt_coupon_wrapper ul.available-select-coupons-table {
    width: auto;
    height: 489px;
    max-height: 489px;
    margin-bottom: 0;
}

.ui-widget-overlay.ui-front {
    background: #000;
    opacity: .3;
}


/* 싱품 싱글 페이지 시작 */
.product .price ins { float: right; }
.product .price .product-discount-rate { float: right; line-height: 1.7em; margin-right: 5px; }
/* 싱품 싱글 페이지 끝 */

@media (max-width: 1024px) {
    .ui-widget-content[aria-describedby="sconn-coupon-select"] {
        max-width: 320px;
        max-height: 514px;
        width: calc(100% - 40px)!important;
    }

    .sconn-point-modal .wt_coupon_wrapper ul.available-select-coupons-table {
        height: 314.5px;
        max-height: 314.5px;
        padding: 0 20px;
    }

    body .sconn-point-modal label.charge-title {
        margin-top: 7.8px;
        margin-left: 20px;
        margin-right: 20px;

        font-size: 14px;
    }

    .wt_coupon_wrapper .available-select-coupons-table li {
        padding-bottom: 24px;
    }

    .modal .wt_coupon_wrapper .wt-single-coupon {
        margin-bottom: 20px;
    }

    .wt_coupon_wrapper .available-select-coupons-table li .coupon_body {
        font-size: 12px;
        line-height: 21px;
    }

    .wt_coupon_wrapper .available-select-coupons-table li .coupon_head span {
        font-size: 14px;
    }

    .modal .wt_coupon_wrapper .wt-single-coupon button {
        width: calc(100% - 40px);
    }

    body .sconn-point-modal h2.sconn-point-title {
        font-size: 14px;
        width: auto;
        padding: 15px 20px;
    }

    body .ui-dialog .ui-dialog-buttonpane button {
        top: 15px;
        right: 22px;
        width: 15px;
        height: 15px;
    }
}

@media (max-width: 320px) {
    body .sconn-point-modal h2.sconn-point-title {
        font-size: 13px;
    }

    body .sconn-point-modal label.charge-title {
        font-size: 13px;
        margin-top: 11.8px;
    }

    .wt_coupon_wrapper .available-select-coupons-table li .coupon_head span {
        font-size: 11px;
    }

    .coupon_head input[type="radio"] {
        width: 16px;
        height: 16px;
    }

    .wt_coupon_wrapper .available-select-coupons-table li .coupon_body {
        font-size: 10px;
        margin-top: 10px;
    }

    .wt_coupon_wrapper .available-select-coupons-table li.item-delete-coupon {
        padding-top: 9px;
    }


    .modal .wt_coupon_wrapper .wt-single-coupon button {
        font-size: 12px;
    }
}

/* 메인 페이지 section2 */
.bookcafe-section2 .ee-post {
    counter-increment: figure;
}

.bookcafe-section2 .ee-post:before {
    content: counter(figure) "";
    color: #ffffff;
    position: absolute;
    top: 0;
    z-index: 5;
    padding: 2px 31px 19px 4px;
    font-family: NotoSansKR;
    font-size: 17px;
    font-weight: bold;
}

.bookcafe-section2 .ee-post:after {
    content: "";
    width: 0;
    height: 0;
    border-bottom: 20px solid transparent;
    border-top: 20px solid #000;
    border-left: 20px solid #000;
    border-right: 20px solid transparent;
    position: absolute;
    top: 0;
    z-index: 1;
    border-top-left-radius: 3px;
}

.breakdance .bookcafe-section2 .ee-post {
    position: relative;
}



.breakdance .bookcafe-section2  .section2-overflow {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 20px;
}
.breakdance .bookcafe-section2 .ee-post:nth-child(1) {
    order: 1;
}

.breakdance .bookcafe-section2 .ee-post:nth-child(2) {
    order: 4;
}

.breakdance .bookcafe-section2 .ee-post:nth-child(3) {
    order: 7;
}

.breakdance .bookcafe-section2 .ee-post:nth-child(4) {
    order: 2;
}

.breakdance .bookcafe-section2 .ee-post:nth-child(5) {
    order: 5;
}

.breakdance .bookcafe-section2 .ee-post:nth-child(6) {
    order: 8;
}

.breakdance .bookcafe-section2 .ee-post:nth-child(7) {
    order: 3;
}

.breakdance .bookcafe-section2 .ee-post:nth-child(8) {
    order: 6;
}

.breakdance .bookcafe-section2 .ee-post:nth-child(9) {
    order: 9;
}


div.bookcafe-section-container .bookcafe-section2  .ee-post  {
    float: unset;
    width: 100%;
}

div.bookcafe-section-container .ee-posts.bookcafe-section2 .ee-post .breakdance-image-container.box-shadow {
    justify-content: center;
    height: 100%;
}
div.bookcafe-section-container .ee-posts.bookcafe-section2 .ee-post .breakdance-image-container.box-shadow a{
    width: 100%;
    height: 100%;
    display: flex;
}
.bookcafe-section2 .thum_box{
    height: 100%;
}
.bookcafe-section2 .thum_box a{
    width: 100%;
    height: 100%;
}

@media (max-width: 1000px){
    div.bookcafe-section-container .ee-posts.bookcafe-section2 .ee-post {
        margin-right: 10px;
        width: 100%;
    }
}


.Vector-994 {
    border-top: solid black 1px; width: 100%;
}

.cart-empty {
    width: 100%;
    text-align: center;
}

.breakdance .cart-empty img {
    max-width: 110px;
    text-align: center;
    display: block;
    margin: 95px auto 32px;
}

.cart-empty .cart-text{
    margin: auto;
    color: #9c9c9c;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 100px;
}

.orders-empty {
    width: 100%;
    height: 20px;
    margin: 40px auto 0px;
    font-size: 14px;
    text-align: center;
    color: #9c9c9c;
    font-weight: 500;
}

#my-Wishlist .heart {
    max-width: 110px;
    text-align: center;
    display: block;
    margin: 95px auto 32px;
}

#my-Wishlist .favorites-empty {
    display: block;
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    color: #9c9c9c;
    margin-top: 32px;
}


.bookcafe-section2 .breakdance-image-container .book-multimedia-type.multimedia-type-2 li {
    line-height: 0;
    width: 33.333%;
}

.bookcafe-section2 .breakdance-image-container .book-multimedia-type.multimedia-type-2 {
    bottom: 0px;
    justify-content: flex-start;
}

#my-Wishlist .box-Wishlist-select label.Wishlist {
    height: 100%;
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
}

#my-Wishlist .box-Wishlist-select label.Wishlist input[type=checkbox] {
    height: 20px;
    width: 20px;
}

.wrap-bookcafe-books .search-item .item-thumb img {
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
    min-height: 139px !important;
    object-fit: contain;
}

img[title="동영상 지원"] {
    background-color: #D81919;
}

img[title="음원 듣기 지원"] {
    background-color: #2079FF;
}

img[title="채점 지원"] {
    background-color: #00B448;
}

img[title="시험 기능 지원"] {
    background-color: #00B448;
}

.book-multimedia-type.multimedia-type-3 li img {
    background-color: transparent;
}
@media (max-width: 1119px) {
    .section-container .book-img .product-multimedia-type.multimedia-type-1 {
        right: 0;
    }
}

/* header z-index */
header.bde-header-builder.web_header .pin-spacer {
    z-index: 12!important;
}

/* 장바구니 추천상품 시작 */
.cart-recommended .bookcafe-section-container {
    width: 100%!important;
    max-width: 746px;
}

.cart-recommended .swiper-button-prev, .cart-recommended .swiper-button-next {
    position: absolute;
    z-index: 1;
    top: 40%;
    transform: translateY(-50%);
}

.cart-recommended .swiper-button-prev:after, .cart-recommended .swiper-button-next:after {
    content: "";
    background-image: url(../images/bookcafe/icon_arrow_right.png);
    background-size: 100%;
    background-position: center;
    width: 20px;
    height: 20px;
    display: inline-block;
}

.cart-recommended .swiper-button-prev:after {
    -ms-transform: rotate(180deg); /* IE 9 */
    -webkit-transform: rotate(180deg); /* Chrome, Safari, Opera */
    transform: rotate(180deg);
}

.cart-recommended .bookcafe-section-container > .bde-columns{
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
    margin-top: 53px;
}

.cart-recommended div.bookcafe-section-container .bde-slides h3 {
    font-size: 13px;
}

.cart-recommended div.bookcafe-section-container .bde-slides article .breakdance-image-clip {
    height: 195px;
}
.cart-recommended  div.bookcafe-section-container .bde-slides article .breakdance-image-clip a > img {
    max-height: 195px;
    object-position: top;
}
.cart-recommended div.bookcafe-section-container .bde-slides article .bde-icon-list__author {
    width: 100%;
}

.cart-recommended div.bookcafe-section-container .bde-slides {
    margin-right: 0px;
}
.cart-recommended div.bookcafe-section-container .bde-slides article {
   width: 136px;
}

.cart-recommended div.bookcafe-section-container .slick-list.draggable {

}
@media (max-width: 1119px) {
    .cart-recommended .bookcafe-section-container {
        max-width: unset;
    }
    .cart-recommended div.bookcafe-section-container .bde-slides article {
        width: calc(20vw - 20px);
    }
    .cart-recommended div.bookcafe-section-container .bde-slides article .breakdance-image-clip {
        height: 25.5vw;
    }

    .cart-recommended  div.bookcafe-section-container .bde-slides article .breakdance-image-clip a > img {
        max-height: 25.5vw;
    }
}
@media (max-width: 1000px) {
    .cart-recommended div.bookcafe-section-container .bde-slides article {
        width: calc(25vw - 23px) !important;
    }
    .cart-recommended  .bookcafe-section-container {width: 100%!important;}
    .cart-recommended div.bookcafe-section-container .bde-slides article .breakdance-image-clip {
        height: 30vw;
    }

    .cart-recommended  div.bookcafe-section-container .bde-slides article .breakdance-image-clip a > img {
        max-height: 30vw;
    }

    .cart-recommended .swiper-button-next {
        right: -10px;
    }
    .cart-recommended .swiper-button-prev {
        left: -10px;
    }

}

@media (max-width: 600px) {
    .cart-recommended div.bookcafe-section-container .bde-slides article {
        width: calc(33.33vw - 23px) !important;
    }
    .cart-recommended div.bookcafe-section-container .bde-slides article .breakdance-image-clip {
        height: 40vw;
    }

    .cart-recommended  div.bookcafe-section-container .bde-slides article .breakdance-image-clip a > img {
        max-height: 40vw;
    }
}
/* 장바구니 추천상품 끝 */

/* 회원가입 시작 */
#sconn-register-agreement .icon-login-signup.signup-coupons {
    background: url("../images/bookcafe/welcom-coupon-complete-3000.png") no-repeat center;
    background-size: cover;
    width: 264px;
    height: auto;
    margin: 43px auto 0;
}
#sconn-register-agreement .icon-login-signup.signup-coupons + h1.sconn-register-heading {
    margin-top: 24px;
    text-align: center;
}

#sconn-register-agreement .sconn-register-heading-text.sconn-register-success {
    font-weight: normal;
    color: #595959;
    margin-bottom: 0;
}

.wrap-signup-coupon {
    width: 100%;
    text-align: center;
    margin-top: 40px;
}
.wrap-signup-coupon .enable-signup-coupon {
    width: 325px;
    text-align: center;
    margin: 20px auto;
}
.wrap-signup-coupon .enable-signup-coupon h3 {
    margin: 0 0 20px;
    display: inline-block;
    font-size: 18px;
}
.wrap-signup-coupon .enable-signup-coupon .start-signup-coupon.bg-signup-coupon {
    background: url("../images/bookcafe/welcom-coupon-3000.png") no-repeat center;
    background-size: cover;
    width: 251px;
    height: auto;
    margin: 0 auto;
}
.wrap-signup-coupon .enable-signup-coupon .signup-coupon {
    list-style: none;
    border-radius: 9px;
    border: 1px solid #d7d7d7;
    background-color: #f1c40f;
    padding: 0;
}
.wrap-signup-coupon .enable-signup-coupon .signup-coupon li {
    display: inline-block;
    padding: 20px 0;
}
.wrap-signup-coupon .enable-signup-coupon .signup-coupon li.coupon-description {
    width: 80%;
    margin-left: -1px;
    background-color: #fff;
    border-radius: 8px 0 0 8px;
}
.wrap-signup-coupon .enable-signup-coupon .signup-coupon li.signup-end {
    width: 18%;
}
#sconn-register-agreement.section-login-signup .height-3 {
    margin: 0;
}
#sconn-register-agreement .button-sconn-register.yellow {
    font-size: 16px;
    font-weight: bold;
    border-radius: 4px;
}
#sconn-register-agreement .register-teacher-user {
    font-size: 14px;
    font-weight: normal;
    color: #000;
    line-height: 1.79;
    margin-top: 18px;
}

#sconn-register-agreement span.register-teacher-user a.btn-apply-teacher-registration {
    color: #fecb4c;
    font-size: 14px;
    font-weight: 500;
}

@media (max-width: 1000px) {

    #sconn-register-agreement .icon-login-signup.signup-coupons {
        margin: 0 auto;
        width: 172px;
        height: 151px;
    }

    #sconn-register-agreement .icon-login-signup.signup-coupons + h1.sconn-register-heading {
        margin-top: 60px;
        font-size: 20px;
    }

    #sconn-register-agreement .sconn-register-heading-text.sconn-register-success {
        font-size: 14px;
        max-width: 252px;
        margin: auto;
    }
    #sconn-register-agreement .sconn-register-heading-text br.br-mo {
        display: block!important;
    }

    #sconn-register-agreement .register-teacher-user {
        margin-top: 8px;
    }

    #sconn-register-agreement .register-form-row.signup-buttons {
        margin-top: 30px;
    }
}

/* 회원가입 끝 */

/* header z-index */
header.bde-header-builder.web_header .pin-spacer {
    z-index: 12!important;
}

/* 만료 쿠폰 팝업 시작 */
#wrap-notify-coupon-popup {
    position: relative;
    display: contents;
}
#wrap-notify-coupon-popup .coupon-expiration {
    box-shadow: 0 1px 17px 0 rgba(0, 0, 0, 0.15);
    background-color: #212121;
    padding: 15px;
    max-width: 225px;
    width: 100%;
    border-radius: 10px;
    font-size: 14px;
    margin-top: 20px;
    position: absolute;
    top: 30px;
    line-height: 21px;
}
#wrap-notify-coupon-popup .coupon-expiration .cancel-btn {
    max-width: 22px;
    width: 100%;
    position: absolute;
    right: 15px;
    top: 15px;
    display: flex;
    padding: 4px;
}

#wrap-notify-coupon-popup .coupon-expiration .cancel-btn img {
    cursor: pointer;
    width: 22px;
    display: inline-block;
}

#wrap-notify-coupon-popup .coupon-expiration .popup-text {
    color: #fff;
    margin-bottom: 8px;
    font-weight: 500;
}

#wrap-notify-coupon-popup .coupon-expiration a.popup-btn {
    color: #fecb4c;
    font-weight: 500;
    text-decoration: none;
}
#wrap-notify-coupon-popup .coupon-expiration .coupon-expiration-arrow {
    background-color: transparent;
    top: -11px;
    right: 61px;
    position: absolute;
    width: 0px;
    height: 0px;
    border-bottom: 12px solid #212121;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
}
#wrap-notify-coupon-popup .coupon-expiration a.popup-btn span.arrow-right {
    max-width: 21px;
    display: inline-flex;
    vertical-align: bottom;
    transform: unset;
    -webkit-transform: unset;
}
@media (max-width: 1023px) {
    #wrap-notify-coupon-popup .coupon-expiration .coupon-expiration-arrow {
        right: 51px;
    }

    #wrap-notify-coupon-popup .coupon-expiration {
        margin-top: 14px;
    }
}

/*#wrap-notify-coupon-popup .coupon-expiration:before {*/
/*    content: "";*/
/*    width: 54px;*/
/*    height: 12.5px;*/
/*    background-image: url(../images/bookcafe/coupon-arrow.png);*/
/*    background-size: 100%;*/
/*    background-repeat: no-repeat;*/
/*    background-position: bottom;*/
/*    position: absolute;*/
/*    top: -12.5px;*/
/*    right: 40px;*/
/*}*/
/* 만료 쿠폰 팝업 끝 */

/* 사은품 시작 */
.breakdance .bde-section .freebies-div {
    margin: 0 auto;
}
.breakdance-woocommerce.box-freebies {
    max-width: 746px;
    width:100%;
    margin-top: 2px;
}
.breakdance-woocommerce.box-freebies .wrap-freebies-products {
    width: 100%;
}
.breakdance-woocommerce .wrap-freebies-products .wc-cart-form-header {
    border-bottom: 1px solid #000000;
}
.wrap-freebies-products .sconn-freebies-products {
    width: 100%;
    margin-top: 26.5px;
    padding: 0 15px;
}
.wrap-freebies-products .sconn-freebies-buttons {
    margin-top: 30px;
}
.wrap-freebies-products .sconn-freebies-products {
    display: inline-table;
}
.wrap-freebies-products .sconn-freebies-products article {
    width: 100%;
    vertical-align: top;
    display: block;
    padding: 27px 30px;
    margin-bottom: 20px;
    border: 1px solid #e2e2e2;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 25px;
    background-color: #fcfcfc;
}
.wrap-freebies-products .sconn-freebies-products article.selected {
    border: 2px solid #939CF5;
}
.wrap-freebies-products .sconn-freebies-products article .freebies-image-link img {
    max-width: 100px;
}
.wrap-freebies-products .sconn-freebies-products article.freebies-item .freebies-purchase-item {
    vertical-align: top;
    width: auto;
    text-align: center;
}
.wrap-freebies-products .sconn-freebies-products article .freebies-list-details {
    vertical-align: top;
    max-width: 382px;
    width: 60% !important;
}
.wrap-freebies-products .sconn-freebies-products article .freebies-list-amount {
    vertical-align: top;
    float: right;
    text-align: right;
}
.wrap-freebies-products .sconn-freebies-products article .freebies-list-amount .bde-amount-list .price {
    display: inline;
    color: #1c1917;
    font-size: 18px;
    font-weight: 500;
}
.wrap-freebies-products .sconn-freebies-products article .freebies-list-details a.freebies-link {
    text-align: left!important;
    text-decoration: none;
    margin: 0;
}
.wrap-freebies-products .sconn-freebies-products article .freebies-list-details h3 {
    word-break: normal;
    font-size: 16px;
    font-weight: 500;
    word-break: keep-all;
}
.wrap-freebies-products .sconn-freebies-products article .freebies-list-details .bde-amount-list {
    text-align: center;
    padding-right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    column-gap: 15px;
}
.wrap-freebies-products .sconn-freebies-products article .freebies-list-details .bde-amount-list .amount,
.wrap-freebies-products .sconn-freebies-products article .freebies-list-details .bde-amount-list .currency{
    color: #ffb423;
    font-weight: 600;
}
.wrap-freebies-products .sconn-freebies-products article .freebies-list-details .bde-amount-list .amount {
    font-size: 14px;
}
.wrap-freebies-products .sconn-freebies-products article .freebies-list-details .bde-amount-list .type{
    font-size: 14px;
    font-weight: normal;
}
.wrap-freebies-products .sconn-freebies-products article.freebies-item > div {
    display: inline-block;
    width: auto;
}
.wrap-freebies-products .sconn-freebies-products article.freebies-item > ul.freebies-list-amount {
    display: inline-block;
    width: 30%;
}

.wrap-freebies-products .sconn-freebies-products article .freebies-list-amount .bde-amount-list .price span.product-discount-rate {
    font-size: 12px;
    font-weight: normal;
    color: #4A52C4;
}

.wrap-freebies-products .sconn-freebies-products article .freebies-list-amount .bde-amount-list .price span.product-discount-rate:after {
    content: "% ↓";
}

.wrap-freebies-products .sconn-freebies-products article .freebies-image-clip {
    width: 100%;
    height: auto;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.wrap-freebies-products .sconn-freebies-products article .freebies-image-clip .freebies-image-link {
    color: #9c9c9c;
    text-decoration: none;
    font-weight: 500;
}
.wrap-freebies-products .sconn-freebies-products article .freebies-image-clip img {
    border-radius: 5px;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.25);
    border: solid 0.5px #e2e2e2;
}
.wrap-freebies-products .sconn-freebies-products article.freebies-item-0 .freebies-image-clip {
    width: 100%;
}
.wrap-freebies-products .sconn-freebies-products article ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wrap-freebies-products .sconn-freebies-products article .freebies-list-details span.author {
    font-size: 14px;
    font-weight: normal;
    color: #9c9c9c;
    line-height: 1.79;
}

.wrap-freebies-products .sconn-freebies-products article .freebies-list-amount .regular-price {
    font-size: 14px;
    font-weight: normal;
    color: #9c9c9c;
    line-height: 1.79;
    margin-bottom: 5px;
}

.wrap-freebies-products .sconn-freebies-products article .freebies-list-amount  span.type {
    font-size: 14px;
    font-weight: normal;
}

.wrap-freebies-products .sconn-freebies-products article.freebies-item > div.freebies-list {
    display: flex;
    width: 100%;
    justify-content: space-between;
    gap: 25px;
}

.breakdance-woocommerce.box-freebies .custom-checkbox input[type="radio"] {
    display: none;
}
.breakdance-woocommerce.box-freebies .custom-checkbox span {
    cursor: pointer;
    display: inline-block;
    width: 25px;
    height: 25px;
    background: url("../images/bookcafe/checkbox-off-1.5.png") no-repeat;
    background-size: cover;
}
.breakdance-woocommerce.box-freebies .custom-checkbox input[type="radio"]:checked + span {
    background: url("../images/bookcafe/checkbox-on-1.5.png") no-repeat;
    background-size: cover;
}
.sconn-freebies-buttons.loading {
    height: 53px;
    margin-bottom: -3px;
}
.sconn-freebies-buttons.loading .progress {
    background: url("../images/ajax-loader.gif") center no-repeat;
    position: absolute;
    width: 30px;
    height: 30px;
    background-size: contain;
    margin-left: -1em;
    margin-top: 1em;
    display: inline-block;
}
.sconn-freebies-buttons.loading,
.sconn-freebies-products.loading {
    position: relative;
}
.sconn-freebies-buttons.loading .screen,
.sconn-freebies-products.loading .screen {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    z-index: 10;
    background-color: #ffffff;
    opacity: 0.5;
    margin-top: -15px;
}
.sconn-freebies-buttons.loading .screen { 
    height: 150%;
}
.breakdance-woocommerce.box-freebies .wrap-freebies-products .sconn-freebies-buttons a.cart-apply-button {
    display: block;
    max-width: 300px;
    font-size: 16px;
    font-weight: 500;
    height: auto;
}

.box-freebies .woocommerce-cart .wc-cart-form-header h2 {
    font-weight: 500;
}
@media (max-width: 767px) {
    .wrap-freebies-products .sconn-freebies-products article {
        padding: 20px 15px;
        gap: 15px; 
    }

    .wrap-freebies-products .sconn-freebies-products {
        margin-top: 19.5px;
        padding:0;
    }

    .box-freebies .woocommerce-cart .wc-cart-form-header h2 {
        font-size: 16px;
        line-height: 30px;
    }

    .box-freebies .woocommerce-cart .wc-cart-form-header img {
        width: 27px;
        margin-right: 10px;
        object-fit: contain;
        object-position: bottom;
        line-height: unset;
    }

    .breakdance-woocommerce .wrap-freebies-products .wc-cart-form-header {
        display: flex;
        padding-bottom: 9.5px;
        align-items: flex-end;
    }

/*    .wrap-freebies-products .sconn-freebies-products article .freebies-image-clip{
        min-height: 135px;
    }*/


    .wrap-freebies-products .sconn-freebies-products article .freebies-image-clip img {
        border-radius: 5px;
        box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.25);
        border: solid 0.5px #e2e2e2;
    }

    

    .wrap-freebies-products .sconn-freebies-buttons {
        margin-top: 0;
        position: fixed;
        bottom: 0px;
        z-index: 2;
        width: 100%;
        left: 0;
        background-color: rgba(0, 0, 0, 0.8);
    }

    .breakdance-woocommerce.box-freebies .wrap-freebies-products .sconn-freebies-buttons a.cart-apply-button {
        width: 100%;
        max-width: unset;
        border-radius: 0px;
        background-color: #000000;
        color: #ffffff;
        padding: 18px 0;
    }
    .wrap-freebies-products .sconn-freebies-products article .freebies-image-link img {
        max-width: 79px;
    }
    .wrap-freebies-products .sconn-freebies-products article.freebies-item > div.freebies-list {
        justify-content: flex-start;
        gap: 12px;
        flex-wrap: wrap;
        width: calc(100% - 134px);
    }

    .wrap-freebies-products .sconn-freebies-products article .freebies-list-amount {
        float: left;
        text-align: left;
    }
    .wrap-freebies-products .sconn-freebies-products article .freebies-list-details {
        width: 100%!important;
        max-width: unset;
    }
    .wrap-freebies-products .sconn-freebies-products article .freebies-image-clip .freebies-image-link {
        color: #000000;
        font-size: 15px;
        font-weight: 500;
        text-align: left;
    }
}
/* 사은품 끝 */

/* 장바구니 추천상품 시작 */
.bookcafe-recommend .notice-freebies {
    background: url("../images/bookcafe/icon-notice.png") no-repeat;
    background-size: cover;
    display: inline-block;
    width: 40px;
    height: 40px;
    margin-bottom: -0.7em;
    margin-right: 12px;
}
.bookcafe-recommend .recommended-sub-title {
    display: block;
}
.bookcafe-recommend .recommended-sub-title .notice-freebies {
    background: none;
}
.bookcafe-recommend.loading {
    background: url("../images/loadingAnimation.gif") no-repeat center;
    height: 80px;
}
.woocommerce-MyAccount-content .wc-cart-form-header {
    border-bottom: 1px solid #000000;
}
.woocommerce div.woocommerce-MyAccount-content table.cart {
    border-top: none;
    overflow: unset;
}
.recommend-purchase-product {
    margin: 9.6px 0 0px;
    border-radius: 6px;
    background-color: rgba(254, 203, 76, 0.15);
}
.recommend-purchase-product div.product-recommend-header {
    margin: 0;
    padding: 16px 0;
    position: relative;
}
.recommend-purchase-product .product-recommend-header .bde-columns.product-recommend-title {
    font-size: 14px;
    font-weight: normal;
    margin: 0;
    position: relative;
    display: block;
    width: calc(100% - 188px);
}
.recommend-purchase-product .product-recommend-header .bde-columns.product-recommend-title .main-title {
    font-weight: normal;
    padding-left: 44px;
    display: block;
    line-height: 25px;
}
.recommend-purchase-product .product-recommend-header .bde-columns.product-recommend-title .sub-title {
    font-weight: normal;
    padding-left: 44px;
    display: block;
    line-height: 25px;
}
.recommend-purchase-product .product-recommend-header .btn-recommend-view {
    font-size: 14px;
    float: right;
    cursor: pointer;
    margin-right: 27px;
    display: flex;
    gap: 6px;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-end;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}
.recommend-purchase-product .product-recommend-header .btn-recommend-view .arrow-up {
    background: url("../images/bookcafe/icon_dropdown.png") no-repeat center;
    background-size: cover;
    width: 1.3em;
    height: 1.3em;
    display: inline-block;
    -webkit-transform: rotate(0deg);
    vertical-align: sub;
    margin: 0;
}
.recommend-purchase-product .product-recommend-header .btn-recommend-view .arrow-down {
    background: url("../images/bookcafe/icon_dropup.png") no-repeat center;
    background-size: cover;
    width: 1.3em;
    height: 1.3em;
    display: inline-block;
    -webkit-transform: rotate(0deg);
    vertical-align: middle;
    margin: 0;
}
.recommend-purchase-product .recommended_add_to_cart {
    cursor: pointer;
    position: absolute;
    top: -7px;
    right: -9px;
    padding: 5px;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    display: flex;
    width: 35px;
    height: 35px;
    background: #fff url("../images/bookcafe/icon_recommended_add_to_cart_1.5.png") no-repeat center;
    background-size: 22px;
    border: 1px solid #3d41a8;
}
.recommend-purchase-product .recommended_add_to_cart.loading {
    background: url("../images/ajax-loader.gif") no-repeat center;
    background-size: 50%;
}
.recommend-purchase-product .recommended_add_to_cart.loading svg {
    display: none;
}
.product-recommend-header .present-freebies {
    background: url(../images/bookcafe/icon-free-gift-1.5.png) no-repeat;
    background-size: cover;
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-bottom: -0.4em;
    position: absolute;
    left: 0;
    top: 3px;
    margin-left: 18px;
    margin-right: 6px;
    vertical-align: text-top;
}
.woocommerce .bookcafe-notices-wrapper.notice-purchased {
    position: fixed;
    bottom: 20px;
    width: 746px;
    z-index: 10;
}
/*.cart-recommended .bookcafe-recommend-content {
    padding: 20px 0;
}*/
.cart-recommended .bookcafe-recommend-content .bookcafe-section-container {
    width: 100% !important;
    max-width: 646px;
    margin: 0 50px 30px;
}

.woocommerce .woocommerce-MyAccount-content .woocommerce-cart-form .woocommerce-cart-form__contents.cart thead tr {
    border-bottom: none;
}

.recommend-purchase-product div.bookcafe-section-container .slick-slider .slick-track {
    align-items: flex-start;
    padding-top: 20px;
}
.recommend-purchase-product div.bookcafe-section-container .slick-slider .slick-track article {
    margin-right:27px;
    width:84px!important;
}

.recommend-purchase-product div.bookcafe-section-container .slick-slider .slick-track article .breakdance-image-clip {
    height: 123px;
}

.recommend-purchase-product div.bookcafe-section-container .slick-slider .swiper-button-prev, 
.recommend-purchase-product div.bookcafe-section-container .slick-slider .swiper-button-next {
    width: 30px;
    height: 30px;
    padding: 9px 8.9px 8.3px 8.3px;
}

.recommend-purchase-product div.bookcafe-section-container .slick-slider .swiper-button-prev:after, 
.recommend-purchase-product div.bookcafe-section-container .slick-slider .swiper-button-next:after {
    width: 12.8px;
    height: 12.8px;
    display: block;
}

.recommend-purchase-product div.bookcafe-section-container .slick-slider .slick-track article span.type {
    display: none;
}

.recommend-purchase-product div.bookcafe-section-container .slick-slider .slick-track article .price span {
    text-align: center;
    color: #1C1917;
    font-weight: 400;
    padding: 0;
}

.recommend-purchase-product div.bookcafe-section-container .slick-slider .slick-track article .bde-icon-list__author {
    display: none;
}

.recommend-purchase-product div.bookcafe-section-container .slick-slider .slick-track article .bde-icon-list__rental-free {
    justify-content: center;
}
.recommend-purchase-product div.bookcafe-section-container .slick-slider .slick-track article img.breakdance-image-object {
    border-radius: 5px;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.21);
    border: solid 0.5px #e2e2e2;
    min-height: 123px;
}
/* 사은품 폰트 컬러 변경 */
span.style_under_mark {
    color: #4A52C4;
    font-weight: 600;
}
.product-recommend-header strong {
    font-weight: bold;
}
/* 장바구니 추천상품 끝 */

/* 장바구니 구매버튼 시작 */
.cart_totals .wc-proceed-to-checkout .checkout-button:hover {
    background-color: #32368d;
}
/* 장바구니 구매버튼 끝 */

/*  */

/* 장바구니 사은품 아코디언 모바일 환경 시작 */
@media (max-width: 767px) {
    .product-recommend-header .present-freebies {
        margin-left: 15px;
        margin-right: 12px;
    }

    .recommend-purchase-product .product-recommend-header .bde-columns.product-recommend-title .main-title ,
    .recommend-purchase-product .product-recommend-header .bde-columns.product-recommend-title span.sub-title {
        padding-left: 47px;
        display: block;
    }
    .recommend-purchase-product .product-recommend-header .btn-recommend-view {
        font-size: 0;
        display: block;
    }

    .recommend-purchase-product .product-recommend-header .btn-recommend-view span {
        font-size: 16px;
    }

    .recommend-purchase-product .product-recommend-header .bde-columns.product-recommend-title {
        width: calc(100% - 57px);
    }
    .cart-recommended .bookcafe-recommend-content .bookcafe-section-container {
        margin: 0;
        padding-left: 47px;
    }
    .recommend-purchase-product div.bookcafe-section-container .slick-slider .slick-track article {
        width: 84px!important;
    }
}
/* 장바구니 사은품 아코디언 모바일 환경 끝 */

/* 장바구니 총 주문금액 영역 수정 시작 */
.woocommerce-cart .woocommerce-MyAccount-content .cart-collaterals .cart_totals table.shop_table_responsive tr th {
    font-weight: 400;
}

.woocommerce-cart .woocommerce-MyAccount-content .cart-collaterals .cart_totals table.shop_table_responsive tr.cart-subtotal td {
    font-size: 16px;
    font-weight: 400;
    color: #ff453a;
}

.woocommerce-cart .woocommerce-MyAccount-content .cart-collaterals .cart_totals table.shop_table_responsive tr.cart-subtotal td:before {
    content: "-";
}

.woocommerce-cart .woocommerce-MyAccount-content .cart-collaterals .cart_totals table.shop_table_responsive tr.order-total td bdi {
    color: #4A52C4;
}
.woocommerce-MyAccount-content .cart_totals .wc-proceed-to-checkout .checkout-button {
    display: block;
    max-width: 300px;
}

.woocommerce-MyAccount-content .cart-collaterals .cart_totals table.shop_table_responsive {
    margin-bottom: 40px;
}

.cart-recommended div.bookcafe-section-container .slick-slider .slick-track {
    align-items: flex-start;
}
/* 장바구니 총 주문금액 영역 수정 끝 */




/* 장바구니 추천상품 시작*/
.recommend-purchase-product div.bookcafe-section-container .slick-slider .slick-disabled {
    display: none!important;
}

@media (max-width: 767px) {
    .cart-recommended .bookcafe-recommend-content .bookcafe-section-container {
        padding-left: 0px;
    }
    .cart-recommended div.bookcafe-section-container .slick-slider .slick-track {
        margin-left:47px;
    }
}
/* 장바구니 추천상품 끝*/



/* 결제 정보 시작 */
#order_review table.wrap-payment-sconn-point td {
    line-height: 23px;
    padding-right: 12px;
}

#order_review table.wrap-payment-sconn-point th {
    padding: 16px;
    color: #000;
    border-bottom: 1px solid #d7d7d7;
}

#order_review table.wrap-payment-sconn-point > th {
    border-bottom: 1px solid #000;
}

#order_review table.wrap-payment-sconn-point td {
    border-bottom: 1px solid #d7d7d7;
    padding: 14px 12px!important;
}

#order_review .available-use-coupons .box-available-coupons-use {
    margin-right: 0;
}

#order_review table.wrap-payment-sconn-point tr th {
    vertical-align: middle;
}
#order_review table.wrap-payment-sconn-point tr.cart-discount.coupon- th {
    vertical-align: top;
}

#order_review table.wrap-payment-sconn-point tr.cart-discount.coupon-point td.available-use-coupons {
    font-size: 16px;
}

#order_review table.wrap-payment-sconn-point .rs_apply_coupon_point_field {
    font-size: 16px;
    border: 1px solid #d7d7d7;
    border-radius: 4px;
    max-width: 131px;
    font-weight:bold;
}
#order_review table.wrap-payment-sconn-point span.rs_user_total_point_value {
    color: #44403C;
}
#order_review table tr.total-payment-sconn-point td, tr.total-payment-sconn-point th {
    border-top: none!important;
    border-bottom: none!important;
}
#order_review table.wrap-payment-sconn-point {
    border-bottom: none;
}

#order_review table.wrap-payment-sconn-point tr.cart-discount.coupon-point th, 
#order_review table.wrap-payment-sconn-point tr.cart-discount.coupon-point td {
    border-bottom: 1px solid #000;
}

#order_review table.wrap-payment-sconn-point tr.total-payment-sconn-point th {
    padding: 19.5px 16px;
}

#order_review.woocommerce-checkout-review-order  ul.wc_payment_methods  input[type=radio] {
    width: 20px;
    height: 20px;
}

#order_review.woocommerce-checkout-review-order ul.wc_payment_methods li.wc_payment_method {
    margin: 0;
    padding: 15px;
    border-bottom: 1px solid #d7d7d7;
    width: 25%;
}

body #order_review.woocommerce-checkout-review-order ul.wc_payment_methods.payment_methods.methods {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 0;
    padding: 0;
}

#woocommerce-order-payment-failed #order_review div#payment ul.terms-conditions, #order_review.woocommerce-checkout-review-order div.woocommerce-terms-and-conditions-wrapper ul.terms-conditions {
    padding: 20px 20px 18px 40px;
    background-color: #fff;
    border-radius: 4px;
    border: 1px solid #d7d7d7;
}

#order_review.woocommerce-checkout-review-order div.woocommerce-terms-and-conditions-wrapper ul.terms-conditions li {
    font-weight: 500;
    margin-bottom: 20px;
    color: #595959;
}

.woocommerce .woocommerce-checkout div.place-order .woocommerce-conditions-wrapper label input#terms {
    border-color: #9c9c9c;
    margin-left: 0;
}

.woocommerce .woocommerce-checkout .total-payment-sconn-point {
    font-size: 20px;
    font-weight: bold;
}

.woocommerce .woocommerce-checkout .total-payment-sconn-point span.pay-underline strong span.woocommerce-Price-amount.amount {
    font-weight: bold;
    font-size: 20px;
}

.woocommerce-checkout-point-submit-wrapper {
    padding: 49px;
}

.woocommerce .woocommerce-checkout div.place-order button#place_order {
    margin-bottom: 0;
    font-size: 14px;
    font-weight: bold;
    padding: 14px 64px;
}
.woocommerce-checkout-review-order-table .product-name ul li .product-author {
    margin-bottom: 2px;
}

@media (max-width: 768px) {
    #order_review .available-use-coupons .box-available-coupons-use {
        display: block;
    }

    #order_review table.wrap-payment-sconn-point th {
        width: 190px;
    }
    body #order_review.woocommerce-checkout-review-order ul.wc_payment_methods.payment_methods.methods {
        display: flex!important;
    }
    #order_review ul.wc_payment_methods.payment_methods.methods li {
        width: 33.33%;
    }
}
/* 결제 정보 끝 */

/* 결제 실패 시작 */
#woocommerce-order-payment-failed h2 {
    margin-bottom: 0;
}

#woocommerce-order-payment-failed  .woocommerce-order-header {
    padding: 63.5px 0 59px;
    margin-bottom: 0px;
}

#woocommerce-order-payment-failed .woocommerce-order-header .dashicons-warning:before {
    background-image: url(../images/woocommerce/failed-icon.png);
    background-size: 100%;
    background-repeat: no-repeat;
    content: "";
    width: 86px;
    height: 86px;
    display: block;
    margin: auto;
}

.woocommerce-payment-failed .woocommerce-order-header .dashicons-warning {
    height: auto;
    margin-bottom: 26px;
}

.woocommerce-payment-failed .woocommerce-order-header .text-order-failed {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 12px;
}

.woocommerce-payment-failed .woocommerce-order-header .text-reorder-text {
    font-size: 14px;
    font-weight: normal;
    color: #9c9c9c;
}

#woocommerce-order-payment-failed #order_review .shop_table td, #woocommerce-order-payment-failed #order_review .shop_table td bdi, #woocommerce-order-payment-failed #order_review .shop_table th {
    padding: 18px 0;
    font-size: 16px;
    font-weight: 500;
    color: #9c9c9c;
    border-color: #d7d7d7;
}

#woocommerce-order-payment-failed #order_review .shop_table .view-amount {
    font-size: 20px;
    font-weight: bold;
}

#woocommerce-order-payment-failed #order_review .shop_table td bdi {
    font-size: 18px;
    font-weight: bold;
}

.woocommerce-payment-failed  ul.wc_payment_methods  input[type=radio] {
    width: 20px;
    height: 20px;
}

#woocommerce-order-payment-failed #order_review div#payment ul.payment_methods li {
    margin: 0;
    padding: 15px;
    width: 25%;
}

.woocommerce-payment-failed ul.wc_payment_methods.payment_methods.methods {
    display: flex!important;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 0;
    padding: 0;
    border-bottom: 1px solid #000;
}


#woocommerce-order-payment-failed #order_review div#payment ul.payment_methods li:nth-child(-n+4) {
    border-bottom: 1px solid #d7d7d7;
}

#woocommerce-order-payment-failed #order_review div#payment ul li.conditions {
    margin-bottom: 7px;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.79;
}

#woocommerce-order-payment-failed #order_review div#payment ul li.conditions:nth-last-child(-n+2) {
    margin-bottom: 0;
}

#woocommerce-order-payment-failed span.total-payment-amount {
    font-size: 20px;
    font-weight: bold;
}

#woocommerce-order-payment-failed  .form-submit {
    padding: 29px;
    margin-top: 0;
}

body #woocommerce-order-payment-failed  form#order_review div#payment button#place_order {
    margin-bottom: 0;
    font-size: 14px;
    font-weight: bold;
    padding: 14px 29px;
    margin-top: 11px;
}
body #woocommerce-order-payment-failed  form#order_review div#payment .form-row.woocommerce-terms {
    margin-top: 0;
    margin-bottom: 64px;
}

body #woocommerce-order-payment-failed form#order_review div#payment .form-row.woocommerce-terms abbr.required {
    display: none;
}

@media (max-width: 768px) {
    #woocommerce-order-payment-failed #order_review div#payment ul.payment_methods li {
        width: 33.33%;
    }
    #woocommerce-order-payment-failed #order_review .shop_table tr.order_item td {
        display: table-cell!important;
    }
    .woocommerce-order-pay form#order_review table.shop_table tfoot tr:nth-child(1) {
        display: none !important;
    }
    #woocommerce-order-payment-failed #order_review div#payment ul.payment_methods li.wc_payment_method.payment_method_ic_inicis_mobile_direct_bank {
        width: 100%;
    }
}
/* 결제 실패 끝 */

/* 결제 완료 시작 */
div#woocommerce-order-sconn-books .woocommerce-order-header .dashicons-order-completed {
    margin: 0;
    width: 351px!important;
    height: 297px!important;
}

div#woocommerce-order-sconn-books {
    gap: 0;
}

.woocommerce div#woocommerce-order-sconn-books h2 {
    margin: 0;
}

div#woocommerce-order-sconn-books .woocommerce-order-header {
    padding: 63.5px 0 64px;
    margin: 0;
}

div#woocommerce-order-sconn-books .woocommerce-order-header .text-order-complete {
    margin-top: 26px;
    font-size: 20px;
    font-weight: bold;
}

.breakdance-woocommerce div#woocommerce-order-sconn-books ul.woocommerce-order-overview li.woocommerce-order-overview__total.total,
.breakdance-woocommerce div#woocommerce-order-sconn-books ul.woocommerce-order-overview li.woocommerce-order-overview__sconn-point.sconn-point {
    font-size: 16px;
    font-weight: 500;
    color: #9c9c9c;
    padding: 16px 20px;
}

.breakdance-woocommerce div#woocommerce-order-sconn-books ul.woocommerce-order-overview li.woocommerce-order-overview__total.total:nth-child(1), .breakdance-woocommerce div#woocommerce-order-sconn-books ul.woocommerce-order-overview li.woocommerce-order-overview__total.total.all {
    color: #000;
}

.breakdance-woocommerce div#woocommerce-order-sconn-books ul.woocommerce-order-overview li.woocommerce-order-overview__total.total strong {
    font-size: 16px!important;
    font-weight: bold!important;
    color: #595959!important;
}

.breakdance-woocommerce div#woocommerce-order-sconn-books ul.woocommerce-order-overview li.woocommerce-order-overview__total.total strong span bdi {
    color: #595959;
}

.breakdance-woocommerce div#woocommerce-order-sconn-books ul.woocommerce-order-overview li.woocommerce-order-overview__total.total:nth-child(1) strong, .breakdance-woocommerce div#woocommerce-order-sconn-books ul.woocommerce-order-overview li.woocommerce-order-overview__total.total.all strong span bdi {
    color: #000!important;
}

.breakdance-woocommerce div#woocommerce-order-sconn-books a.link.sconn-link {
    font-size: 12px;
    font-weight: normal;
    color: #9c9c9c;
    text-decoration: underline;
}
.breakdance-woocommerce div#woocommerce-order-sconn-books ul.woocommerce-order-overview li.woocommerce-order-overview__total.total:nth-last-child(1) {
    border-bottom: 0;
}
.breakdance-woocommerce div#woocommerce-order-sconn-books .woocommerce-order-buttons a.button.sconn-button:after {
    content: "";
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: sub;
    margin-left: 15px;
    background: url("../images/woocommerce/icon_arrow_right_w.png") no-repeat center;
    background-size: 100%;
}
/* 결제 완료 끝 */

/* 결제 내역 시작 */
body #flexcil-order-details .woocommerce-table--order-details td, body #flexcil-order-details .woocommerce-table--order-details th {
    padding: 9.5px 0;
}

#flexcil-order-details .wrap-order-details-buttons .button {
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
}

#flexcil-order-details .refund_notice_container p,
#flexcil-order-details .refund_notice_container ul li, 
#flexcil-order-details .refund_notice_container .s_title {
    margin-top: 0;
    margin-bottom: 8px;
}

#flexcil-order-details .refund_notice_container > div {
    margin-top: 32px;
}

/* 결제 내역 끝 */

/* 도서소득공제 안내, 결제 안내 팝업 */
.ui-dialog.ui-corner-all.ui-widget.ui-widget-content.ui-front {
    border-radius: 5px;
    border-color: #9c9c9c;
}

#income-payments-select h2.sconn-point-title,
#income-information-text h2.sconn-point-title,
div#income-complete-payments-select h2.sconn-point-title {
    font-size: 20px;
    padding: 16px 32px;
    width: calc(100% - 64px);
    border-bottom: 0.5px solid #d7d7d7;
}

.ui-dialog #income-payments-select + .ui-dialog-buttonpane button,
.ui-dialog #income-information-text + .ui-dialog-buttonpane button {
    top: 19px;
}

.ui-dialog #income-complete-payments-select + .ui-dialog-buttonpane button {
    display: none;
}

#income-payments-select .wt_income-payments_wrapper,
#income-information-text .wt_income-payments_wrapper,
#income-complete-payments-select .wt_income-payments_wrapper  {
    margin: 32px 33px 40px;
    font-family: 'Noto Sans KR';
}

#income-payments-select .wt_income-payments_wrapper .sub-title,
#income-information-text .wt_income-payments_wrapper .sub-title,
#income-complete-payments-select .wt_income-payments_wrapper .sub-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

#income-information-text .wt_income-payments_wrapper .sub-items-description {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 32px;
}

#income-information-text .wt_income-payments_wrapper .sub-items-description li {
    margin-bottom: 10px;
}

#income-information-text .wt_income-payments_wrapper .description {
    margin-top: -16px;
    margin-left: 21px;
    margin-bottom: 32px;
    font-size: 12px;
    font-weight: 500;
}

#income-information-text .wt_income-payments_wrapper .sub-items-description:nth-last-child(1) {
    margin-bottom: 0;
}

#income-payments-select .wt_income-payments_wrapper .sub-description {
    font-size: 14px;
    font-weight: 500;
    margin-top: 0;
}

#income-payments-select .wt_income-payments_wrapper .wrap-button button,
#income-complete-payments-select .wt_income-payments_wrapper .wt-single-income-complete-cancel-payments button {
    padding: 21px 0px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 5px;
    border-color: #9c9c9c;
    font-family: 'Noto Sans KR';
}

#income-payments-select .wt_income-payments_wrapper .wrap-button {
    margin: 0 0 8px;
}

#income-payments-select .wt_income-payments_wrapper .description {
    font-size: 12px;
    margin-top: 9px;
    font-weight: 500;
}

#income-complete-payments-select .wt_income-payments_wrapper .wrap-button button {
    width: 186px;
    padding: 14px;
    font-size: 14px;
    font-weight: bold;
    line-height: 20px;
    border: 1px solid #000;
}

#income-complete-payments-select .wt_income-payments_wrapper .wt-single-income-complete-cancel-payments button {
    border: 1px solid #000;
}

div#income-complete-payments-select {
    height: auto !important;
}

#income-complete-payments-select .wt_income-payments_wrapper .wrap-button button:hover {
    border-color: #f1ad05;
}



/* 도서소득공제 안내, 결제 안내 팝업 시작*/
.ui-dialog.ui-corner-all.ui-widget.ui-widget-content.ui-front {
    border-radius: 5px;
    border-color: #9c9c9c;
}

#income-payments-select h2.sconn-point-title,
#income-information-text h2.sconn-point-title,
div#income-complete-payments-select h2.sconn-point-title {
    font-size: 20px;
    padding: 16px 32px;
    width: calc(100% - 64px);
    border-bottom: 0.5px solid #d7d7d7;
}

.ui-dialog #income-payments-select + .ui-dialog-buttonpane button,
.ui-dialog #income-information-text + .ui-dialog-buttonpane button {
    top: 19px;
}

.ui-dialog #income-complete-payments-select + .ui-dialog-buttonpane button {
    display: none;
}

#income-payments-select .wt_income-payments_wrapper,
#income-information-text .wt_income-payments_wrapper,
#income-complete-payments-select .wt_income-payments_wrapper  {
    margin: 32px 33px 40px;
    font-family: 'Noto Sans KR';
}

#income-payments-select .wt_income-payments_wrapper .sub-title,
#income-information-text .wt_income-payments_wrapper .sub-title,
#income-complete-payments-select .wt_income-payments_wrapper .sub-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

#income-information-text .wt_income-payments_wrapper .sub-items-description {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 32px;
}

#income-information-text .wt_income-payments_wrapper .sub-items-description li {
    margin-bottom: 10px;
}

#income-information-text .wt_income-payments_wrapper .description {
    margin-top: -16px;
    margin-left: 21px;
    margin-bottom: 32px;
    font-size: 12px;
    font-weight: 500;
}

#income-information-text .wt_income-payments_wrapper .sub-items-description:nth-last-child(1) {
    margin-bottom: 0;
}

#income-payments-select .wt_income-payments_wrapper .sub-description {
    font-size: 14px;
    font-weight: 500;
    margin-top: 0;
}

#income-payments-select .wt_income-payments_wrapper .wrap-button button,
#income-complete-payments-select .wt_income-payments_wrapper .wt-single-income-complete-cancel-payments button {
    padding: 21px 0px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 5px;
    border-color: #9c9c9c;
    font-family: 'Noto Sans KR';
}

#income-payments-select .wt_income-payments_wrapper .wrap-button {
    margin: 0 0 8px;
}

#income-payments-select .wt_income-payments_wrapper .description {
    font-size: 12px;
    margin-top: 9px;
    font-weight: 500;
}

#income-complete-payments-select .wt_income-payments_wrapper .wrap-button button {
    width: 186px;
    padding: 14px;
    font-size: 14px;
    font-weight: bold;
    line-height: 20px;
    border: 1px solid #000;
}

#income-complete-payments-select .wt_income-payments_wrapper .wt-single-income-complete-cancel-payments button {
    border: 1px solid #000;
}

div#income-complete-payments-select {
    height: auto !important;
}

#income-complete-payments-select .wt_income-payments_wrapper .wrap-button button:hover {
    border-color: #f1ad05;
}
/* 도서소득공제 안내, 결제 안내 팝업 끝*/

/* 도서소득공제 안내문 table 시작 */
@media (max-width: 1024px) {
    #order_review table.wrap-payment-sconn-point .box-income-non_income td {
        display: table-cell!important;
    }

    #order_review table.wrap-payment-sconn-point .box-income-non_income td ul.cultural-expenses:nth-child(2) li:nth-child(1) {
        /* width: calc(100% - 232px); */
        /* line-height: 14px; */
        padding-top: 30px;
    }
}
/* 도서소득공제 안내문 table 끝 */

/* 결제 버튼 로딩 상태 표시 시작 */
.woocommerce-order-pay form#order_review div#payment button#place_order.button.is-loading-spinner {
    background-color: #b5b5b5;
    position: relative;
    pointer-events: none;
    opacity: 0.85;
    padding-right: 40px; /* 스피너 공간 확보 */
}
.button.is-loading-spinner::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 6px;
    width: 18px;
    height: 18px;
    margin-top: -9px;
    border: 2px solid #fff;            /* 버튼이 어두운 색일 때 가시성 확보 */
    border-top-color: transparent;      /* 회전 효과 */
    border-radius: 50%;
    animation: sconn-btn-spin 0.8s linear infinite;
}
.button.is-loading-spinner.button-outline::after {
    border-color: #333;
    border-top-color: transparent;
}
@keyframes sconn-btn-spin {
    to { transform: rotate(360deg); }
}
/* 결제 버튼 로딩 상태 표시 끝 */
/* 쿠폰 사용 유의사항 & 스콘포인트 table 시작 */
@media (max-width: 510px) {
    #order_review table.wrap-payment-sconn-point td.available-use-coupons {
        display: table-cell!important;
    }

    #order_review.woocommerce-checkout-review-order .coupon-using .button-gray-small {
        margin-left: 0px;
        display: block;
        margin-top: 10px;
    }

    #order_review table.wrap-payment-sconn-point .rs_apply_coupon_point_field {
        margin: 10px 0;
    }
}
/* 쿠폰 사용 유의사항 & 스콘포인트 table 시작 */


/* ebs업셀링 모달 */
.upsell-modal {
    text-align: center;
    color: #1c1917;
    font-weight: 400;
}
.upsell-modal .upsell-modal-image {
    max-width: 100%;
    height: auto;
}
.upsell-modal .upsell-header {
    font-size: 14px;
    margin-bottom: 20px;
}
.upsell-modal .upsell-badge {
    background: #fffbbd;
    color: #4A52C4;
    padding: 2px 10px 0 10px;
    border-radius: 50px;
    border: 1px solid #4A52C4;
    font-size: 16px;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 10px;
}
.upsell-modal .upsell-title {
    font-size: clamp(18px, 3.2vw, 26px);
    font-weight: 600;
    color: #4A52C4;
    line-height: 1.5;
}
.upsell-modal .upsell-subtitle {
    font-size: clamp(14px, 2vw, 16px);
    font-weight: 400;
}
.upsell-modal .upsell-products {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: flex-end;
    margin-top: 32px;
}
.upsell-modal .upsell-product {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 15px;
    border-radius: 10px;
    position: relative;
    height: fit-content;
    width: calc(100% - 30px);
}
.upsell-modal .upsell-product.recommended {
    background: #f0f0ff;
}
.upsell-modal .upsell-product.normal {
    background: #e7e5e4;
}
.upsell-modal .upsell-product.recommended img{
    width: 100% !important;
}
.upsell-modal .upsell-product.normal img{
    width: 90% !important;
}
.upsell-modal .upsell-product img{
    height: auto;
    margin: 10px 0;
}
.upsell-product img.mo{
    display: none;
}
.upsell-modal .upsell-label {
    padding: 1px 10px 0 10px;
    border-radius: 50px;
    font-size: 14px;
    line-height: 1.4;
    max-width: 52px;
    margin-top: -26px;
}
.upsell-modal .upsell-label.normal {
    color: #fff;
    background: #44403C;
    border: 1px solid #44403C;
}
.upsell-modal .upsell-label.recommended {
    color: #4A52C4;
    background: #fffbbd;
    border: 1px solid #4A52C4;
}
.upsell-modal .upsell-product-count {
    color: #e74c3c;
    font-weight: 700;
}
.upsell-modal .upsell-footer {
    color: #999;
    font-size: 13px;
    margin-top: 15px;
}
.upsell-modal .swal2-close{
    display: block;
}
.upsell-modal .swal2-header{
    padding: 0;
    border: none;
}
.upsell-modal .upcell_cancel{
    width: 100%;
    font-size: 16px;
    background:#ffffff;
    color:#44403c;
    padding:12px 24px;
    border: 1px solid #d6d3d1;
    border-radius:8px;
    cursor:pointer;
    min-width: 222px;
}
.upsell-modal .upcell_confirm{
    width: 100%;
    font-size: 16px;
    background:#4A52C4;
    color:#fff;
    padding: 12px 24px;
    border: 1px solid #4A52C4;
    border-radius: 8px;
    cursor: pointer;
}
@media (max-width:768px) {
    .upsell-modal .upsell-header{
        font-size: 12px;
    }
    .upsell-modal .upsell-products{
        flex-direction: column;
        gap: 20px;
    }
    .upsell-product img.web{
        display: none;
    }
    .upsell-product img.mo{
        display: block;
        margin: 15px auto;
    }
    .upsell-modal .button{
        font-size: 14px;
    }
    .upsell-modal .button br{
        display: none;
    }
    .upsell-modal .upsell-badge{
        font-size: 14px;
    }
    .upsell-modal .upsell-label{
        font-size: 12px;
        padding: 4px 10px 2px 10px;
        line-height: 1.2;
    }
}
/* ebs referral modal */
.referral-modal {
    display: block;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}
.referral-modal .referral-modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 32px;
    border-radius: 10px;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    text-align: center;
    color: #1c191c;
}
.referral-modal .referral-modal-header {
    width: 100%;
    font-size: 14px;
    font-weight: 400;
}
.referral-modal .referral-modal-header img {
    width: 100%;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
.referral-modal .referral-modal-body {
    padding: 20px;
    text-align: center;
}
.referral-modal .referral-modal-body h3 {
    margin-top: 0;
    font-size: 20px;
    color: #333;
}
.referral-modal .referral-modal-body img{
    max-width: 300px;
}
.referral-modal .referral-text {
    color: #3d41a8;
    font-size: 18px;
    margin: 10px 0 5px 0;
}
.referral-modal .referral-kakao {
    font-size: 16px;
    margin: 0;
    color: #1c1917;
}
.referral-modal .referral-kakao img {
    width: 18px;
    height: 18px;
    display: inline-block;
    vertical-align: middle;
    margin: -1px 5px 0 0;
}
.referral-modal .referral-code-box {
    background-color: #f0f0f0;
    padding: 10px;
    border-radius: 5px;
    margin: 15px 0;
}
.referral-modal .referral-link-box {
    display: flex;
    margin: 10px 0;
}
.referral-modal #referral-link-input {
    flex-grow: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px 0 0 5px;
    font-size: 14px;
}
.referral-modal .copy-button {
    width: 100%;
    background-color: #4a52c4;
    color: #fff;
    border: none;
    padding: 12px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 500;
    margin-top: 14px;
}
.referral-modal .referral-note {
    font-size: 14px;
    color: #78716c;
    margin: 0;
    text-align: center;
}
.referral-modal .referral-modal-close {
    width: 35px;
    height: 35px;
    position: absolute;
    top: 15px;
    right: 15px;
    color: #1c191c;
    font-size: 1.5em;
    cursor: pointer;
    z-index: 10;
    text-align: center;
    font-weight: 300 !important;
}

@media (max-width:768px) {
    .referral-modal-header{
        font-size: 12px;
    }
    .referral-modal .copy-button{
        font-size: 16px;
    }
    .referral-modal .referral-text{
        font-size: 14px;
    }
    .referral-modal .referral-kakao,
    .referral-modal .referral-note{
        font-size: 12px;
    }
}

/* == 레퍼럴 코드 추천인 적립 내역  START == */
button.referral-history-btn {
    vertical-align: middle;
    float: right;
    cursor: pointer;
    width: auto;
    padding: 6px 10px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1em;
    background-color: #fff;
    color: #4A52C4;
    border: 1px solid #4A52C4;
    border-radius: 8px;
}

.referral-history-modal .referral-history-des {
    list-style: none;
    padding: 0;
    margin-bottom: 10px;
}

.referral-history-modal .referral-history-des li {
    display: block;
    margin: 3px 0;
    font-size: 14px;
    color: #1c1917;
}

.referral-history-modal .referral-history-amount-area {
    margin: 30px 0 10px 0;
    border-top: 1.5px solid #000;
    border-bottom: 1.5px solid #000;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
}
.referral-history-modal .referral-history-amount-area > div{
    width: 50%;
    display: flex;
    align-items: center;
    gap: 10px;
}
.referral-history-modal .referral-history-point {
    color: #1c1917;
    font-size: 18px;
    font-weight: 500;
    margin: 0;
}
.referral-history-modal .referral-history-amount{
    color: #4a52c4;
    font-size: 23px;
    font-weight: 500;
    margin: 0;
}
.referral-history-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}
.referral-history-modal .referral-history-modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 32px;
    width: 80%;
    max-width: 800px;
    border-radius: 8px;
    position: relative;
}

.referral-history-modal .referral-history-close {
    width: 35px;
    height: 35px;
    position: absolute;
    top: 15px;
    right: 15px;
    color: #1c191c;
    font-size: 1.5em;
    cursor: pointer;
    z-index: 10;
    text-align: center;
    font-weight: 300 !important;
}

.referral-history-modal .referral-history-close:hover,
.referral-history-modal .referral-history-close:focus {
    color: black;
    text-decoration: none;
}

.referral-history-modal .referral-history-loading {
    text-align: center;
    padding: 30px;
}

.referral-history-modal .spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 0, 0, .1);
    border-radius: 50%;
    border-top-color: #3498db;
    animation: spin 1s ease-in-out infinite;
    margin-right: 10px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
.referral-history-modal .referral-history-content{
    margin: 20px 0;
}
.referral-history-modal .referral-history-table {
    width: 100%;
    border-collapse: collapse;
}

.referral-history-modal .referral-history-table th,
.referral-history-modal .referral-history-table td {
    font-size: 14px !important;
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    color: #1c1917 !important;
}

.referral-history-modal .referral-history-table th {
    background-color: #f8f8f8;
    font-size: 14px;
    font-weight: 400 !important;
    color: #595959;
}

.referral-history-modal .referral-history-table.woocommerce-orders-table th,
.referral-history-modal .referral-history-table.woocommerce-orders-table td {
    padding: 1em 0.75em;
    vertical-align: middle;
}

.referral-history-modal .referral-history-table.woocommerce-orders-table th {
    font-weight: 700;
}

.referral-history-modal .referral-history-empty {
    text-align: center;
    padding: 30px;
    color: #666;
}
#referral-history-modal .referral-history-table thead{
    position: sticky;
    top: 0;
}
@media (max-width: 767px) {
    .referral-history-modal .referral-history-amount-area{
        flex-direction: column;
    }
    .referral-history-modal .referral-history-amount-area > div{
        width: 100%;
        justify-content: space-between;
    }
}
/* == 레퍼럴코드 추천인 적립내역 END == */