:root {
    --pt-border-color: rgb(171, 171, 171);
    --pt-border-color-light: rgb(187, 187, 187);
    --pt-text-color: rgb(225, 225, 225);
    --pt-button-color: #0068ff;
    /* --pt-input-border-color: #353436; 
    --pt-input-background-color: #191619;
    --pt-input-placeholder-color: #626063;
    --pt-input-text-color: #b6b6b8; */
    --pt-input-border-color: rgb(221, 221, 221);
    --pt-input-background-color: #FFF;
    --pt-input-placeholder-color: rgb(116, 116, 116);
    --pt-input-text-color: rgb(51, 51, 51);
}

.pafw-checkout-block .diy-checkout-table .quantity {
    margin: 0 !important;
}

.checkout-title__text h2 {
    z-index: 0 !important;
    margin-top: 0 !important;
    border-top: none !important;
}

.pt-checkout-cart .pafw-checkout-block .diy-checkout-table {
    border-top: 2px solid var(--pt-border-color) !important;
}

.pt-checkout-cart .pafw-checkout-block .diy-checkout-table thead {
    display: table-header-group !important;
}

.pt-checkout-cart .pafw-checkout-block .diy-checkout-table thead th {
    text-align: center;
    padding: 15px 0;
    font-size: 15px;
    color: #FFF;
    font-weight: normal;
    line-height: 1;
    text-align: center;
}

.pt-checkout-cart .pafw-checkout-block .diy-checkout-table tr {
    display: table-row !important;
    width: 100%;
}

.pt-checkout-cart .pafw-checkout-block .diy-checkout-table tbody tr {
    border-top: 1px solid var(--pt-border-color) !important;
}

.pt-checkout-cart .pafw-checkout-block .diy-checkout-table tbody tr td {
    padding: 24px 16px !important;
    text-align: center !important;
    font-size: 16px !important;
}

.pt-checkout-cart .pafw-checkout-block .diy-checkout-table tbody tr td,
.pt-checkout-cart .pafw-checkout-block .diy-checkout-table tbody tr td bdi {
    font-size: 16px !important;
}

.pt-checkout-cart .pafw-checkout-block .diy-checkout-table tbody tr td.product-name a,
.pt-checkout-cart .pafw-checkout-block .diy-checkout-table tbody tr td .ast-product-name a {
    font-size: 18px !important;
}

.pt-checkout-cart .pafw-checkout-block .diy-checkout-table tbody tr td.product-name a,
.pt-checkout-cart .pafw-checkout-block .diy-checkout-table tbody tr td .ast-product-name a,
.pt-checkout-cart .pafw-checkout-block .diy-checkout-table tbody tr td bdi {
    font-weight: 700 !important;
}

.pt-checkout-cart .pafw-checkout-block .diy-checkout-table tbody tr .product-name {
    text-align: left !important;
}

.pt-checkout-cart .pafw-checkout-block table.diy-checkout-table tbody tr .product-thumbnail {
    display: table-cell !important;
    width: 0 !important;
    padding: 0 !important;
}

.pt-checkout-cart .pafw-checkout-block .diy-checkout-table tr .product-name,
.pt-checkout-cart .pafw-checkout-block .diy-checkout-table tr .product-price {
    display: table-cell !important;
}

.pt-checkout-cart .pafw-checkout-block .diy-checkout-table .quantity {
    margin: auto !important;
}

.pt-billing-form form .form-row label {
    display: block !important;
    color: var(--pt-text-color) !important;
}

.pt-billing-form .woocommerce-billing-fields::before,
.pt-order-summary .pafw-checkout-block>h3,
.pt-coupon .pafw-checkout-block>h3,
.pt-payment-methods .pafw-checkout-block>h3 {
    margin: 0 0 16px !important;
    padding: 0 0 16px !important;
    line-height: 1.6;
    color: #FFF;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0;
    border-bottom: 1px solid rgb(171, 171, 171) !important;
}

.pt-billing-form .woocommerce-billing-fields h3 {
    display: none !important;
}

.pt-billing-form .woocommerce-billing-fields::before {
    content: "신청자 정보(필수 입력)";
    display: block;
    width: 100%;
    text-align: left;
    background-color: transparent;
}

.pt-billing-form .woocommerce-billing-fields input[type="text"],
.pt-billing-form .woocommerce-billing-fields input[type="email"],
.pt-billing-form .woocommerce-billing-fields input[type="tel"],
.pt-billing-form .woocommerce-billing-fields select,
.pt-coupon .pafw-discount-block .pafw-discount .coupon input[type="text"] {
    padding-left: 16px !important;
    padding-right: 16px !important;
    color: var(--pt-input-text-color) !important;
    background-color: var(--pt-input-background-color) !important;
    border-color: var(--pt-input-border-color) !important;
}

.pt-billing-form .woocommerce-billing-fields input[type="text"]::placeholder,
.pt-billing-form .woocommerce-billing-fields input[type="email"]::placeholder,
.pt-billing-form .woocommerce-billing-fields input[type="tel"]::placeholder {
    color: var(--pt-input-placeholder-color) !important;
}

.pafw-checkout-block .form-row select {
    /* background-image: url(assets/images/dropdown.png) !important; */
}

.pt-coupon .pafw-discount-block .pafw-discount .coupon .pafw_apply_coupon {
    background-color: var(--pt-button-color) !important;
    font-size: 16px !important;
    font-weight: 600 !important;
}

.pafw-checkout-block .diy-checkout-table tr .product-price::before {
    display: none !important;
}

.pt-payment-methods .pafw-payment-methods-block .pafw-payment-method .payment_methods {
    /* display: flex !important; */
    flex-direction: row !important;
    /* column-gap: 16px !important; */
}

.pt-payment-methods .pafw-payment-methods-block .pafw-payment-method .payment_methods .payment-method {
    flex: 1 !important;
    color: var(--pt-input-text-color) !important;
    background-color: var(--pt-input-background-color) !important;
    border-color: var(--pt-input-border-color) !important;
}

.pt-payment-methods .pafw-payment-methods-block .pafw-payment-method .payment_methods .payment-method.selected {
    background-color: #0068ff !important;
    border-color: #0068ff !important;
}

.pt-payment-methods .pafw-payment-methods-block .pafw-payment-method.pafw-icon .payment_methods .payment-method .pafw-icon::before {
    color: var(--pt-input-text-color) !important;
}

.pt-payment-methods .pafw-payment-methods-block .pafw-payment-method.pafw-icon .payment_methods .payment-method.selected .pafw-icon::before {
    /* color: #0068ff !important; */
    color: #FFF !important;
}

.pt-payment-methods .pafw-payment-methods-block .pafw-payment-method.pafw-icon .payment_methods .payment-method label {
    font-size: 14px !important;
    font-weight: 700 !important;
}

.pt-payment-methods .pafw-payment-methods-block .pafw-payment-method.pafw-icon .payment_methods .payment-method.selected label {
    /* color: #0068ff !important; */
    color: #FFF !important;
}

.pt-payment-methods .pafw-payment-methods-block .pafw-payment-methods .selected-payment-fields .payment-fields,
.pt-payment-methods .pafw-payment-methods-block .pafw-payment-methods .woocommerce-privacy-policy-text {
    display: none !important;
    color: #FFF !important;
}

.pt-refund-guide .elementor-heading-title {
    margin: 0 !important;
    padding: 0 !important;
}

.pt-refund-guide p {
    color: var(--pt-text-color) !important;
}

.pt-payment-button .pafw-payment-button-block .pafw-payment-method.box .pafw-payment.button {
    background-color: var(--pt-button-color) !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border-radius: 0 !important;
}
.pt-coupon .pafw-discount-block .pafw-discount .mscp-coupon-list > .title,
.pt-my-coupon .msma-coupon-block .msma-coupon-list > .title {
    color: var(--pt-text-color) !important;
}

.pt-coupon .pafw-discount-block .pafw-discount .mscp-coupon-list > div,
.pt-my-coupon .msma-coupon-block .msma-coupon-list > div {
    font-size: 16px !important;
    color: var(--pt-text-color) !important;
}

.pt-coupon .pafw-discount-block .pafw-discount .mscp-coupon-list .content-item.coupon,
.pt-my-coupon .msma-coupon-block .msma-coupon-list .content-item.coupon {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    border-color: var(--pt-input-border-color) !important;
    background-color: var(--pt-input-background-color) !important;
}

.pt-coupon .pafw-discount-block .pafw-discount .mscp-coupon-list .content-item.coupon .coupon-content .discount_amount,
.pt-my-coupon .msma-coupon-block .msma-coupon-list .content-item.coupon .coupon-content .discount_amount {
    color: var(--pt-input-text-color) !important;
    font-size: 16px !important;
}

.pt-coupon .pafw-discount-block .pafw-discount .mscp-coupon-list .content-item.coupon .coupon-content .description,
.pt-my-coupon .msma-coupon-block .msma-coupon-list .content-item.coupon .coupon-content .description {
    color: var(--pt-input-text-color) !important;
    font-weight: 600 !important;
}

.pt-coupon .pafw-discount-block .pafw-discount .mscp-coupon-list .content-item.coupon .coupon-content .available_amount,
.pt-my-coupon .msma-coupon-block .msma-coupon-list .content-item.coupon .coupon-content .available_amount {
    color: var(--pt-input-text-color) !important;
}

.pt-coupon .pafw-discount-block .pafw-discount .mscp-coupon-list .content-item.coupon .code,
.pt-my-coupon .msma-coupon-block .msma-coupon-list .content-item.coupon .code {
    border-color: var(--pt-input-border-color) !important;
    color: var(--pt-input-text-color) !important;
}

.pt-coupon .pafw-discount-block .pafw-discount .mscp-coupon-list .content-item.coupon .pafw_apply_auto_coupon,
.pt-my-coupon .msma-coupon-block .msma-coupon-list .content-item.coupon .msma-clipboard-btn {
    height: 38px !important;
    background-color: var(--pt-button-color) !important;
    font-size: 16px !important;
    font-weight: 600 !important;
}

.pt-course-refund {
    /* margin-left: auto; */
}

.pt-course-refund .refund-button {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 16px;
    background-color: var(--pt-button-color) !important;
}

.llms-student-dashboard .llms-loop-item-content .llms-loop-item-footer .llms-enroll-date {
    padding-right: 0 !important;
}

.llms-course-status-value {
    line-height: 1;
}

@media screen and (max-width: 767px) {

    .pt-checkout-cart .pafw-checkout-block .diy-checkout-table,
    .pt-checkout-cart .pafw-checkout-block .diy-checkout-table tr {
        display: flex !important;
        flex-direction: column !important;
    }

    .pt-checkout-cart .pafw-checkout-block .diy-checkout-table thead th {
        padding: 8px 8px !important;
        text-align: left !important;
    }

    .pt-checkout-cart .pafw-checkout-block .diy-checkout-table thead th.product-remove {
        display: none !important;
    }

    .pt-checkout-cart .pafw-checkout-block .diy-checkout-table thead th.product-quantity {
        display: flex !important;
        justify-content: space-between !important;
    }

    .pt-checkout-cart .pafw-checkout-block .diy-checkout-table thead th.product-quantity::after {
        content: "총계";
        display: block;
    }

    .pt-checkout-cart .pafw-checkout-block .diy-checkout-table tbody tr {
        padding: 16px 8px !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .pt-checkout-cart .pafw-checkout-block .diy-checkout-table tbody tr td.product-name {
        padding: 16px 0 !important;
    }

    .pt-checkout-cart .pafw-checkout-block .diy-checkout-table tbody tr td.product-remove,
    .pt-checkout-cart .pafw-checkout-block .diy-checkout-table tbody tr td.product-price {
        display: flex !important;
        justify-content: flex-start !important;
    }

    .pt-checkout-cart .pafw-checkout-block .diy-checkout-table .product-subtotal,
    .pt-checkout-cart .pafw-checkout-block .diy-checkout-table tbody tr td.product-thumbnail {
        display: none !important;
    }

    .pt-coupon .pafw-discount-block.mscp-card .mscp-coupon-list .content.content-grid .content-item {
        width: 100% !important;
        margin: 5px auto !important;
    }

    .pt-payment-methods .pafw-payment-methods-block .pafw-payment-method {
        padding-top: 0 !important;
    }

    .pt-payment-methods .pafw-payment-methods-block .pafw-payment-method .payment_methods {
        flex-direction: column !important;
    }

    .pt-payment-methods .pafw-payment-methods-block .pafw-payment-method .payment_methods .payment-method {
        padding-top: 8px !important;
        padding-bottom: 8px !important;
    }
}