/* ---- GLOBAL ---- */
.nbk-wc-is-account-page .woocommerce .nbk-layout-content {
    padding-top: 10em;
}

.nbk-wc-is-account-page h3 {
    font-weight: bold;
}

.nbk-wc-account-area {
    display: flex;
    flex-wrap: wrap;
}

.nbk-wc-account-area .woocommerce-MyAccount-navigation {
    margin-right: 3em;
}

.woocommerce-MyAccount-content {
    flex: 1;
}

.woocommerce-MyAccount-content .woocommerce-message {
    margin-bottom: 1em;
    padding: 0.8em;
    font-size: 0.9em;
    line-height: 1.4;
    background-color: rgba(0,0,0,0.02);
    border-radius: 5px;
    width: fit-content;
}

.woocommerce-MyAccount-content .woocommerce-info .woocommerce-Button,
.woocommerce-MyAccount-content .woocommerce-info .button {
    margin-top: 0.5em;
}

.woocommerce-Address-title .edit,
.woocommerce-orders-table .woocommerce-button,
.woocommerce-MyAccount-content .woocommerce-info .button,
.order-again .button {
    display: block;
    color: #D71D23;
    background-color: #fff;
    border-radius: 3em;
    padding: 0.4em 1em;
    border: solid 1px #D71D23;
    font-weight: 700;
    font-size: 1em;
    cursor: pointer;
    width: fit-content;
    text-decoration: none;
}



/* ---- ORDER REVIEW ---- */
.woocommerce-order-details .woocommerce-order-details__title {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 1em;
}

.woocommerce-order-details,
#order_review {
    margin-top: 2em;
    margin-bottom: 2em;
}

.woocommerce-order-details a,
#order_review a {
    text-decoration: none;
}

.woocommerce-order-details table thead th,
#order_review table thead th {
    text-align: left;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
}

.woocommerce-order-details table tbody td,
#order_review table tbody td {
    padding-bottom: 0.8em;
    padding-right: 1em;
    vertical-align: top;
}

.woocommerce-order-details table tfoot th,
#order_review table tfoot th {
    text-align: left;
}

.woocommerce-order-details table tfoot tr:first-child th,
.woocommerce-order-details table tfoot tr:first-child td,
#order_review table tfoot tr:first-child th,
#order_review table tfoot tr:first-child td {
    padding-top: 1em;
}

.woocommerce-order-details .order-again .button,
#order_review .order-again .button {
    margin-top: 1em;
}

.woocommerce-customer-details .woocommerce-column__title {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 1em;
}

.woocommerce-customer-details .woocommerce-columns--addresses .woocommerce-column {
    margin-bottom: 2em;
}



/* ---- NAVIGATION ---- */
.nbk-wc-account-area .woocommerce-MyAccount-navigation li {
    position: relative;
    left: 0;
    display: block;
    margin-bottom: 1em;
    transition: 0.5s;
}
.woocommerce-MyAccount-navigation-link--downloads {
    display: none !important;
}

.nbk-wc-account-area .woocommerce-MyAccount-navigation li:hover {
    left: 2px;
}

.nbk-wc-account-area .woocommerce-MyAccount-navigation li a {
    text-decoration: none;
    padding: 0.7em 1em;
    background-color: #F6F6F8;
    display: inline-block;
    border-radius: 20px;
}

.nbk-wc-account-area .woocommerce-MyAccount-navigation li.is-active a {
    background: #d40f13;
    color: white;
    font-weight: 700;
}



/* ---- LOGIN ---- */
#customer_login {
    display: flex;
}

#customer_login .u-column1,
#customer_login .u-column2 {
    flex: 1;
}

#customer_login .u-column1 {
    margin-right: 5em;
}

#customer_login h2 {
    text-transform: uppercase;
    font-weight: 700;
    color: #424242;
    margin-bottom: 1em;
}

#customer_login .woocommerce-button {
    margin-top: 2em;
    margin-bottom: 2em;
}

.woocommerce-form-register .nbk-wc-compliance-container {
    margin-top: 1em;
}



/* ---- LOST PASSWORD ---- */
.woocommerce-ResetPassword .woocommerce-form-row {
    max-width: 300px;
}

.woocommerce-ResetPassword .woocommerce-Button {
    margin-top: 2em;
}

.nbk-wc-pw-reset-link-sent .woocommerce-message {
    display: none;
}



/* ---- RESET PASSWORD ---- */
.lost_reset_password p {
    margin-bottom: 1em;
}



/* ---- ACCOUNT DETAILS ---- */
.woocommerce-EditAccountForm {
    display: flex;
    flex-wrap: wrap;
    margin-right: -1em;
    margin-left: -1em;
    row-gap: 1em;
}

.woocommerce-EditAccountForm .woocommerce-form-row {
    width: calc(50% - 2em);
    margin: 0em 1em;
}

.woocommerce-EditAccountForm .clear {
    display: none;
}

.woocommerce-EditAccountForm fieldset {
    display: none;
    width: 100%;
    margin-top: 2em;
    margin-bottom: 1em;
}

.woocommerce-EditAccountForm fieldset legend {
    font-weight: 700;
    font-size: 1.2em;
    margin-bottom: 1em;
}

.woocommerce-EditAccountForm fieldset .woocommerce-form-row {
    margin-bottom: 1em;
}

.woocommerce-EditAccountForm .nbk-wc-account-password-change {
    display: block;
    width: 100%;
    margin: 1em;
}

.woocommerce-EditAccountForm .woocommerce-Button {
    margin: 0em 1em;
}



/* ---- ADDRESSES ---- */
.woocommerce-Addresses {
    display: flex;
    flex-wrap: wrap;
}

.woocommerce-Addresses .woocommerce-Address {
    flex: 1;
}

.woocommerce-Address-title {
    margin-top: 1em;
    margin-bottom: 1em;
}

.woocommerce-Address-title h3 {
    font-size: 1.2em;
    font-weight: bold;
}

.woocommerce-Address-title .edit {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.woocommerce-address-fields {
    margin-top: 1em;
}

.woocommerce-address-fields__field-wrapper {
    display: flex;
    flex-wrap: wrap;
    margin-left: -1em;
    margin-right: -1em;
    row-gap: 1em;
}

.woocommerce-address-fields__field-wrapper .form-row {
    width: calc(50% - 2em);
    margin: 0em 1em;
}

.woocommerce-address-fields .button {
    margin-top: 2em;
}



/* ---- ORDERS ---- */
.woocommerce-orders-table {
    width: 100%;
}

.woocommerce-orders-table th {
    text-align: left;
    padding-bottom: 1em;
}

.woocommerce-orders-table tr td {
    padding-bottom: 1em;
}

.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions {
    display: flex;
    flex-wrap: wrap;
    column-gap: 0.5em;
    font-size: 0.8em;
}

.woocommerce-table__product-name ul li {
    display: flex;
}

.woocommerce-table__product-name ul li .wc-item-meta-label {
    margin-right: 0.5em;
}



/* ---- GIFT CARDS ---- */
.nbk-wc-myaccount-gift-card-container h2 {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 1em;
}

.nbk-wc-myaccount-gift-card-container .woocommerce-MyAccount-Giftcards-balance-amount {
    font-size: 1em;
    margin-top: 0.5em;
}

.nbk-wc-myaccount-gift-card-container .woocommerce-MyAccount-Giftcards-form {
    display: flex;
    row-gap: 1em;
    flex-wrap: wrap;
}

.nbk-wc-myaccount-gift-card-container .woocommerce-MyAccount-Giftcards-form button {
    flex-grow: unset;
}

.nbk-wc-myaccount-gift-card-container .woocommerce-MyAccount-Giftcards-form input {
    max-width: 300px;
}

.nbk-wc-myaccount-gift-card-container h4 {
    font-size: 1em;
    margin-bottom: 1em;
}

.nbk-wc-myaccount-gift-card-container form {
    margin-bottom: 2em;
}

.nbk-wc-myaccount-gift-card-container .woocommerce-giftcards-table {
    margin-bottom: 2em;
}



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

    .nbk-wc-account-area .woocommerce-MyAccount-navigation {
        margin-right: 0em;
    }
    .nbk-wc-is-account-page .woocommerce .nbk-layout-content {
        padding-top: 8em;
    }
    .nbk-wc-account-area {
        flex-direction: column;
    }
    .nbk-wc-account-area .woocommerce-MyAccount-navigation ul {
        display: flex;
        flex-wrap: wrap;
        margin-left: -1em;
        margin-right: -1em;
        margin-bottom: 2em;
    }
    .nbk-wc-account-area .woocommerce-MyAccount-navigation li {
        margin: 0.5em 0.5em;
    }


    /* -- LOGIN -- */
    #customer_login {
        display: flex;
        flex-direction: column;
        row-gap: 4em;
    }
    #customer_login .u-column1 {
        margin-right: 0em;
    }


    /* -- ORDERS -- */
    .woocommerce-orders-table thead {
        display: none;
    }
    .woocommerce-orders-table .woocommerce-orders-table__cell-order-status {
        display: none;
    }
    .woocommerce-orders-table__cell-order-number a {
        font-weight: bold;
        text-decoration: none;
    }
    .woocommerce-orders-table tr {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        padding-bottom: 1.5em;
        margin-bottom: 1.5em;
        border-bottom: solid 1px #e1e1e1;
    }
    .woocommerce-orders-table__cell-order-actions {
        padding-bottom: 0em;
    }


    /* -- ADDRESSES -- */
    .woocommerce-Addresses {
        display: flex;
        flex-direction: column;
        row-gap: 1em;
    }
    .woocommerce-address-fields__field-wrapper .form-row {
        width: 100%;
    }


    /* -- ACCOUNT DETAILS -- */
    .woocommerce-EditAccountForm .woocommerce-form-row {
        width: 100%;
    }


}