.template-checkout .nav.float-end {
    opacity: 0;
    transition: .5s;
}

.template-checkout.minicart-show .nav.float-end {
    opacity: 1;
}

.template-checkout main {
    padding-top: calc(var(--header-height) + 25px);
}

.template-checkout header .menu-header {
    height: 88px;
}

.template-checkout #logo img {
    height: 58px;
}

.template-checkout footer {
    display: none;
}

#alert .btn-close:hover {
    background: var(--bs-btn-close-bg);
    background-size: 1em;
    background-repeat: no-repeat;
    background-position: center;
}

#checkout-checkout input:-webkit-autofill,
#checkout-checkout input:-webkit-autofill:hover,
#checkout-checkout input:-webkit-autofill:focus,
#checkout-checkout input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}

.template-checkout .container {
    max-width: 1283px;
}

#checkout-checkout h1 {
    display: none;
}

#checkout-payment-method.loading:before {
    content: "";
    position: absolute;
    width: 100%;
    height: calc(100% + 40px);
    background: rgb(0 0 0 / 15%);
    z-index: 2;
    margin: -20px;
}

#checkout-payment-method.loading:after {
    content: "";
    position: absolute;
    display: inline-block;
    width: 50px;
    height: 50px;
    top: calc(50% - 25px);
    left: calc(50% - 45px);
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    -webkit-animation: spin 1s ease-in-out infinite;
    z-index: 5;
}

@keyframes spin {
    to { -webkit-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
    to { -webkit-transform: rotate(360deg); }
}

#checkout-checkout h1+.row .col-md-7 {
    position: relative;
    margin-bottom: 100px !important;
}

#checkout-checkout #form-register .row-cols-md-2>.col {
    padding: 0 10px;
}

#checkout-checkout #form-register .row-cols-md-2 {
    margin-left: -10px;
    margin-right: -10px;
}

#checkout-checkout .breadcrumb {
    border: none;
    background: transparent;
    margin: 0 -16px 40px;
    padding: 0;
}

#checkout-checkout .breadcrumb .breadcrumb-item {
    color: #000;
    font-size: 14px;
    font-weight: 300;
    line-height: normal;
    text-transform: capitalize;
    text-shadow: none;
}

#checkout-checkout .breadcrumb .breadcrumb-item.active {
    font-weight: 400;
}

#checkout-checkout .breadcrumb .breadcrumb-item::after {
    top: 6px;
    right: 0;
    width: 8px;
    height: 8px;
    border-color: #000000;
}

#checkout-checkout .breadcrumb .breadcrumb-item:last-child:after {
    display: none;
}

#checkout-checkout #form-register>p {
    display: none;
}

#checkout-checkout #form-register {
    padding-right: 127px;
}

#checkout-checkout legend {
    color: #000;
    font-family: 'Roboto Mono';
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
    border: none;
}

#checkout-checkout #form-register legend {
    border: none;
    margin-bottom: 16px;
    padding: 0;
}

#checkout-checkout #form-register .form-check.form-check-inline {
    min-height: 18px;
    margin-bottom: 14px;
    padding-left: 24px;
    margin-right: 28px;
}

#checkout-checkout #form-register .form-check.form-check-inline:last-child {
    margin-right: 0;
}

#checkout-checkout #form-register .form-check.form-check-inline .form-check-label {
    color: #000;
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    line-height: 18px;
    text-transform: capitalize;
}

#checkout-checkout #form-register .form-check.form-check-inline input {
    margin-top: 6px;
}

#checkout-checkout #form-register .form-label {
    margin-bottom: 8px;
}

#checkout-checkout #form-register .form-label~input {
    margin-bottom: 8px;
    padding: 14px 8px 13px;
}

#checkout-checkout .input-field {
    width: 100%;
}

#checkout-checkout #form-register .select2-selection {
    padding: 14px 8px 13px;
}

#checkout-checkout #form-register .form-select.is-invalid+.select2-container .select2-selection {
    border-color: var(--bs-form-invalid-border-color);
}

#checkout-checkout #content>.row>.col:last-child {
    position: fixed;
    max-width: 603px;
    height: 100%;
    top: 0;
    right: 0;
    z-index: 99;
    padding: 102px 90px 77px 91px;
    border-left: 1px solid #000000;
    background-color: #FFFFFF;
    overflow-y: scroll;
}

#checkout-checkout #content>.row>.col:last-child::-webkit-scrollbar {
    display: none;
}

#checkout-checkout #form-register .form-check.form-switch {
    cursor: pointer;
    margin: 0;
    min-height: 18px;
    line-height: normal;
    font-size: 14px;
    padding-left: 28px;
    margin-bottom: 14px;
}

#checkout-checkout #form-register .form-check.form-switch .form-check-label {
    cursor: pointer;
    color: #000;
    font-size: 14px;
    font-weight: 300;
    line-height: normal;
}

#checkout-checkout #form-register .form-check.form-switch input {
    margin-left: -28px;
    margin-top: 2px;
}

#checkout-checkout #form-register .form-check.form-switch input:checked {
    background: #000000;
}

#checkout-checkout #form-register fieldset {
    margin-top: 26px;
}

#checkout-checkout #form-register fieldset legend {
    margin-bottom: 40px;
}

#checkout-checkout #form-register .form-check.form-switch .form-check-label a {
    color: #000;
    font-size: 14px;
    font-weight: 300;
    text-decoration-line: underline;
}

#checkout-checkout #form-register .form-check.form-switch .form-check-label a b {
    font-weight: 300;
}

#checkout-checkout #form-register .form-check.form-switch .form-check-label a:hover {
    text-decoration-line: none;
}

#checkout-checkout #checkout-shipping-method {
    margin-bottom: 56px !important;
}

#checkout-checkout #checkout-shipping-method legend,
#checkout-checkout #checkout-payment-method legend {
    margin-bottom: 27px;
    padding: 0;
}

#checkout-checkout #form-register .custom-field {
    display: none;
}

#checkout-checkout #checkout-shipping-method #error-shipping-method {
    margin: 0;
}

#checkout-checkout #checkout-payment-method {
    margin-bottom: 56px !important;
    position: relative;
}

#checkout-checkout #checkout-payment-method #error-payment-method {
    margin: 0;
}

#checkout-checkout #checkout-payment-address #payment-existing{
    margin-top: 22px;
    margin-bottom: 22px;
    padding-left: 52px;
}

#checkout-checkout #checkout-payment-method br {
    display: none;
}

#checkout-checkout #checkout-payment-method .form-check,
#checkout-checkout #checkout-shipping-method .form-check {
    cursor: pointer;
    padding: 0;
    margin-bottom: 8px;
}

#checkout-checkout #checkout-payment-method .form-check:last-child,
#checkout-checkout #checkout-shipping-method .form-check:last-child {
    margin: 0;
}

#checkout-checkout #checkout-shipping-method .form-check input[type="radio"],
#checkout-checkout #checkout-payment-method .form-check input[type="radio"] {
    appearance: none;
    cursor: pointer;
    width: 12px;
    height: 12px;
    vertical-align: top;
    padding: 0;
    margin: 0;
    margin-top: 5px;
    margin-right: 28px;
    border: none;
    background-size: contain;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12" fill="none"> <circle cx="6" cy="6" r="5.65625" stroke="black" stroke-width="0.6875"/> </svg>');
    background-repeat: no-repeat;
    background-position: center;
}

#checkout-checkout #checkout-shipping-method .form-check input:checked[type="radio"],
#checkout-checkout #checkout-payment-method .form-check input:checked[type="radio"] {
    background-color: transparent !important;
    border-color: #000000;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12" fill="none"><circle cx="6" cy="6" r="5.65625" stroke="black" stroke-width="0.6875"/><circle cx="6" cy="6" r="4" fill="black"/></svg>');
}

#checkout-checkout #checkout-shipping-method .form-check label>span>span {
    font-weight: 300;
}

#checkout-checkout #checkout-payment-address{
    margin-top: 30px;
    margin-bottom: 30px;
}

#checkout-checkout #checkout-shipping-address,#checkout-checkout #checkout-payment-address {
    padding-right: 127px;
}

#checkout-checkout #checkout-shipping-address legend,#checkout-checkout #checkout-payment-address legend {
    padding: 0;
    margin-bottom: 40px;
}

#checkout-checkout #checkout-shipping-address .form-label~input,#checkout-checkout #checkout-payment-address .form-label~input {
    margin-bottom: 8px;
    padding: 14px 8px 13px;
}

#checkout-checkout #checkout-shipping-address .form-check,#checkout-checkout #checkout-payment-address .form-check {
    min-height: 21px;
    padding-left: 52px;
    margin-bottom: 24px;
}

#checkout-checkout #checkout-shipping-address .form-check .existing-address-item .existing-address-item-address,#checkout-checkout #checkout-payment-address .form-check .existing-address-item .existing-address-item-address {
    margin-top: 8px;
    font-weight: 300;
}

#checkout-checkout #checkout-shipping-address .form-check input,#checkout-checkout #checkout-payment-address .form-check input {
    margin-left: -52px;
}

#checkout-checkout #checkout-shipping-address #shipping-existing .select2-selection,#checkout-checkout #checkout-payment-address #payment-existing .select2-selection{
    padding-right: 35px;
}

#checkout-checkout #checkout-shipping-address #shipping-new #form-shipping-address .select2-container,#checkout-checkout #checkout-payment-address #payment-new #form-payment-address .select2-container{
    width: 100% !important;
}

#checkout-checkout #checkout-shipping-address #shipping-new #form-shipping-address .telephone-container .select2-container,
#checkout-checkout #checkout-payment-address #payment-new #form-payment-address .telephone-container .select2-container{
    width: 105px !important;
}

#checkout-checkout #checkout-shipping-address #shipping-new #form-shipping-address .select2-container .select2-selection,#checkout-checkout #checkout-payment-address  #payment-new #form-payment-address .select2-container .select2-selection{
    padding-right: 35px;
}

#checkout-checkout #checkout-shipping-address #shipping-new .text-end,#checkout-checkout #checkout-payment-address #payment-new .text-end{
    margin: 0 !important;
}

#checkout-checkout #checkout-confirm #confirm_product .table thead {
    display: none;
}

#checkout-checkout #checkout-confirm #confirm_product .table {
    border: none;
}

#checkout-checkout #checkout-confirm #confirm_product .table tbody tr {
    border: none;
}

#checkout-checkout #checkout-confirm #confirm_product .table tbody td {
    border: none;
    padding: 0;
    padding-bottom: 24px;
    box-shadow: none;
}

#checkout-checkout #checkout-confirm #confirm_product .table .image .img-thumbnail {
    width: 100%;
    padding: 0;
    border: none;
    border-radius: 0;
    background: #D9D9D9;
    object-fit: cover;
}

#checkout-checkout #checkout-confirm #confirm_product .table .image {
    width: 80px;
}

#checkout-checkout #checkout-confirm #confirm_product .table td br {
    display: none;
}

#checkout-checkout #checkout-confirm #confirm_product .table .text-start {
    padding: 0 15px;
    padding-bottom: 24px;
}

#checkout-checkout #checkout-confirm #confirm_product .table .text-start a {
    display: block;
    color: #000;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 8px;
}

#checkout-checkout #checkout-confirm #confirm_product .table .text-start small {
    display: block;
    width: 100%;
    color: #000;
    font-size: 12px;
    font-weight: 300;
    text-transform: capitalize;
    margin-bottom: 4px;
}

#checkout-checkout #checkout-confirm #confirm_product .table .text-end .total-price {
    color: #000;
    font-size: 14px;
    font-weight: 300;
    text-transform: capitalize;
    margin-bottom: 46px;
}

#checkout-checkout #checkout-confirm #confirm_product .table .text-end .qty {
    display: flex;
    width: auto;
    align-items: center;
    justify-content: flex-end;
}

#checkout-checkout #checkout-confirm #confirm_product .table .text-end .qty .qty-minus,
#checkout-checkout #checkout-confirm #confirm_product .table .text-end .qty .qty-plus {
    cursor: pointer;
    font-size: 10px;
}

#checkout-checkout #checkout-confirm #confirm_product .table .text-end .qty .form-control {
    appearance: none;
    color: #000;
    font-size: 14px;
    text-align: center;
    font-weight: 300;
    text-transform: capitalize;
    box-shadow: none !important;
    border: none;
    padding: 0 5px;
    display: inline-block;
    width: auto;
    max-width: 58px;
}

/* Chrome, Safari, Edge, Opera */
#checkout-checkout #checkout-confirm #confirm_product .table .text-end .qty .form-control::-webkit-outer-spin-button,
#checkout-checkout #checkout-confirm #confirm_product .table .text-end .qty .form-control::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
#checkout-checkout #checkout-confirm #confirm_product .table .text-end .qty .form-control[type=number] {
    -moz-appearance: textfield;
}

#checkout-checkout #checkout-confirm #confirm_product .table tfoot tr {
    border: none;
}

#checkout-checkout #checkout-confirm #confirm_product .table tfoot .sub_total {
    border-top: 1px solid #000000;
}

#checkout-checkout #checkout-confirm #confirm_product .table tfoot .total {
    position: relative;
    border-top: 27px solid transparent;
}

#checkout-checkout #checkout-confirm #confirm_product .table tfoot td {
    color: #000;
    border: none;
    padding: 8px 0;
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    text-transform: capitalize;
}

#checkout-checkout #checkout-confirm #confirm_product .table tfoot .sub_total td {
    padding: 24px 0 8px;
}

#checkout-checkout #checkout-confirm #confirm_product .table tfoot td strong {
    display: block;
    width: 100%;
    text-align: left;
    font-weight: 300;
}

#checkout-checkout #checkout-confirm #confirm_product .table tfoot .total td {
    position: relative;
    color: #000;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    padding: 16px 0;
}

#checkout-checkout #checkout-confirm #confirm_product .table tfoot .total td:before {
    content: '';
    position: absolute;
    display: block;
    width: 100%;
    height: 1px;
    top: 0;
    left: 0;
    background: #000000;
}

#checkout-checkout #checkout-confirm #confirm_product .table tfoot .total td strong {
    font-weight: 500;
}

#checkout-checkout #checkout-payment legend {
    display: none;
}

/* #checkout-checkout #checkout-payment .alert {
    display: none;
} */

#checkout-checkout #form-credit-card .col {
    flex: 0 0 100%;
}

#checkout-checkout #form-credit-card #input-card-expire .form-select {
    width: 50%;
    border: 1px solid #000;
    padding: 12.5px 8px;
    color: #000;
    font-family: 'Roboto Mono', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    border-radius: 0;
    height: 48px;
    outline: none;
    box-shadow: none;
}

#checkout-checkout #form-credit-card #input-card-expire {
    display: flex;
    justify-content: space-between;
    column-gap: 16px;
}

#checkout-checkout #form-credit-card #input-store {
    margin-top: 4px;
    width: 15px;
    height: 15px;
}

#checkout-checkout #form-credit-card #input-store:checked {
    background-color: #000;
}

#checkout-checkout #form-credit-card .form-check-label {
    color: #000;
    font-size: 14px;
    font-weight: 300;
}

#checkout-checkout #form-credit-card .form-check-label strong {
    font-weight: 300;
}

#checkout-checkout #form-register>.row .col {
    text-align: right;
}

#checkout-checkout .btn-primary {
    margin-top: 24px !important;
}

#checkout-checkout .back_to_cart {
    
    display: inline-block;
    color: #000;
    font-size: 14px;
    font-weight: 300;
    text-transform: capitalize;
    transform: translateY(-30px);
}

#checkout-checkout #checkout-shipping-address~.back_to_cart {
    transform: translateY(-28px);
}

#checkout-checkout .text-success {
    color: #000000 !important;
    float: right;
    text-align: right;
    padding-right: 127px;
    padding-top: 8px;
}

#checkout-checkout .text-info {
    float: right;
    text-align: right;
    padding-top: 8px;
}

#checkout-checkout .text-infomation {
    display: block;
    text-align: right;
    padding-top: 8px;
}

#checkout-checkout #checkout-shipping-address .list-existing+.form-check input+label,#checkout-checkout #checkout-payment-address .list-existing+.form-check input+label {
    margin-bottom: 28px;
}

#checkout-checkout #checkout-shipping-address .list-existing+.form-check input:checked+label,#checkout-checkout #checkout-payment-address .list-existing+.form-check input:checked+label {
    margin-bottom: 0;
}

#checkout-checkout #checkout-shipping-address~.back_to_cart+.btn-primary.btn-continue {
    position: absolute;
    right: 139px;
    margin-top: -29px !important;
}

#checkout-checkout #form-credit-card #input-card-expire .form-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url(../../images/icon-select.svg);
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
}

#checkout-checkout #form-credit-card #input-card-expire .form-select::-ms-expand {
    display: none;
}

#checkout-checkout .form-label[for="input-telephone"]+.input-container {
    position: relative;
}

#checkout-checkout .form-label[for="input-telephone"]+.input-container .form-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 46px;
    border: 1px solid #000;
    border-radius: 0;
    max-width: 105px;
    padding: 8px;
    padding-right: 25px;
    font-size: 16px;
    font-weight: 300;
    background-image: url(../../images/icon-select.svg);
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    border: none;
    margin: 1px;
    outline: none;
    box-shadow: none;
}

#checkout-checkout .form-label[for="input-telephone"]+.input-container .select2-container {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 16px;
    font-weight: 300;
    border-right: none;
    outline: none;
    box-shadow: none;
}

#checkout-checkout .form-label[for="input-telephone"]+.input-container .select2-selection {
    margin-top: 1px;
    margin-left: 1px;
    height: 46px;
    border: 0;
}

#checkout-checkout .form-label[for="input-telephone"]+.input-container .select2-selection .select2-selection__arrow {
    top: 0;
    right: 0;
    height: 46px;
    margin-top: 1px;
}

#checkout-checkout input[type="tel"] {
    padding-left: 114px;
    box-shadow: none;
    outline: none;
}

#checkout-checkout .form-label[for="input-telephone"]+.input-container:before {
    content: '';
    position: absolute;
    top: 7px;
    left: 106px;
    display: block;
    width: 1px;
    height: 34px;
    background-color: #000;
}

#checkout-checkout .btn-primary i {
    color: #000 !important;
}

#checkout-checkout #checkout-confirm #checkout-payment #payment-buttons>div {
    text-align: right;
}

#checkout-checkout #checkout-confirm #confirm_product .table tfoot tr.discount_item .text-title, #checkout-checkout #checkout-confirm #confirm_product .table tfoot tr.discount_item .text-value {
    padding-top: 0;
    color: #4D4D4D;
}

#checkout-checkout #checkout-confirm #confirm_product .table tfoot tr.discount .text-title, #checkout-checkout #checkout-confirm #confirm_product .table tfoot tr.discount .text-value {
    padding-bottom: 4px;
}

/* Success Page */
#common-success {
    padding-left: 32px;
    padding-right: 32px;
}

#common-success:before {
    content: '';
    position: fixed;
    display: block;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    background-image: url('../../images/bg_success.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
}

#common-success .breadcrumb {
    display: none;
}

#common-success #content {
    max-width: 1053px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    padding: 136px 106px;
    margin-bottom: 28px;
    background-color: #FFFFFF;
}

#common-success #content .text-end {
    display: none;
}

#common-success #content h1 {
    margin-bottom: 16px;
}

#common-success #content h1+p {
    color: #000;
    font-size: 24px;
    font-weight: 400;
}

#common-success #content p {
    color: #000;
    text-align: center;
    font-size: 14px;
    font-weight: 300;
    margin-bottom: 40px;
}

/* End Success Page */

@media (max-width: 1280px) {
    #checkout-checkout #content>.row>.col:last-child {
        max-width: 45%;
        padding: 102px 30px 77px;
    }

    #checkout-checkout #form-register {
        padding-right: 100px;
    }

    #checkout-checkout #checkout-shipping-address,#checkout-checkout #checkout-payment-address {
        padding-right: 100px;
    }

    #checkout-checkout .text-success {
        padding-right: 100px;
    }

    #checkout-checkout #checkout-shipping-address~.back_to_cart+.btn-primary.btn-continue {
        right: 111px;
    }
}

@media (max-width: 1023px) {
    #checkout-checkout #form-register .row-cols-md-2>.col {
        width: 100%;
    }

    #checkout-checkout #content>.row>.col:last-child {
        max-width: 50%;
    }

    #checkout-checkout h1+.row .col-md-7 {
        width: 50%;
        padding-right: 0;
    }

    #checkout-checkout #form-register {
        padding-right: 30px;
    }

    #checkout-checkout #checkout-shipping-address,#checkout-checkout #checkout-payment-address {
        padding-right: 30px;
    }

    #checkout-checkout #checkout-shipping-address~.back_to_cart+.btn-primary.btn-continue {
        right: 30px;
    }

    #checkout-checkout .text-success {
        padding-right: 30px;
    }

    #common-success #content {
        padding: 68px 53px;
    }
}

@media (max-width: 767.98px) {
    #checkout-checkout h1+.row>* {
        width: 100%;
    }

    #checkout-checkout h1+.row .col-md-7 {
        width: 100%;
        margin-bottom: 0 !important;
        padding-right: 12px;
    }

    #checkout-checkout #content>.row>.col:last-child {
        position: relative;
        width: 100%;
        max-width: 100%;
        border: none;
        padding: 40px 12px 64px;
        z-index: 1;
    }

    #checkout-checkout #form-register {
        padding-right: 0;
    }

    #checkout-checkout #checkout-shipping-address,#checkout-checkout #checkout-payment-address {
        padding-right: 0;
    }

    #checkout-checkout #checkout-shipping-address~.back_to_cart+.btn-primary.btn-continue {
        right: 12px;
        bottom: 0;
    }

    #checkout-checkout .text-success {
        padding-right: 0;
    }

    #checkout-checkout .back_to_cart {
        display: none;
    }

    #common-success #content {
        padding: 130px 36px;
    }

    #common-success #content h1+p {
        font-size: 18px;
        margin-bottom: 48px;
    }

    #common-success #content p {
        font-size: 12px;
        margin-bottom: 32px;
    }

    #checkout-checkout #form-register .form-check.form-check-inline input {
        margin-top: 4px;
    }
}