.checkout-page .header {
    background: #000;
}

.checkout-page .header .hamburger {
    display: none;
}

.checkout-container,
.checkout-contact,
.checkout-success-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding: 2rem 1rem;
}

.checkout-success-container,
.cart-empty {
    display: none;
}

.checkout-item-amount {
    display: none;
}

.checkout-success-container h2 {
    margin-bottom: 1rem;
}

.checkout-contact {
    gap: 1rem;
}

.checkout-contact li {
    font-size: .9rem;
    line-height: 1.5;
}

.checkout .shipping-method-input {
    display: none;
}

.checkout .pickup-store .warehouse {
    display: none;
}

.checkout .shipping-method-option {
    width: 100%;
    padding-right: 2rem;
}

.shipping-method-wrapper {
    display: flex;
    background: #fff;
    color: #000;
    justify-content: space-between;
    padding: 1rem;
    border: solid 1px #d8d8d8;
    align-items: center;
}

.shipping-methods label {
    cursor: pointer;
}

.shipping-methods li:not(:last-child) {
    margin-bottom: 1rem;
}

#confirm-order {
    border-radius: 0;
    overflow: auto;
    transition: background 0.2s, color 0.2s;
    vertical-align: middle;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    border: 1px solid #000000;
    font-size: 0.9rem;
    padding: 0.5rem 1.5rem;
    cursor: pointer;
    font-weight: 500;
    color: #000;
}

#confirm-order:hover {
    color: #000000;
    background: #d9d9d9;
}

.checkout .gdpr {
    padding-top: 2rem;
    font-size: .9rem;
    line-height: 1.5;
}

.checkout .form-group {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.shipping-method-label {
    line-height: 1;
    margin-bottom: 8px;
}

.checkout .shipping-method-input:checked~.shipping-method-wrapper {
    background: #000;
    color: #fff;
    border: solid 1px #000;
}

.checkout select {
    padding: 0.5rem;
}

.checkout .shipping-method-input:checked~.shipping-method-wrapper select {
    background: #000;
    border: 1px solid #fff;
    color: #fff;
}

.checkout .form-item input {
    display: block;
    border: 1px solid #d9d9d9;
    border-radius: 0;
    font-size: 1rem;
    line-height: 1.15;
    padding: 0.875em;
    width: 100%;
    height: auto;
}

.checkout .form-item input:focus {
    border-color: #000000;
    outline: none;
}

.checkout-header {
    display: flex;
    justify-content: center;
    width: 100%;
    border-bottom: solid 2px #f2f2f2;
    background: #fff;
}

.checkout-header h1 {
    font-family: "Roboto", sans-serif;
    font-size: .9rem;
    font-weight: 400;
    text-align: center;
    text-transform: uppercase;
    margin: 0;
    padding: 1.5rem 1rem;
    position: relative;
    display: inline-block;
}

.checkout-totals {
    width: 100%;
}

.checkout-totals hr {
    color: #d8d8d8;
    margin: 9px 0;
    border-top: 0.5px solid #222222;
}

.checkout-totals h2.title {
    font-weight: 400;
    letter-spacing: .05rem;
    font-size: 1.5rem;
    background: none;
    padding: 0;
    color: #101010;
}

.checkout-totals-wrapper {
    background-color: #f2f2f2;
    padding: 1rem;
}

.checkout-totals .subtotal-wrapper {
    width: 100%;
    text-transform: uppercase;
    margin: 1rem 0;
}

.checkout-totals .subtotal {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: .875rem;
}

.checkout-totals .subtotal-cell.heading {
    font-weight: 500;
    text-transform: none;
}

.checkout-totals .continue-shopping {
    border-radius: 0;
    font-size: 1rem;
    overflow: auto;
    transition: background 0.2s, color 0.2s;
    vertical-align: middle;
    padding: 0.5rem 1.5rem;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    word-break: break-word;
    color: #000000;
    cursor: pointer;
    background: #fff;
    border: none;
    font-weight: 500;
}

.checkout-totals .continue-shopping:hover {
    color: #ffffff;
    background: #000000;
}

.checkout-totals>form {
    text-align: center;
    padding: 1rem 0;
    margin-bottom: 1rem;
}

.checkout-totals .to-cart {
    border: none;
    margin: 1rem 0;
    padding: 0;
    width: 100%;
}

.checkout-totals .to-cart a {
    font-weight: 500;
    font-size: .9rem;
    padding: 0.4rem 1.5rem;
    width: 100%;
    height: 100%;
    display: block;
    background: unset;
    color: #000;
    transition: background 0.2s, color 0.2s;
}

.checkout-totals .to-cart a:hover {
    background: unset;
}

.checkout-content {
    margin: 0;
    padding: 1rem;
    background: #fff;
}

.checkout-item {
    display: flex;
    font-size: 1rem;
    line-height: 1.6;
}

.checkout-item:not(:last-child) {
    margin-bottom: 2rem;
}

.checkout-item-image {
    flex: 0 1 30%;
    max-width: 60px;
    margin-left: 0.5rem;
    margin-right: 0.75rem;
}

.checkout-item-title-name,
.checkout-item-sum {
    display: block;
    font-size: .9rem;
    line-height: 1.2rem;
    margin: 0 0 0.5rem 0;
    font-weight: 700;
}

.checkout-item-title-code,
.checkout-item-title-tax-rate {
    font-size: .8rem;
}

.checkout .cart-empty .continue-shopping {
    border: 1px solid #000;
}

.checkout .cart-empty form {
    padding: 1rem 0;
}

.checkout .cart-empty {
    padding: 2rem 1rem;
}

.checkout .continue-shopping {
    border-radius: 0;
    font-size: 1rem;
    overflow: auto;
    transition: background 0.2s, color 0.2s;
    vertical-align: middle;
    padding: 0.5rem 1.5rem;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    word-break: break-word;
    color: #000000;
    cursor: pointer;
    background: #fff;
    border: none;
    font-weight: 500;
}

.checkout .cart-empty .continue-shopping {
    border: 1px solid #000;
}

.checkout .continue-shopping:hover {
    color: #ffffff;
    background: #000000;
}

@media only screen and (min-width: 768px) {

    .checkout-container,
    .checkout-success-container {
        flex-direction: row;
        gap: 1rem;
    }

    .checkout {
        max-width: 1040px;
        margin: 0 auto;
        gap: 1rem;
    }

    .checkout-form-container,
    .checkout-totals {
        width: 50%;
    }
}