#checkout .cart-header-minimal {
    border-bottom: solid 1px #ddd;
    padding: 30px 0;
}

#checkout .cart-header-minimal .row {
    display: flex;
    align-items: center;
}

#checkout .logo {
    width: 90%;
}

#checkout .cart-header-minimal .back-to-shop a {
    text-transform: uppercase;
    font-size: 13px;
}


#checkout-personal-information-step .nav.nav-inline {
    display: flex;
    flex-direction: column;
    margin: 30px 0 0;
    padding: 0;
}

#checkout-personal-information-step .nav.nav-inline .nav-item.pi-card:not(:last-child) {
    margin-bottom: 20px;
}

#checkout-personal-information-step .nav.nav-inline .tab-pane.active {
    margin-top: -20px;
    margin-bottom: 20px;
}

#checkout-personal-information-step .nav.nav-inline .nav-item {
    list-style: none;
    margin: 0;
}

#checkout-personal-information-step .nav.nav-inline .nav-item .nav-separator {
    display: none;
}

#checkout-personal-information-step .nav.nav-inline .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 30px;
    border: 1px solid;
    font-size: 16px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: #fff;
    font-family: var(--secondary-font);
    font-weight: 500;
    transition: background 0.3s ease, color 0.3s ease;
    color: var(--text-color);
}

#checkout-personal-information-step .nav.nav-inline .nav-link:focus {
    box-shadow: none;
    outline: none;
}

#checkout-personal-information-step .nav.nav-inline .nav-link::after {
    content: '+';
    font-size: 20px;
    margin-left: 20px;
    transition: transform 0.2s ease;
}

#checkout-personal-information-step .nav.nav-inline .nav-link.is-open {
    background: #f9f9f9;
}

#checkout-personal-information-step .nav.nav-inline .nav-link.is-open::after {
    content: '−';
}

#checkout-personal-information-step .pi-content {
    border: 1px solid #0d0d0f;
    border-top: none;
    padding: 30px;
    display: none;
    animation: piContentFade 0.25s ease;
}

#checkout-personal-information-step .pi-content.is-open {
    display: block;
}

#checkout-personal-information-step .pi-content .continue.btn {
    width: 100%;
    /* max-width: 320px; */
}

#checkout .continue.btn.btn-primary {
    width: 100%;
    padding: 15px 0;
    font-size: 13px;
    background-color: black !important;
    font-family: var(--secondary-font);
    color: #fff !important;
}

#checkout #checkout-personal-information-step #login-form>div {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

#checkout #checkout-personal-information-step #login-form>div .form-group.row:first-of-type {
    padding-right: 10px;
}

.input-group .input-group-btn>.btn[data-action=show-password] {
    background: black;
}

#checkout #checkout-personal-information-step #login-form>div .form-group.row {
    margin: unset;
    display: grid;
    width: 50%;
}

#checkout .form-group.row label {
    font-size: 13px;
    font-family: var(--secondary-font);
    text-transform: uppercase;
    font-weight: 500;
    color: #7a7a7a;
}

#checkout .form-group.row .js-input-column input {
    border: unset;
    background: unset;
    border-bottom: solid 1px;
    padding: 20px 0 5px 0;
    font-family: var(--main-font);
}

#checkout #checkout-personal-information-step #login-form>div .form-group.row .js-input-column .input-group-btn button.btn {
    display: none;
}

#checkout .form-group.row .js-input-column input:focus,
#checkout .form-group.row .js-input-column input:focus-visible,
#checkout .form-group.row .js-input-column .input-group {
    outline: none !important;
    border-color: inherit !important;
    box-shadow: none !important;
}



#checkout #checkout-personal-information-step #login-form>div .form-group.row label,
#checkout #checkout-personal-information-step #login-form>div .form-group.row .js-input-column {
    width: 100%;
    color: #7a7a7a;
    padding: 0;
    margin: 0;
}

#checkout #checkout-personal-information-step #login-form #submit-login {
    width: 100%;
    padding: 15px 0;
    font-size: 13px;
    font-family: var(--secondary-font);
}

#checkout #checkout-personal-information-step #customer-form .form-group label[for="guest-field-psgdpr"] {
    margin-top: 20px;
}

#checkout #checkout-personal-information-step #login-form>div .forgot-password {
    margin: 0;
    width: 100%;
}

#checkout #checkout-personal-information-step #login-form>div .forgot-password a {
    color: #7a7a7a;
    font-size: 13px;
}

#checkout #checkout-guest-form #customer-form {
    margin: 0;
}

.checkout-progress-wrapper {
    margin: 24px 0 32px;
}

.checkout-progress-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    place-content: center;
    gap: 12px;
}

.checkout-progress-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 13px;
    color: #bbb;
}

.checkout-progress-item:not(:last-child)::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background: #dcdcdc;
}

.checkout-progress-item.is-current {
    color: #111;
}

.checkout-progress-item.is-complete {
    color: #555;
}

.checkout-progress-item.is-disabled {
    color: #d0d0d0;
}

.checkout-progress-button {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    cursor: pointer;
}

.checkout-progress-button:focus {
    outline: none;
}

.checkout-progress-button[aria-disabled="true"] {
    cursor: default;
}

.checkout-progress-index {
    display: none;
}

.checkout-progress-label {
    white-space: nowrap;
    text-transform: uppercase;
}

#checkout .custom-radio {
    position: relative;
    display: inline-flex;
    align-items: center;
}

#checkout .custom-radio input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

#checkout .custom-radio span {
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    top: -1px;
    left: -1px;
}

#checkout .custom-radio input[type="radio"]:checked+span {
    background-color: #111;
    border-color: #111;
}

#checkout .cart-grid-body .checkout-step {
    padding: 0;
}

#checkout .cart-grid-body .checkout-step .step-title {
    display: none;
}

#checkout .cart-grid-body .checkout-step>.content {
    padding: 0;
}

#checkout #checkout-guest-form #customer-form>div {
    display: flex;
    flex-wrap: wrap;
}

#checkout #checkout-guest-form #customer-form>div>div {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 5px;
}

#checkout #checkout-guest-form #customer-form>div>div label,
#checkout #checkout-guest-form #customer-form>div>div .js-input-column {
    width: 100%;
}

#checkout #checkout-guest-form #customer-form>div>div:nth-child(2),
#checkout #checkout-guest-form #customer-form>div>div:nth-child(3) {
    width: 50%;
}

#checkout #checkout-guest-form #customer-form>div>div:nth-child(2) {
    margin-right: 5px;
}

#checkout #checkout-guest-form #customer-form>div>div .radio-inline {
    text-align: left;
}

#checkout #checkout-guest-form #customer-form .form-control-comment {
    display: none;
}

#checkout #checkout-guest-form input::placeholder {
    font-size: 12px;
}

/* #checkout #checkout-guest-form #customer-form .col-md-3.form-control-comment {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
} */

/* #checkout .form-group.row .custom-checkbox span {
    background: #0d0d0f;
    border-color: #0d0d0f;
} */


#checkout #checkout-personal-information-step label[for="guest-field-password"] {
    position: relative;
}

#checkout.lang-fr #checkout-personal-information-step label[for="guest-field-password"]::after {
    content: "(Optionnel)";
    position: absolute;
    margin-left: 5px;
}

#checkout.lang-en #checkout-personal-information-step label[for="guest-field-password"]::after {
    content: "(Optional)";
    position: absolute;
    margin-left: 5px;
}

#checkout #checkout-personal-information-step #customer-form p.form-informations {
    margin: 20px 0 0 0;
}

#checkout .form-group.row .custom-checkbox span i {
    background: #111;
}

#checkout #checkout-personal-information-step .js-customer-form .form-group .form-control-comment {
    display: none;
}

#checkout #checkout-personal-information-step .form-control-label {
    margin-bottom: -15px !important;
}

#checkout .form-group.row .custom-checkbox label {
    text-transform: initial;
}

#checkout .form-group.row label[for="guest-field-newsletter"] {
    margin: 0;
    padding: 0;
}

#checkout #checkout-addresses-step .js-address-form {
    border: solid 1px;
    padding: 30px;
    position: relative;
}

#checkout #checkout-addresses-step .js-address-form form {
    padding-top: 45px;
}

#checkout #checkout-addresses-step .js-address-form form::before {
    position: absolute;
    top: 30px;
    text-transform: uppercase;
}
#checkout.lang-ja #checkout-addresses-step .js-address-form form::before {
    content: "私の住所";
}

#checkout.lang-fr #checkout-addresses-step .js-address-form form::before {
    content: "Mes adresses";
}

#checkout.lang-en #checkout-addresses-step .js-address-form form::before {
    content: "My addresses";
}

#checkout #js-checkout-summary {
    border: solid 1px;
    padding: 45px 30px 30px 30px;
    position: relative;
}

#checkout #js-checkout-summary::before {
    position: absolute;
    text-transform: uppercase;
    top: 30px;
}

#checkout.lang-ja #js-checkout-summary::before {
    content: "まとめ";
}

#checkout.lang-fr #js-checkout-summary::before {
    content: "Récapitulatif";
}

#checkout.lang-en #js-checkout-summary::before {
    content: "Summary";
}


#checkout #js-checkout-summary div {
    padding-left: 0;
    padding-right: 0;
}

#checkout .cart-grid-right .block-promo {
    margin: 0;

}

#checkout .cart-grid-right .block-promo .promo-code-bloc {
    border: solid 1px #7a7a7a;
}

#checkout .cart-grid-right .block-promo .promo-code-button {
    padding: 15px;
    text-align: left;
    display: flex;
    justify-content: space-between;
}

#checkout .cart-grid-right .block-promo .promo-code-button a {
    text-transform: uppercase;
    color: #7a7a7a;
}

#checkout .cart-grid-right .block-promo .promo-code-button .add-promo {
    font-size: 25px;
    cursor: pointer;
    color: #7a7a7a;
}

#checkout .cart-grid-right #promo-code a.collapse-button {
    display: none;
}

#checkout .cart-grid-right #promo-code .promo-code form {
    display: flex;
    gap: 10px;
}

#checkout .cart-grid-right #promo-code .promo-code {
    padding: 15px 0;
}

#checkout .cart-grid-right #promo-code .promo-code form .promo-input {
    width: 70%;
    border: unset;
    border-bottom: solid 1px;
}

#checkout .cart-grid-right #promo-code .promo-code form button {
    width: 30%;
    padding: 0;
    border: unset;
}

#checkout .cart-grid-right #promo-code .promo-code form button span {
    text-transform: uppercase;
}

#checkout #checkout-addresses-step #delivery-addresses {
    position: relative;
}

#checkout #checkout-addresses-step #delivery-addresses::before {
    position: absolute;
    text-transform: uppercase;
    top: 0;
}

#checkout.lang-ja #checkout-addresses-step #delivery-addresses::before {
    content: "配送先住所";
}

#checkout.lang-fr #checkout-addresses-step #delivery-addresses::before {
    content: "Adresse de livraison";
}

#checkout.lang-en #checkout-addresses-step #delivery-addresses::before {
    content: "Delivery address";
}

#checkout #checkout-addresses-step article.address-item {
    margin-top: 40px;
    background: #fff;
    border: solid 1px;
}

#checkout #checkout-addresses-step article.address-item hr {
    display: none;
}

#checkout #checkout-addresses-step #delivery-addresses .address-footer {
    display: flex;
    flex-wrap: wrap;
    float: right;
}

#checkout #checkout-addresses-step #delivery-addresses .address-footer a {
    width: 100%;
    text-transform: uppercase;
    text-align: right;
}

#checkout #checkout-addresses-step #delivery-addresses .address-footer i {
    display: none;
}


#checkout #checkout-addresses-step p:has([data-link-action="different-invoice-address"]) {
    margin: 50px 0 30px 0;
    position: relative;
}

#checkout #checkout-addresses-step p:has([data-link-action="different-invoice-address"]) a {
    /* padding-left: 25px; */
}

#checkout #checkout-addresses-step p:has([data-link-action="different-invoice-address"]) a::before {
    position: absolute;
    
    top: -35px;
    text-transform: uppercase;
    font-size: 16px;
    left: 0;
}

#checkout.lang-ja #checkout-delivery-step .form-group.row.pd-date-picker,
#checkout.lang-ja #checkout-delivery-step .form-group.row.pd-time-picker {
    margin: 0 auto;
    width: 90%;
}

#checkout.lang-ja #checkout-delivery-step .form-group.row.pd-date-picker > label.form-control-label,
#checkout.lang-ja #checkout-delivery-step .form-group.row.pd-time-picker > label.form-control-label {
    padding: 0;
}

#checkout.lang-fr #checkout-addresses-step p:has([data-link-action="different-invoice-address"]) a::before {
    content: "Adresse de facturation";
}

#checkout.lang-ja #checkout-addresses-step p:has([data-link-action="different-invoice-address"]) a::before {
    content: "請求先住所";
}

#checkout.lang-en #checkout-addresses-step p:has([data-link-action="different-invoice-address"]) a::before {
    content: "Billing address";
}

#checkout .cart-grid-right #js-checkout-summary .label {
    font-size: 13px;
    color: #7a7a7a;
}

#checkout #checkout-payment-step .payment-options {
    padding-top: 24px;
}

#checkout #checkout-payment-step .payment-options .payment-option {
    min-height: 82px;
    align-content: center;
}

body#checkout .cart-grid-right .card .cart-summary-subtotals-container .cart-summary-line span.value {
    font-size: 14px;
    font-weight: 400;
}

#checkout .card-block.cart-summary-totals .cart-summary-line.cart-total .label,
.card-block.cart-summary-totals .cart-summary-line.cart-total span.value {
    font-size: 16px;
    font-weight: 500;
}

#checkout.has-invoice-address #checkout-addresses-step .js-address-form form>h2:first-of-type {
    display: none;
}

#checkout.has-invoice-address #checkout-addresses-step .js-address-form form>h2 {
    font-weight: 400;
    font-size: 16px;
    margin-top: 15px;
}

#checkout.has-invoice-address #checkout-addresses-step #invoice-addresses article {
    margin-top: 0px;
}

#checkout.has-invoice-address #checkout-addresses-step p.add-address {
    top: 75px;
}

body#checkout section.checkout-step span.address-alias {
    font-weight: 500;
    text-transform: uppercase;
}

body#checkout section.checkout-step div.address {
    line-height: 20px;
}

#checkout #checkout-delivery-step.-current {
    border: solid 1px !important;
    padding-top: 30px;
    padding-bottom: 10px;
}

#checkout #checkout-delivery-step.-complete {
    border: unset;
}

#checkout #checkout-delivery-step .delivery-options .delivery-option {
    border: solid 1px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
}

#checkout #checkout-delivery-step .delivery-options .carrier-extra-content {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    display: none;
}

#checkout #checkout-delivery-step .order-options {
    padding: 0 30px;
}

#checkout #checkout-delivery-step button.continue {
    margin-right: 30px;
    margin-left: 30px;
    width: -webkit-fill-available;
}

#checkout #checkout-delivery-step .delivery-option .carrier-name {
    font-weight: 500;
    font-size: 16px;
}

#checkout #checkout-delivery-step .delivery-option .col-sm-3 {
    text-align: right;
}

#checkout #checkout-payment-step .payment-options .payment-option {
    border: solid 1px;
    padding: 20px 30px;
    margin: 0;
    margin-bottom: 20px;
}

#checkout #checkout-payment-step .payment-options .js-payment-option-form {
    border: solid 1px;
    border-top: unset;
    margin-top: -20px;
    margin-bottom: 20px;
}

#checkout #checkout-payment-step .payment-options .js-payment-option-form #ps_checkout-card-fields-form {
    padding: 30px;
}

#checkout #checkout-payment-step label.form-control-label {
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    color: #7a7a7a;
}

#checkout #checkout-payment-step #ps_checkout-card-fields-form input {
    font-size: 14px;
}

.custom-checkbox input[type=checkbox]+span .checkbox-checked {
    background-color: #111;
}

#checkout #checkout-delivery-step .delivery-options .row.delivery-option.js-delivery-option {
    flex-wrap: nowrap;
}

#checkout #checkout-addresses-step #delivery-address select#field-id_country {
    padding: 0 10px;
}

#checkout #checkout-addresses-step #delivery-addresses .address-footer {
    flex-wrap: unset;
}

@media (min-width: 1200px) {
    #checkout #checkout-addresses-step .clearfix button.continue {
        margin-top: 30px;
    }
    body#checkout section.checkout-step .address-item>header {
        min-height: 190px;
    }

    #checkout #checkout-addresses-step p.add-address {
        position: absolute;
        top: 112px;
        right: 40px;
        text-transform: uppercase;
    }

    #checkout #wrapper>.container {
        width: 1140px;
        max-width: 100%;
        padding: unset;
    }

    #checkout #content-wrapper .cart-grid-right {
        padding-top: 24px;
    }

}

@media (max-width: 767px) {
    .checkout-progress-list {
        flex-direction: column;
        gap: 8px;
    }

    .checkout-progress-item:not(:last-child)::after {
        display: none;
    }

}



@media (max-width: 480px) {
    .input-group-btn:has([data-action="show-password"]) {
        margin-top: auto;
    }

    [data-action="show-password"] {
        padding: 10px !important;
        height: fit-content !important;
    }

    #checkout-personal-information-step .nav.nav-inline .nav-link {
        font-size: 13px;
        letter-spacing: 0.04em;
        padding: 16px 18px;
    }

    #checkout .checkout-progress-wrapper .checkout-progress-list {
        flex-direction: row;
        justify-content: space-between;
    }

    #checkout .checkout-progress-wrapper .checkout-progress-list .checkout-progress-item {
        width: 20%;
        justify-content: center;
    }

    #checkout #checkout-personal-information-step #login-form>div .form-group.row {
        width: 100%;
    }

    #checkout-personal-information-step input.form-control {
        padding: 8px 0;
    }

    #checkout .checkout-progress-wrapper {
        margin: 32px 0;
    }

    #checkout .checkout-progress-wrapper>.row {
        margin: 0;
    }

    #checkout .checkout-progress-wrapper>.row>.cart-grid-body {
        padding: 0;
    }

    #checkout .checkout-progress {
        padding: 0 5px;
    }

    body#checkout section.checkout-step article.address-item {
        flex: 0 0 100%;
    }

    #checkout .checkout-progress-wrapper .checkout-progress-list .checkout-progress-item.is-current .checkout-progress-button {
        text-decoration: underline;
        text-underline-offset: 4px;
    }

    #checkout #checkout-payment-step #payment-confirmation button.disabled {
        color: #7a7a7a;
    }

    #checkout .cart-header-minimal {
        padding: 30px;
    }

    #checkout #footer .d-block.js-terms {
        text-align: center;
    }
}

@keyframes piContentFade {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}