.inspired-cart-link {
    cursor: pointer;
}

.inspired-cart-wrapper {
    position: fixed;
    bottom: 0;
    right: -400px;
    width: 100%;
    height: 100%;
    max-width: 400px;
    color: #111;
    font-size: 16px;
    background-color: #fff;
    overflow-y: auto;
    z-index: 100000;
}

.inspired-cart-wrapper.active {
    display: block
}

.inspired-cart-wrapper .cart-contents-wrapper {
    flex: 1;
    padding: 30px 20px 15px;
}

.inspired-cart-wrapper form .variations tr,
.inspired-cart-wrapper form .variations tr td {
    display: block;
    width: 100%;
    color: #222;
    font-size: 14px;
    text-align: left;
    padding: 0;
    border: none
}

.inspired-cart-wrapper form .variations .reset_variations {
    display: none !important
}

.inspired-cart-wrapper form.variations_form .variations {
    padding-bottom: 7px
}

.inspired-cart-wrapper form.variations_form .variations>.variable {
    padding: 0 0 13px !important
}

.inspired-cart-wrapper form .additional-sales-items-wrapper>h3 {
    margin: 1px 0 6px
}

.inspired-cart-wrapper form .handle {
    display: block;
    width: 50px;
    height: 50px;
    position: absolute;
    top: 50%;
    right: 400px;
    margin-right: -2px;
    cursor: pointer;
    background: url(../images/msdp-icons.png) 50%/72px no-repeat #fff;
    border: 1px solid #dadada;
    border-right: 0;
    opacity: 1;
    transform: translate(0, -25px);
    transition: background .3s ease-out
}

.inspired-cart-wrapper form .handle.open {
    background-position: 9px 50%
}

.inspired-cart-wrapper form .handle.close {
    background-position: -31px 50%
}

.inspired-cart-wrapper form.cart div.total_price_wrap {
    display: block;
    padding: 10px 10px 0;
    border-top: 1px solid #dadada;
    box-sizing: border-box
}

.inspired-cart-wrapper form.cart div.total_price_wrap .total_price {
    text-align: left
}

.inspired-cart-wrapper form.cart div.total_price_wrap .total_price p.price-label span.amount {
    float: right
}

.inspired-cart-wrapper .msdp-product-item-wrapper {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    padding-bottom: 12px
}

.inspired-cart-wrapper .msdp-product-item-wrapper .quantity {
    margin: 0
}

.inspired-cart-wrapper .msdp-product-item-wrapper .nm-quantity-wrap {
    width: auto
}

.inspired-cart-wrapper .msdp-product-title {
    display: block !important;
    flex: 1;
    margin: 0 !important;
    padding: 0 !important;
    font-weight: 900;
    font-size: 15px
}

.inspired-cart-wrapper .msdp-items-container.empty {
    display: none !important
}

.inspired-cart-wrapper .add-to-cart-wrapper {
    display: flex;
    flex-wrap: wrap;
    padding: 10px
}

.inspired-cart-wrapper .add-to-cart-wrapper button {
    flex: 1 1 auto;
    line-height: 40px;
    background: #fff;
    margin: 0 3px !important
}

.inspired-cart-wrapper .add-to-cart-wrapper button:first-of-type {
    margin-left: 0 !important
}

.inspired-cart-wrapper .add-to-cart-wrapper button:last-of-type {
    margin-right: 0 !important
}

.inspired-cart-wrapper .add-to-cart-wrapper .checkout_button_wrapper {
    margin-top: 17px
}

.inspired-cart-wrapper .add-to-cart-wrapper .checkout_button_wrapper>div {
    width: 100% !important
}

.inspired-cart-wrapper .add-to-cart-wrapper .button {
    width: auto;
    height: 60px;
    min-width: inherit !important;
    max-width: 100%;
    color: #222;
    font-size: 16px !important;
    font-weight: 400;
    text-align: center;
    background-color: #fff !important;
    padding: 0 5px !important;
    border: 1px solid #222;
    border-radius: 0;
    box-shadow: none;
    transition: opacity .2s;
    box-sizing: border-box !important
}

.inspired-cart-wrapper .add-to-cart-wrapper .button:after,
.inspired-cart-wrapper .add-to-cart-wrapper .button:before {
    display: none !important
}

.inspired-cart-wrapper .add-to-cart-wrapper .button:focus,
.inspired-cart-wrapper .add-to-cart-wrapper .button:hover {
    color: #222 !important;
    background-color: #fff !important;
    border: 1px solid #222 !important
}

.inspired-cart-wrapper .add-to-cart-wrapper .button.disabled,
.inspired-cart-wrapper .add-to-cart-wrapper .button[disabled] {
    color: #222;
    background-color: #fff !important;
    border: 1px solid #222;
    opacity: .67 !important
}

.inspired-cart-wrapper .add-to-cart-wrapper .button.buynow_button {
    color: #fff !important;
    background-color: #222 !important
}

.inspired-cart-wrapper .add-to-cart-wrapper .button.buynow_button:focus,
.inspired-cart-wrapper .add-to-cart-wrapper .button.buynow_button:hover {
    color: #fff !important
}

.inspired-cart-wrapper .add-to-cart-wrapper .button i,
.inspired-cart-wrapper .add-to-cart-wrapper .button svg {
    display: none
}

.inspired-cart-wrapper .add-to-cart-wrapper .button .btn {
    font-size: 16px
}

.inspired-cart-wrapper .add-to-cart-wrapper .button.single_add_to_cart_button {
    color: #222;
    font-weight: 400;
    border: 1px solid #222;
}

.inspired-cart-wrapper .add-to-cart-wrapper .button.single_add_to_cart_button.disabled,
.inspired-cart-wrapper .add-to-cart-wrapper .button.single_add_to_cart_button[disabled] {
    color: #222 !important;
    background-color: #fff !important;
    border-color: #a8a8a8 !important;
}

.inspired-cart-wrapper .add-to-cart-wrapper .button.buynow_button.disabled,
.inspired-cart-wrapper .add-to-cart-wrapper .button.buynow_button[disabled] {
    background-color: #a8a8a8 !important;
}

.inspired-cart-wrapper .variable-options {
    width: 100%
}

.inspired-cart-wrapper .checkout_button_wrapper {
    flex-basis: 100%;
    text-align: center
}

.inspired-cart-wrapper .related-products .wp-post-image {
    top: 10px;
    left: 0;
    width: 60px;
    height: 60px;
    margin-bottom: 5px;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: 50% 50%;
    object-position: 50% 50%;
}

.handle {
    display: none
}

.woocommerce-tabs.diy-open {
    padding-right: 400px !important
}

/* add hamin */
.inspired-cart-bg {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: fixed;
    background: #16161657;
    visibility: hidden;
    opacity: 0;
    transition: all .24s ease;
    z-index: 1001;
}

.inspired-cart-bg.open {
    visibility: visible;
    opacity: 1;
}

.cart-item-info .item-title {
    line-height: 1.24;
    padding-right: 20px;
    margin: 0;
}

.cart-item-info .product-price {
    flex: 1;
    line-height: 1.38;
}

.cart-item-info .product-price bdi {
    padding: 0;
}

.cart-item-info .product-price .amount {
    font-weight: 400;
}

.cart-item-info .variation {
    font-size: .86em;
    margin: 3px 0 0;
    overflow: hidden;
}

.cart-item-info .variation dt,
.cart-item-info .variation dd {
    float: left;
    color: #888;
    font-size: 1em;
    font-weight: 400;
    padding: 0;
    margin: 0;
}

.cart-item-info .variation dt {
    margin: 0 5px 0 0;
    clear: both;
}

.cart-item-info .variation dd p {
    font-weight: inherit;
    margin: 0;
}

.cart-item-info .inline-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 15px 0 10px;
}

.inspired-cart-wrapper ul {
    padding: 0;
    margin: 0;
}

.inspired-cart-wrapper form ul li {
    position: relative;
    display: flex;
    padding: 0 0 30px;
    border-top: 0;
    border-bottom: 1px solid #e2e2e2;
    margin-bottom: 30px;
}

.inspired-cart-wrapper form ul li:last-child {
    border-bottom: none;
    margin: 0;
}

.inspired-cart-wrapper form ul li .add-to-cart {
    position: absolute;
    top: 50%;
    right: 20px;
    width: auto;
    height: auto;
    color: #fff;
    font-size: 16px;
    line-height: normal;
    background-color: #0055b8;
    padding: 9px 17px 8px;
    border: none;
    border-radius: 8px;
    transform: translate(0, -50%);
    cursor: pointer;
}

.inspired-cart-wrapper .button {
    width: 100%;
    min-width: initial;
    min-height: initial;
    line-height: normal;
    padding: 0;
    border: none;
    margin: 0;
}

.inspired-cart-wrapper .inspired-cart-txt {
    font-size: 18px;
    line-height: 1.6;
    text-align: center;
    padding: 30px 0 20px;
}

.inspired-cart-wrapper .inspired-cart-close {
    position: absolute;
    top: 35px;
    left: 21px;
    width: 20px;
    height: 20px;
    background: url(../images/msdp-prev.png) no-repeat 50% 50%/20px !important;
    padding: 0 !important;
    cursor: pointer;
    opacity: 1;
    z-index: 1;
}

.inspired-cart-wrapper .cart-item-thumnail {
    margin-right: 25px;
}

.inspired-cart-wrapper .cart-item-thumnail img {
    position: static;
    width: 75px;
    height: auto;
}

.inspired-cart-wrapper form div.quantity {
    float: none;
    width: auto;
    height: auto;
    padding: 0;
    border: none;
    margin: 0;
    overflow: hidden;
}

.inspired-cart-wrapper form .quantity input {
    position: static !important;
    float: left;
    width: 24px !important;
    height: 24px !important;
    color: #111;
    font-size: 14px !important;
    text-align: center;
    background-color: #fff;
    padding: 0 3px !important;
    border: 1px solid #ddd;
    border-radius: 0 !important;
    margin: 0;
    box-shadow: none;
    cursor: pointer;
    box-sizing: border-box;
}

.inspired-cart-wrapper form .quantity input::before,
.inspired-cart-wrapper form .quantity input::after {
    display: none;
}

.inspired-cart-wrapper form .quantity input[type=number]::-webkit-inner-spin-button,
.inspired-cart-wrapper form .quantity input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
}

.inspired-cart-wrapper form .quantity .minus {
    border-right: 0 !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.inspired-cart-wrapper form .quantity .plus {
    border-left: 0 !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.inspired-cart-wrapper form .quantity .screen-reader-text {
    display: none;
}

.inspired-cart-wrapper .cart-item-info {
    flex: 1;
}

.inspired-cart-wrapper .cart-item-remove {
    position: absolute;
    top: 1px;
    right: 0;
    font-size: 0;
}

.inspired-cart-wrapper .cart-item-remove .button {
    width: 12px;
    height: 12px;
    background: url(../images/m_btn_close.png) no-repeat 50% 50%/12px !important;
    padding: 0 !important;
    cursor: pointer;
}

.inspired-cart-wrapper .total-price-wrapper {
    padding: 20px;
    border-top: 1px solid #e2e2e2;
}

.inspired-cart-wrapper .total-price-wrapper p {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    margin: 0;
}

.inspired-cart-wrapper .total-price-wrapper strong,
.inspired-cart-wrapper .total-price-wrapper .amount {
    font-weight: 400;
}

.inspired-cart-wrapper .cart-button-wrapper {
    padding: 0 20px 20px;
}

.inspired-cart-wrapper .cart-button-wrapper .buttons {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -3px;
}

.inspired-cart-wrapper .cart-button-wrapper .buttons .button {
    flex: 1;
    display: inline-block;
    width: auto;
    height: auto;
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    line-height: normal !important;
    text-align: center;
    background-color: #0055b8;
    padding: 17px 0 16px;
    border: none;
    border-radius: 8px;
    margin: 0 3px;
}

.inspired-cart-wrapper .related-products {
    padding: 0 20px 30px;
}

.inspired-cart-wrapper .related-products ul li {
    padding: 22px 20px;
    border-radius: 8px;
    box-shadow: #4040403b 0 0 5px -1px;
    margin-bottom: 15px;
}

.inspired-cart-wrapper .related-products .inspired-cart-txt {
    font-size: 22px;
}

.inspired-cart-wrapper .related-products .cart-item-info {
    padding-right: 50px;
}

.inspired-cart-wrapper .related-products .product-price {
    margin-top: 10px;
}

.inspired-cart-wrapper .woocommerce-mini-cart__empty-message {
    color: #888;
    font-size: 16px;
    text-align: center;
    margin: 0 0 20px;
}

.woocommerce .inspired-cart-wrapper form .quantity input {
    color: #111 !important;
    background-color: #fff !important;
    /*border: 1px solid #ddd !important;*/
}

.inspired-cart-loading {
    position: absolute !important;
    top: 0;
    right: 0;
    display: none;
    width: 100%;
    height: 100%;
    max-width: 400px;
    z-index: 9;
}

.inspired-cart-loading.processing {
    position: fixed !important;
    display: block;
}

.inspired-cart-loading::before,
.inspired-cart-loading::after,
.inspired-cart-wrapper .blockUI.blockOverlay::before,
.inspired-cart-wrapper .blockUI.blockOverlay::after {
    display: none !important;
}

.inspired-cart-wrapper .blockUI.blockOverlay {
    position: fixed !important;
    left: auto !important;
    right: 0;
    width: 100% !important;
    max-width: 400px;
    z-index: 2;
}

.inspired-cart-wrapper .blockUI.blockElement {
    top: 50% !important;
    left: auto !important;
    right: calc(50% - 25px);
    display: inline-block !important;
    width: 25px;
    height: 25px;
    transform: translate(-13px, -50%);
}

.inspired-cart-wrapper .blockUI.blockElement::before,
.inspired-cart-wrapper .blockUI.blockElement::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #333;
    transform: scale(0);
    animation: loader8 1s infinite ease-in-out;
}

.inspired-cart-wrapper .blockUI.blockElement::after {
    animation-delay: 0.5s;
}

@keyframes loader8 {
    0% {
        transform: translateX(-100%) scale(0);
    }

    50% {
        transform: translateX(0%) scale(1);
    }

    100% {
        transform: translateX(100%) scale(0);
    }
}

@media screen and (min-width: 768px) {
    .inspired-cart-wrapper {
        border-left: 1px solid #e2e2e2;
    }

    .inspired-cart-wrapper .blockUI.blockElement {
        margin-top: -50px;
    }
}

@media screen and (max-width: 767px) {
    .inspired-cart-wrapper .inspired-cart-close {
        left: 25px;
    }

    .inspired-cart-wrapper .cart-contents-wrapper {
        padding: 25px 20px 15px;
    }

    .inspired-cart-wrapper .inspired-cart-txt {
        font-size: 16px;
    }

    .inspired-cart-wrapper .related-products .inspired-cart-txt {
        font-size: 18px;
    }

    .inspired-cart-wrapper .cart-item-thumnail {
        margin-right: 20px;
    }

    .inspired-cart-wrapper .cart-item-thumnail img {
        width: 65px;
    }
}

/* 세트 상품 CSS */
.msdsp-subscription {
    display: inline-block;
    width: 100%;
    color: #111;
    font-size: 14px;
    padding: 13px 15px;
    border: 1px solid #e2e2e2;
    margin: 15px 0;
}

.msdsp-subscription .set_product_title {
    font-weight: 700;
    margin-bottom: 5px;
}

.msdsp-subscription .description {
    color: #888;
    font-size: .86em;
    margin-bottom: 10px;
}

.msdsp-subscription .msdsp-subscription-item {
    display: flex;
    font-size: .86em;
    font-weight: 400;
    line-height: 1.6;
    background-color: #f4f4f4;
    padding: 5px 10px;
    margin-bottom: 5px;
    align-items: center;
}

.msdsp-subscription .msdsp-subscription-item:last-child {
    margin-bottom: 0;
}

.msdsp-subscription .msdsp-subscription-item .thumbnail {
    width: 50px;
    height: 50px;
    background-size: cover;
    padding: 0;
    border: none;
    border-radius: 0;
    margin: 0;
}

.msdsp-subscription .msdsp-subscription-item .info {
    margin-left: 15px;
}
