/* 
**************
* order detail
**************
*/
.wynd-shop-kit.woocommerce-account .woocommerce-view-order {
    display: flex;
    flex-direction: column;
}

/* back to orders button */
.wynd-shop-kit.woocommerce-account .woocommerce-view-order .button-back-to-orders {
    align-self: flex-start;
}

.wynd-shop-kit.woocommerce-account .woocommerce-view-order .button-back-to-orders::after {
    color: var(--color-text);
    content: var(--icon-arrow-left);
    font-family: var(--icon-font-family);
    font-size: 20px;
    transition: var(--transition-default);
}

.wynd-shop-kit.woocommerce-account .woocommerce-view-order .button-back-to-orders:hover::after {
    color: var(--color-primary-dark);
}

/* order info */
.wynd-shop-kit.woocommerce-account .woocommerce-view-order .order-info {
    display: flex;
    flex-direction: row;
    gap: 8px;
    margin-bottom: 32px;
}

.wynd-shop-kit.woocommerce-account .woocommerce-view-order .order-number {
    color: var(--color-text);
    font-family: var(--font-family-h5);
    font-size: var(--font-size-h5);
    font-style: var(--font-style-h5);
    font-weight: var(--font-weight-h5);
    text-transform: var(--text-transform-h5);
}

.wynd-shop-kit.woocommerce-account .woocommerce-view-order .order-date {
    color: var(--color-gray-700);
    font-family: var(--font-family-body);
    font-size: var(--font-size-body);
    font-style: var(--font-style-body);
    font-weight: var(--font-weight-body);
    text-transform: var(--text-transform-body);
}

/* order details */
.wynd-shop-kit.woocommerce-account h2,
.wynd-shop-kit.woocommerce-account h3,
.wynd-shop-kit.woocommerce-account .woocommerce-order-details__title,
.wynd-shop-kit.woocommerce-account .woocommerce-column__title,
.wynd-shop-kit.woocommerce-account .woocommerce-shipments-list__title {
    font-family: var(--font-family-h4);
    font-size: var(--font-size-h4);
    font-style: var(--font-style-h4);
    font-weight: var(--font-weight-h4);
    letter-spacing: var(--letter-spacing-h4);
    line-height: var(--line-height-h4);
    text-decoration: var(--text-decoration-h4);
    text-transform: var(--text-transform-h4);
    word-spacing: var(--word-spacing-h4);
}

.wynd-shop-kit.woocommerce-account .woocommerce-order-details__title,
.wynd-shop-kit.woocommerce-account .woocommerce-column__title,
.wynd-shop-kit.woocommerce-account .woocommerce-shipments-list__title,
.wynd-shop-kit.woocommerce-account .sab-documents-download h3 {
    margin-bottom: 16px;
}

.wynd-shop-kit.woocommerce-account .woocommerce-view-order .woocommerce-button,
.wynd-shop-kit.woocommerce-account .woocommerce-view-order .button-document-download {
    padding: var(--padding-button-y-sm) var(--padding-button-x-sm) !important;
}

.wynd-shop-kit.woocommerce-account .woocommerce-order-details.mollie-instructions {
    margin-top: 32px;
}

/* order details table */
.wynd-shop-kit.woocommerce-account .woocommerce-table--order-details {
    border: none;
    margin: 0;
}

.wynd-shop-kit.woocommerce-account .woocommerce-table--order-details th,
.wynd-shop-kit.woocommerce-account .woocommerce-table--order-details td {
    background: none !important;
    border: none !important;
    padding: 8px 0;
}

.wynd-shop-kit.woocommerce-account .woocommerce-table--order-details td {
    font-weight: 400 !important;
}

.wynd-shop-kit.woocommerce-account .woocommerce-table--order-details td:first-child {
    padding-right: 8px;
}

.wynd-shop-kit.woocommerce-account .woocommerce-table--order-details tr:has(.order-actions--heading) td {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.wynd-shop-kit.woocommerce-account
    .woocommerce-table--order-details
    tr:has(.order-actions--heading)
    .woocommerce-button {
    margin: 0;
    text-align: center;
    width: 100%;
}

@media (min-width: 768px) {
    .wynd-shop-kit.woocommerce-account
        .woocommerce-table--order-details
        tr:has(.order-actions--heading)
        .woocommerce-button {
        width: auto;
    }
}

.wynd-shop-kit.woocommerce-account .woocommerce-table--order-details a {
    font-size: var(--font-size-body-small);
    font-style: var(--font-style-body-small);
    font-weight: var(--font-weight-body-small);
    letter-spacing: var(--letter-spacing-body-small);
    line-height: var(--line-height-body-small);
    text-decoration: var(--text-decoration-body-small);
    text-transform: var(--text-transform-body-small);
    word-spacing: var(--word-spacing-body-small);
}

.wynd-shop-kit.woocommerce-account .woocommerce-button.view,
.wynd-shop-kit.woocommerce-account .woocommerce-button.view:hover {
    background-color: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    text-decoration: underline;
}

.wynd-shop-kit.woocommerce-account .order-again {
    margin-top: 16px;
}

/* address */
.wynd-shop-kit.woocommerce-account .woocommerce-customer-details address {
    background: none;
    border: none;
    padding: 0;
}

/* shipments table */
.wynd-shop-kit.woocommerce-account .woocommerce-shipments-table {
    border: none;
    margin: 0;
    margin-bottom: 0;
}

.wynd-shop-kit.woocommerce-account .woocommerce-shipments-table th,
.wynd-shop-kit.woocommerce-account .woocommerce-shipments-table td {
    background: none !important;
    border: none !important;
    padding: 8px 0;
}

/* 
**************
* account overview menu
**************
*/
/* fix weird styling before custom styles from jetengine templates are applied */
.wynd-shop-kit.woocommerce-account .e-n-menu-toggle {
    display: none;
}

.wynd-shop-kit.woocommerce-account #account-menu.elementor-widget-n-menu .e-n-menu-title {
    border-radius: var(--border-radius-button);
    padding: 8px;
}

.wynd-shop-kit.woocommerce-account #account-menu.elementor-widget-n-menu .e-n-menu-title-text {
    font-family: var(--font-family-body-small);
    font-size: var(--font-size-body-small);
    font-style: var(--font-style-body-small);
    font-weight: var(--font-weight-body-small);
    letter-spacing: var(--letter-spacing-body-small);
    line-height: var(--line-height-body-small);
    text-decoration: var(--text-decoration-body-small);
    text-transform: var(--text-transform-body-small);
    word-spacing: var(--word-spacing-body-small);
}

.wynd-shop-kit.woocommerce-account #account-menu.elementor-widget-n-menu #menu-item-welcome .e-n-menu-title-text,
.wynd-shop-kit.woocommerce-account .jet-woo-account-dashboard-content h3 {
    font-family: var(--font-family-h5);
    font-size: var(--font-size-h5);
    font-style: var(--font-style-h5);
    font-weight: var(--font-weight-h5);
    letter-spacing: var(--letter-spacing-h5);
    line-height: var(--line-height-h5);
    text-decoration: var(--text-decoration-h5);
    text-transform: var(--text-transform-h5);
    word-spacing: var(--word-spacing-h5);
}

.wynd-shop-kit.woocommerce-account #account-menu.elementor-widget-n-menu .e-n-menu-heading {
    flex-direction: column;
}

.wynd-shop-kit.woocommerce-account #account-menu.elementor-widget-n-menu .e-n-menu-title-container,
.wynd-shop-kit.woocommerce-account #account-menu.elementor-widget-n-menu .e-n-menu-title {
    transition: var(--transition-default) all;
    width: 100%;
}

.wynd-shop-kit.woocommerce-account #account-menu.elementor-widget-n-menu .e-n-menu-title.active,
.wynd-shop-kit.woocommerce-account #account-menu.elementor-widget-n-menu .e-n-menu-title:hover {
    background-color: var(--color-gray-100);
}

.wynd-shop-kit.woocommerce-account #account-menu.elementor-widget-n-menu #menu-item-welcome {
    background: transparent !important;
}

.wynd-shop-kit.woocommerce-account #account-menu.elementor-widget-n-menu #menu-item-logout {
    margin-top: 16px;
}

.wynd-shop-kit.woocommerce-account #account-menu.elementor-widget-n-menu #menu-item-logout br,
.wynd-shop-kit.woocommerce-account #account-menu.elementor-widget-n-menu #menu-item-logout .icon-active {
    display: none;
}

.wynd-shop-kit.woocommerce-account #account-menu.elementor-widget-n-menu .e-n-menu-item {
    cursor: pointer;
}

.wynd-shop-kit.woocommerce-account .jet-woo-account-dashboard-content .elementor-button {
    padding: 0;
}

.wynd-shop-kit.woocommerce-account div[data-elementor-type='wp-page']:has(.full-height-centered) > .elementor-element,
.wynd-shop-kit.woocommerce-account
    div[data-elementor-type='wp-page']:has(.full-height-centered)
    .elementor-widget-shortcode {
    display: flex;
    flex: 1;
    flex-direction: column;
    height: 100%;
    justify-content: center;
}

/* mobile menu */
.wynd-shop-kit.woocommerce-account #account-menu-button .elementor-button-content-wrapper {
    justify-content: flex-start;
}

.wynd-shop-kit.woocommerce-account #account-menu-button .elementor-button {
    background-color: var(--color-gray-50);
    border-radius: var(--border-radius-button);
    cursor: pointer;
    padding: 8px;
    width: 100%;
}

@media (max-width: 1045px) {
    .wynd-shop-kit.woocommerce-account #account-menu {
        display: none;
    }

    .wynd-shop-kit.woocommerce-account #account-menu.active {
        display: block;
    }
}

/*
**************
* account personal data
**************
*/
.wynd-shop-kit.woocommerce-account.woocommerce-account div[data-elementor-type='wp-page'] form,
.wynd-shop-kit.woocommerce-account.woocommerce-account
    div[data-elementor-type='wp-page']
    .woocommerce-address-fields
    .woocommerce-address-fields__field-wrapper {
    column-gap: 24px;
    display: flex;
    flex-wrap: wrap;
}

.wynd-shop-kit.woocommerce-account.woocommerce-account fieldset {
    overflow: visible !important;
}

.wynd-shop-kit.woocommerce-account.woocommerce-account .woocommerce-form-row,
.wynd-shop-kit.woocommerce-account.woocommerce-account .form-row {
    margin: 0 0 24px 0 !important;
    padding: 0 !important;
}

.wynd-shop-kit.woocommerce-account.woocommerce-account .woocommerce-form-row.woocommerce-form-row--wide {
    width: 100%;
}

/* submit button */
.wynd-shop-kit.woocommerce-account.woocommerce-account p:not(.woocommerce-form-row) {
    width: 100%;
}

.wynd-shop-kit.woocommerce-account .woocommerce .woocommerce-EditAccountForm .woocommerce-Button {
    margin: 0 !important;
}

.wynd-shop-kit.woocommerce-account .woocommerce .woocommerce-EditAccountForm .woocommerce-Button:hover {
    background-color: var(--color-primary-dark) !important;
    border-color: var(--color-primary-dark) !important;
    color: var(--color-primary-text) !important;
}

.wynd-shop-kit.woocommerce-account.woocommerce-account .form-row.form-row-first,
.wynd-shop-kit.woocommerce-account.woocommerce-account .form-row.form-row-last,
.wynd-shop-kit.woocommerce-account.woocommerce-account #account_email,
.wynd-shop-kit.woocommerce-account.woocommerce-account .woocommerce-form-row:has(#password_current),
.wynd-shop-kit.woocommerce-account.woocommerce-account .woocommerce-form-row:has(#password_1),
.wynd-shop-kit.woocommerce-account.woocommerce-account .woocommerce-form-row:has(#password_2) {
    width: 100%;
}

@media (min-width: 767px) {
    .wynd-shop-kit.woocommerce-account.woocommerce-account .form-row.form-row-first,
    .wynd-shop-kit.woocommerce-account.woocommerce-account .form-row.form-row-last,
    .wynd-shop-kit.woocommerce-account.woocommerce-account #account_email,
    .wynd-shop-kit.woocommerce-account.woocommerce-account .woocommerce-form-row:has(#password_current),
    .wynd-shop-kit.woocommerce-account.woocommerce-account .woocommerce-form-row:has(#password_1),
    .wynd-shop-kit.woocommerce-account.woocommerce-account .woocommerce-form-row:has(#password_2) {
        width: calc(50% - 12px);
    }
}

.wynd-shop-kit.woocommerce-account.woocommerce-account .form-row.form-row-last {
    padding-left: 0;
    padding-right: 0;
}

.wynd-shop-kit.woocommerce-account.woocommerce-account .form-row.form-row-wide {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    width: 100%;
}

.wynd-shop-kit.woocommerce-account.woocommerce-account .woocommerce-form-row:has(#account_display_name) {
    display: none;
}

.wynd-shop-kit.woocommerce-account.woocommerce-account fieldset:has(#password_current) {
    width: 100%;
}

.wynd-shop-kit.woocommerce-account.woocommerce-account .woocommerce-Button {
    margin: 0;
}

.wynd-shop-kit.woocommerce-account .woocommerce-ResetPassword {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/*
**************
* account address
**************
*/
.wynd-shop-kit.woocommerce-account.woocommerce-account form:has(.woocommerce-address-fields) {
    row-gap: 32px;
    width: 100%;
}

.wynd-shop-kit.woocommerce-account.woocommerce-account #billing_address_1_field {
    margin-bottom: 8px !important;
}

/*
**************
* account orders
**************
*/
/* no orders message */
.wynd-shop-kit.woocommerce-orders .woocommerce-info {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: space-between;
    padding: 16px !important;
}

@media (min-width: 768px) {
    .wynd-shop-kit.woocommerce-orders .woocommerce-info {
        flex-direction: row;
        padding: 24px !important;
    }
}

.wynd-shop-kit.woocommerce-orders .woocommerce-info a {
    text-align: center;
    width: 100%;
}

@media (min-width: 768px) {
    .wynd-shop-kit.woocommerce-orders .woocommerce-info a {
        width: auto;
    }
}

.wynd-shop-kit.woocommerce-orders .woocommerce-info::before,
.wynd-shop-kit.woocommerce-orders .woocommerce-info::after {
    display: none;
}

.wynd-shop-kit.woocommerce-orders .woocommerce-info,
.wynd-shop-kit.woocommerce-orders .e-wc-info-notice .woocommerce-message {
    padding: 16px 32px;
}

/* orders table */
.wynd-shop-kit.woocommerce-orders .woocommerce-orders-table {
    margin: 0;
}

.wynd-shop-kit.woocommerce-orders .woocommerce-orders-table,
.wynd-shop-kit.woocommerce-orders .woocommerce-orders-table tbody tr:last-of-type td {
    border: none !important;
}

/*
**************
* forgot password page
**************
*/
.wynd-shop-kit .show-on-lost-password {
    display: none;
}

.wynd-shop-kit.woocommerce-lost-password .show-on-lost-password {
    display: block;
}

.wynd-shop-kit.woocommerce-lost-password div[data-elementor-type='wp-page'] {
    justify-content: center;
}

@media (min-width: 1025px) {
    .wynd-shop-kit.woocommerce-lost-password .elementor-widget-shortcode {
        margin: auto;
        max-width: 512px !important;
        width: 100%;
    }
}

.wynd-shop-kit.woocommerce-lost-password .woocommerce-ResetPassword .woocommerce-form-row {
    margin-bottom: 0 !important;
    width: 100% !important;
}

.wynd-shop-kit.woocommerce-lost-password .woocommerce-ResetPassword .clear {
    display: none;
}

@media (max-width: 767px) {
    .wynd-shop-kit.woocommerce-lost-password .woocommerce-ResetPassword .button {
        width: 100%;
    }
}
