.woocommerce-checkout #primary {
    width: 100%;
    float: unset;
    margin-right: auto;
}

.woocommerce-checkout #primary header.entry-header {
    display: none;
}

.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review {
    width: 100%;
    float: unset;
}

.wps-cp_main .wps-col-1-in h3#order_review_heading {
    padding: 0;
}

form.wps-cp_main-form,
.woocommerce-checkout .page {
    margin-bottom: 0;
}

.wps-cp_main-form .wps-cp_-title {
    color: var(--black);
    font-size: 24px;
    font-weight: 900;
    margin: 0 0 30px;
}

.wps-cp_main {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 50px;
}

.wps-cp_main .wps-cp_product-wrap a {
    color: var(--black);
    text-decoration: none;
}

.wps-cp_main .wps-col-1-set,
.wps-cp_main .wps-col-2 {
    padding: 20px;
    box-shadow: var(--low-shadow);
    border-radius: 5px;
    margin: 0 0 50px;
}

.wps-cp_main .wps-col-1-set,
.wps-cp_main .wps-col-2 {
    margin: 0 0 0;
	background: var(--white);
}

.wps-cp_product-wrap {
    padding: 20px;
    box-shadow: var(--low-shadow);
    border-radius: 5px;
    margin: 0 0 50px;
	background: var(--white);
}

.wps-cp_product-wrap .product-wrap {
    display: grid;
    gap: 20px;
    grid-template-columns: 150px 1fr;
    padding: 0 0 15px;
}

.wps-cp_product-wrap .product-wrap .product-thumbnail {
    border-radius: 5px;
}

.wps-cp_product-wrap .product-wrap .product-thumbnail img {
    max-height: 80px;
    object-fit: cover;
}

.wps-cp_product-wrap .product-wrap .product-name {
    color: var(--black);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    display: block;
    padding: 0 0 5px;
}

.wps-cp_product-wrap .product-wrap .product-details>.woocommerce-Price-amount {
    color: var(--black);
    font-family: Arial;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    flex: 1;
}

.wps-cp_product-wrap .product-wrap .product-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.wps-cp_product-wrap .order-total {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding: 15px 0 0;
    border-top: 1px solid var(--grey);
}

.wps-cp_main .wps-col-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 0;
}

.wps-cp_main .wps-col-2 .wps-cp_payment-wrap {
    padding: 20px;
    display: flex;
}

.wps-cp_payment-wrap .woocommerce-checkout-payment {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.wps-cp_payment-wrap .woocommerce-checkout-payment .wc_payment_methods {
    flex: 1;
}

.wps-cp_main .wps-col-2 .wps-cp_payment-desc-wrap {
    padding: 20px;
    display: flex;
    flex-direction: column;
    text-align: center;
    background: var(--light-grey);
	border-radius: 0 10px 10px 0;
}

.wps-cp_main .wps-col-2 .wps-cp_payment-desc-wrap>.form-row {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--light-black);
    line-height: 1.5;
}

.wps-cp_main .wps-col-2 .wps-cp_payment-desc-wrap a {
    color: var(--primary);
}

.wps-cp_payment-desc-wrap .wps-cp_payment-sec {
    max-width: 195px;
    margin: auto;
    color: var(--black);
    font-size: 14px;
    line-height: 1.5;
}

.wps-cp_payment-desc-wrap .wps-cp_payment-sec img {
    max-width: 24px;
    margin: auto auto 5px;
}

.wps-cp_payment-wrap .woocommerce-terms-and-conditions-wrapper {
    display: none;
}

.wps-cp_main .wps-cp_payment-wrap #payment .place-order,
.wps-cp_main .wps-cp_payment-wrap #payment li.wc_payment_method {
    background: transparent;
    padding: 0;
}

.wps-cp_main .wps-cp_payment-wrap #payment .place-order {
    margin: 10px 0 0;
}

.wps-cp_payment-wrap #payment li.wc_payment_method {
    margin: 0 0 20px;
}

.wps-cp_main .wps-cp_payment-wrap #payment li.wc_payment_method:hover {
    background: transparent;
}

.wps-cp_payment-wrap #payment li.wc_payment_method label {
    position: relative;
    margin: 0;
    border: 1px solid var(--grey);
    border-radius: 5px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wps-cp_payment-wrap #payment li.wc_payment_method label:before {
    display: none;
}

.wps-cp_payment-wrap #payment li.wc_payment_method label> img {
    max-height: 24px!important;
    object-fit: contain;
    margin: 0 14px 0 0!important;
}
.wps-cp_payment-wrap #payment li.wc_payment_method .input-radio:checked+label::after {
    position: absolute;
    top: 50%;
    right: 10px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
    content: '';
    transform: translateY(-50%);
}

.wps-cp_payment-wrap #payment li.wc_payment_method label:before {
    opacity: 0;
    width: 0;
    margin: 0;
}

.wps-cp_payment-wrap #payment li.wc_payment_method label:hover,
.wps-cp_payment-wrap #payment li.wc_payment_method .input-radio:checked+label {
    border-color: var(--primary);
    color: var(--primary);
}

.wps-cp_main .wps-cp_payment-wrap #payment .place-order button {
    background: var(--black);
    border-radius: 5px;
    border: 1px solid var(--black);
    font-size: 16px;
    color: var(--white);
    line-height: 1.25;
    padding: 12px 24px;
    letter-spacing: 0.4px;
    font-weight: 400;
    min-height: 40px;
    transition: all 0.3s ease;
}

.wps-cp_main .wps-cp_payment-wrap #payment .place-order button:hover {
    background: var(--white);
    color: var(--black);
    border: 1px solid var(--black);
}

.wps-cp_main .wps-col-1-set#customer_details label {
    color: var(--black);
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 10px;
}

.wps-cp_main .wps-col-1-set label .optional {
    display: none;
}

.wps-cp_main .wps-col-1-set input[type=email] {
    border-radius: 5px;
    background: var(--light-grey);
    border: none;
    box-shadow: none;
}


.wps-cp_main .wps-col-1-set#customer_details .form-row {
    width: 100%;
    margin: 0;
}

.wps-cp_main .wps-col-1-set#customer_details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wps-cp_main .wps-col-1-set#customer_details .woocommerce-terms-and-conditions-wrapper p {
    font-size: 12px;
    line-height: 1.5;
    color: var(--medium-black);
    margin: 0;
}

.wps-cp_main .wps-col-1-set#customer_details .woocommerce-terms-and-conditions-wrapper p a {
    color: var(--primary);
}

.wps-cp_main p.wps-cp_field-notice {
    color: var(--light-black);
    font-size: 12px;
    font-weight: 400;
    margin: 20px 0 0;
}

.wps-cp_main-form .wps-cp_main a.wps-cp_reg-user {
    color: var(--primary);
    line-height: 1.25;
}

form.woocommerce-checkout #customer_details h3 {
    display: none;
}

form.woocommerce-checkout .wps-cp_payment-wrap select {
    min-height: 33px;
    width: 100%;
    font-size: 16px;
    padding: 8px;
    cursor: pointer;
}

.woocommerce-checkout .order_details.wps_od {
    padding: 25px 15px;
    width: 95%;
    max-width: 35rem;
    margin: auto;
    border-radius: 10px 10px 0 0;
    background: var(--white);
}

.woocommerce-checkout #mccp-payment {
    background: var(--white);
    border-radius: 0 0 10px 10px;
}

@media screen and (min-width: 767px) {
    .wps-cp_main .wps-col-1-in {
        top: 60px;
    }
}

@media screen and (min-width: 620px) {
    .wps-cp_main .wps-col-1-in {
        position: sticky;
        top: 80px;
    }
}

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

    .wps-cp_main #order_review {
        margin: 0;
    }

    .wps-cp_main .wps-col-2 .wps-cp_payment-desc-wrap {
        padding: 60px 20px;
		border-radius: 0 10px 10px 0;
    }
}

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

    .wps-cp_main {
        gap: 25px;
    }

    .wps-cp_main .wps-col-2 {
        grid-template-columns: 1fr;
    }
	.wps-cp_main .wps-col-2 .wps-cp_payment-desc-wrap {
    border-radius: 0 0 10px 10px;
}

    .wps-cp_product-wrap {
        margin: 0 0 25px;
    }
}

@media screen and (max-width:720px) {
    .wps-cp_product-wrap .product-wrap {
        grid-template-columns: 1fr;
    }

    .wps-cp_main {
        grid-template-columns: 300px 1fr;
    }

}

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

    .wps-cp_main .wps-col-2 .wps-cp_payment-desc-wrap {
        padding: 40px 20px 20px;
    }

    .wps-cp_main .wps-col-2 .wps-cp_payment-wrap {
        padding: 40px 20px 20px;
    }

    .wps-cp_main {
        grid-template-columns: 1fr;
    }

    .wps-cp_product-wrap .product-wrap {
        grid-template-columns: 1fr 1fr;
    }
}

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

    .wps-cp_main .wps-col-1-set {
        padding: 15px;
    }

    .wps-cp_main .wps-col-2 .wps-cp_payment-wrap,
    .wps-cp_main .wps-col-2 .wps-cp_payment-desc-wrap {
        padding: 20px 15px 15px;
    }

    .wps-cp_product-wrap .product-wrap .product-thumbnail img {
        width: 100%;
    }

}

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

    .wps-cp_product-wrap .product-wrap {
        grid-template-columns: 1fr;
    }

}