/**
 * My Account - BajoNalon Ecommerce
 */

body.woocommerce-account {
    background: #f4f6f8;
}

.woocommerce-account .woocommerce {
    max-width: 1450px;
    margin: 36px auto 80px;
    padding: 0 5%;
}

.woocommerce-account .woocommerce::after,
.woocommerce-account .woocommerce::before {
    content: none;
}

.bn-account-page {
    display: flex;
    flex-direction: column;
    gap: 28px;
}


.bn-account-layout {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
    float: none;
    width: 100%;
}

.bn-account-nav {
    position: sticky;
    top: 128px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.admin-bar .bn-account-nav {
    top: 160px;
}

.bn-account-nav__profile,
.bn-account-nav__menu {
    background: #fff;
    border-radius: 24px;
    padding: 26px;
    box-shadow: 0 10px 32px rgba(15, 23, 42, 0.06);
    border: 1px solid #edf2f7;
}

.bn-account-nav__profile {
    display: flex;
    align-items: center;
    gap: 16px;
}


.bn-account-nav__kicker {
    display: block;
    margin-bottom: 4px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-primary);
}

.bn-account-nav__name {
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.2;
    color: #1d5f87;
}

.bn-account-nav__email {
    margin: 6px 0 0;
    font-size: 0.9rem;
    color: #64748b;
    word-break: break-word;
}

.bn-account-nav__menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bn-account-nav__menu li {
    margin: 0;
}

.bn-account-nav__menu a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 16px;
    color: #334155;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.bn-account-nav__menu a:hover {
    background: #f8fafc;
    color: #1d5f87;
    transform: translateX(2px);
}

.bn-account-nav__menu li.is-active a,
.bn-account-nav__menu li.is-active a:hover {
    background: var(--color-secondary);
    color: #fff;
    box-shadow: 0 10px 18px rgba(29, 95, 135, 0.22);
    transform: none;
}

.bn-account-nav__menu li.woocommerce-MyAccount-navigation-link--customer-logout a {
    color: #c2410c;
}

.bn-account-nav__menu li.woocommerce-MyAccount-navigation-link--customer-logout a:hover {
    background: #fff7ed;
    color: #c2410c;
}

.bn-account-nav__menu li.woocommerce-MyAccount-navigation-link--customer-logout.is-active a {
    background: #c2410c;
    color: #fff;
    box-shadow: 0 10px 18px rgba(194, 65, 12, 0.2);
}

.bn-account-nav__icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eef6fb;
    color: #1d5f87;
    flex-shrink: 0;
    font-size: 0.95rem;
}

.bn-account-nav__menu li.is-active .bn-account-nav__icon {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.bn-account-nav__label {
    flex: 1;
    min-width: 0;
}

.bn-account-nav__arrow {
    font-size: 0.82rem;
    opacity: 0.6;
}

.bn-account-content {
    float: none !important;
    width: 100% !important;
}

.bn-account-panel {
    background: #fff;
    border-radius: 28px;
    padding: 34px;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
    border: 1px solid #edf2f7;
    overflow-x: auto;
    overflow-wrap: anywhere;
}

.woocommerce-account .woocommerce-notices-wrapper,
.woocommerce-account .woocommerce-NoticeGroup,
.woocommerce-account .woocommerce-error,
.woocommerce-account .woocommerce-message,
.woocommerce-account .woocommerce-info {
    display: none !important;
}

.bn-toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
    width: 340px;
    max-width: calc(100vw - 48px);
}

@keyframes bn-toast-in {
    from { transform: translateX(calc(100% + 24px)); opacity: 0; }
    to   { transform: translateX(0);                 opacity: 1; }
}

@keyframes bn-toast-out {
    from { transform: translateX(0);                 opacity: 1; }
    to   { transform: translateX(calc(100% + 24px)); opacity: 0; }
}

@keyframes bn-toast-progress {
    from { width: 100%; }
    to   { width: 0%;   }
}

.bn-toast {
    background: #fff;
    border-radius: 14px;
    padding: 16px 18px 16px 22px;
    box-shadow: 0 4px 24px rgba(0,0,0,.10);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    pointer-events: all;
    animation: bn-toast-in .4s cubic-bezier(.34,1.56,.64,1) forwards;
    position: relative;
    overflow: hidden;
    border-left: 4px solid #006D94;
}

.bn-toast.is-leaving {
    animation: bn-toast-out .3s ease forwards;
}

.bn-toast::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: #006D94;
    animation: bn-toast-progress 6s linear forwards;
}

.bn-toast--error { border-left-color: #e74c3c; }
.bn-toast--error::after { background: #e74c3c; }
.bn-toast--info  { border-left-color: #E74F08; }
.bn-toast--info::after  { background: #E74F08; }
.bn-toast--success  { border-left-color: #006D94; }
.bn-toast--success::after  { background: #006D94; }

.bn-toast__icon {
    font-size: 1.1rem;
    flex-shrink: 0;
    color: #006D94;
    margin-top: 1px;
}

.bn-toast--error .bn-toast__icon { color: #e74c3c; }
.bn-toast--info  .bn-toast__icon { color: #E74F08; }
.bn-toast--success .bn-toast__icon { color: #006D94; }

.bn-toast__body {
    flex-grow: 1;
    font-size: 0.87rem;
    font-weight: 500;
    color: #1e293b;
    line-height: 1.5;
}

.bn-toast__body ul {
    margin: 0;
    padding-left: 18px;
}

.bn-toast__body a {
    color: #006D94;
    font-weight: 700;
    text-decoration: none;
}

.bn-toast__body a:hover {
    text-decoration: underline;
}

.bn-toast__close {
    background: none;
    border: none;
    color: #bbb;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0;
    line-height: 1;
    flex-shrink: 0;
    transition: color .2s;
    margin-top: 1px;
}

.bn-toast__close:hover {
    color: #666;
}

.bn-toast:hover::after {
    animation-play-state: paused;
}

.bn-account-dashboard {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.bn-account-welcome {
    padding: 30px 32px;
    border-radius: 24px;
    background: #f8fbfd;
    border: 1px solid var(--color-primary);
}

.bn-account-welcome__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(231, 79, 8, 0.08);
    border: 1px solid rgba(231, 79, 8, 0.18);
    color: var(--color-primary);
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.bn-account-welcome__title {
    margin: 18px 0 10px;
    color: #1d5f87;
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    line-height: 1.15;
}

.bn-account-welcome__desc {
    margin: 0;
    font-size: 1rem;
    line-height: 1.75;
    color: #475569;
}

.bn-account-welcome__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.bn-account-pill-btn,
.woocommerce-account .woocommerce-MyAccount-content .button,
.woocommerce-account .woocommerce-button.button,
.woocommerce-account a.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 30px;
    padding: 0 22px;
    border: none;
    border-radius: 999px;
    background: var(--color-primary);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.bn-account-pill-btn:hover,
.woocommerce-account .woocommerce-MyAccount-content .button:hover,
.woocommerce-account .woocommerce-button.button:hover,
.woocommerce-account a.button:hover {
    background: var(--color-primary);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(232, 106, 16, 0.22);
}

.bn-account-pill-btn--ghost {
    background: #fff;
    color: #1d5f87;
    border: 1px solid #d9e9f2;
}

.bn-account-pill-btn--ghost:hover {
    background: #f8fafc;
    color: #1d5f87;
    box-shadow: none;
}

.bn-account-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.bn-account-feature-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 100%;
    padding: 24px;
    border-radius: 22px;
    text-decoration: none;
    background: #fff;
    border: 1px solid #e5edf4;
    border-top: 3px solid rgba(231, 79, 8, 0.2);
    color: #334155;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.bn-account-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 28px rgba(15, 23, 42, 0.09);
    border-color: rgba(231, 79, 8, 0.35);
    color: #334155;
}

.bn-account-feature-card__icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-secondary);
    color: #fff;
    font-size: 1.15rem;
}

.bn-account-feature-card__title {
    margin: 0;
    color: #1d5f87;
    font-size: 1.12rem;
    line-height: 1.25;
}

.bn-account-feature-card:hover .bn-account-feature-card__title {
    color: var(--color-primary);
}

.bn-account-feature-card__desc {
    margin: 0;
    color: #64748b;
    line-height: 1.65;
    font-size: 0.94rem;
}

.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3,
.woocommerce-account .woocommerce-MyAccount-content legend {
    color: #1d5f87;
}

.woocommerce-account .woocommerce-MyAccount-content h2 {
    margin: 0 0 18px;
    font-size: 1.65rem;
    line-height: 1.2;
}

.woocommerce-account .woocommerce-MyAccount-content h3 {
    margin: 0 0 14px;
    font-size: 1.18rem;
}

.woocommerce-account .woocommerce-MyAccount-content p {
    color: #475569;
    line-height: 1.75;
}

.woocommerce-account .woocommerce-MyAccount-content p a:not(.button),
.woocommerce-account .woocommerce-MyAccount-content td a:not(.button),
.woocommerce-account .woocommerce-MyAccount-content th a:not(.button) {
    color: #1d5f87;
    font-weight: 700;
    text-decoration: none;
}

.woocommerce-account .woocommerce-MyAccount-content p a:not(.button):hover,
.woocommerce-account .woocommerce-MyAccount-content td a:not(.button):hover,
.woocommerce-account .woocommerce-MyAccount-content th a:not(.button):hover {
    color: #e86a10;
}

.woocommerce-account .shop_table,
.woocommerce-account table.shop_table_responsive,
.woocommerce-account .woocommerce-table {
    width: 100%;
    min-width: 720px;
    table-layout: auto;
    border-collapse: separate;
    border-spacing: 0;
    margin: 0 0 24px;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
}

.woocommerce-account .shop_table th,
.woocommerce-account .shop_table td,
.woocommerce-account .woocommerce-table th,
.woocommerce-account .woocommerce-table td {
    padding: 18px 20px !important;
    border-bottom: 1px solid #edf2f7;
    text-align: left;
    vertical-align: middle;
    line-height: 1.55;
}

.woocommerce-account .shop_table thead th,
.woocommerce-account .woocommerce-table thead th {
    background: #f8fafc;
    color: #64748b;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.woocommerce-account .shop_table tbody tr {
    transition: background 0.18s ease;
}

.woocommerce-account .shop_table tbody tr:nth-child(even),
.woocommerce-account .woocommerce-table tbody tr:nth-child(even) {
    background: #fcfdff;
}

.woocommerce-account .shop_table tbody tr:hover,
.woocommerce-account .woocommerce-table tbody tr:hover {
    background: #f8fbfd;
}

.woocommerce-account .shop_table tbody tr:last-child td,
.woocommerce-account .shop_table tbody tr:last-child th,
.woocommerce-account .woocommerce-table tbody tr:last-child td,
.woocommerce-account .woocommerce-table tbody tr:last-child th {
    border-bottom: 0;
}

.woocommerce-account .woocommerce-orders-table__cell-order-actions,
.woocommerce-account .woocommerce-PaymentMethod--actions {
    min-width: 210px;
}

.woocommerce-account .woocommerce-orders-table__cell-order-number a {
    font-size: 1rem;
    font-weight: 800;
}

.woocommerce-account .woocommerce-orders-table__cell-order-date time,
.woocommerce-account .woocommerce-orders-table__cell-order-total,
.woocommerce-account .woocommerce-PaymentMethod--method,
.woocommerce-account .woocommerce-PaymentMethod--expires {
    color: #334155;
    font-weight: 600;
}

.woocommerce-account .woocommerce-orders-table__cell-order-total .amount,
.woocommerce-account .woocommerce-table__product-total .amount,
.woocommerce-account .woocommerce-table__line-total .amount {
    color: var(--color-primary);
    font-weight: 800;
}

.woocommerce-account .woocommerce-orders-table__cell-order-actions .button,
.woocommerce-account .woocommerce-PaymentMethod--actions .button {
    margin: 0 8px 8px 0;
}

.woocommerce-account mark.order-status,
.woocommerce-account .subscription-status {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: capitalize;
}

.woocommerce-account mark.order-status {
    background: #eff6ff;
    color: #1d4ed8;
}

.woocommerce-account .order-status.status-completed,
.woocommerce-account .subscription-status.status-active {
    background: #ecfdf5;
    color: #047857;
}

.woocommerce-account .order-status.status-cancelled,
.woocommerce-account .order-status.status-failed,
.woocommerce-account .subscription-status.status-cancelled {
    background: #fef2f2;
    color: #b91c1c;
}

.woocommerce-account .order-status.status-on-hold,
.woocommerce-account .subscription-status.status-on-hold {
    background: #fff7ed;
    color: #c2410c;
}

.woocommerce-account .order-status.bn-order-reservation-status.status-pending_vendor,
.woocommerce-account .order-status.bn-order-reservation-status.status-proposed_to_customer {
    background: #fff7ed;
    color: #9a3412;
}

.woocommerce-account .order-status.bn-order-reservation-status.status-accepted {
    background: #dcfce7;
    color: #166534;
}

.woocommerce-account .order-status.bn-order-reservation-status.status-rejected,
.woocommerce-account .order-status.bn-order-reservation-status.status-cancelled_by_customer {
    background: #fee2e2;
    color: #991b1b;
}

.woocommerce-account .woocommerce-pagination {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.woocommerce-account .woocommerce-pagination .woocommerce-button {
    background: var(--color-secondary);
}

.woocommerce-account .woocommerce-pagination .woocommerce-button:hover {
    background: #164e6f;
    box-shadow: 0 8px 18px rgba(29, 95, 135, 0.24);
}

.woocommerce-account .woocommerce-MyAccount-content > p:first-child {
    max-width: 760px;
    margin: 0 0 18px;
}

.woocommerce-account .woocommerce-Address,
.woocommerce-account .woocommerce-Address-title,
.woocommerce-account .woocommerce-address-fields,
.woocommerce-account .woocommerce-EditAccountForm fieldset {
    border-radius: 22px;
}

.woocommerce-account .woocommerce-Address {
    display: flex;
    flex-direction: column;
    float: none !important;
    width: 100% !important;
    max-width: none;
    padding: 26px;
    border: 1px solid #e2e8f0;
    background: #fbfdff;
    box-sizing: border-box;
    overflow: hidden;
}

.woocommerce-account .u-column1.col-1.woocommerce-Address {
    max-width: 760px;
    margin: 0;
}

.woocommerce-account .woocommerce-Address-title {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e5edf4;
}

.woocommerce-account .woocommerce-Address-title h2 {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.25;
    grid-column: 1;
    text-align: left;
}

.woocommerce-account .woocommerce-Address-title .edit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    background: var(--color-primary);
    color: #fff;
    font-size: 0.86rem;
    font-weight: 700;
    flex-shrink: 0;
    text-decoration: none !important;
    grid-column: 2;
    justify-self: end;
    white-space: nowrap;
}

.woocommerce-account .woocommerce-Address address {
    margin: 0;
    width: 100%;
    padding: 18px 20px;
    border: 1px solid #e5edf4;
    border-radius: 18px;
    background: #fff;
    font-style: normal;
    color: #475569;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.woocommerce-account .woocommerce-Address address br {
    content: "";
}

.woocommerce-account .woocommerce-Address address > *:last-child {
    margin-bottom: 0;
}

.woocommerce-account .woocommerce-address-fields,
.woocommerce-account .woocommerce-EditAccountForm,
.woocommerce-account .woocommerce-form-login,
.woocommerce-account .woocommerce-form-register,
.woocommerce-account .lost_reset_password,
.woocommerce-account .woocommerce-ResetPassword {
    padding: 28px;
    border: 1px solid #e2e8f0;
    background: #fbfdff;
    border-radius: 24px;
}

.woocommerce-account .woocommerce-address-fields__field-wrapper,
.woocommerce-account .woocommerce-EditAccountForm,
.woocommerce-account .woocommerce-form-login,
.woocommerce-account .woocommerce-form-register,
.woocommerce-account .lost_reset_password,
.woocommerce-account .woocommerce-ResetPassword {
    display: grid;
    gap: 18px;
}

.woocommerce-account .woocommerce-address-fields__field-wrapper,
.woocommerce-account .woocommerce-EditAccountForm {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.woocommerce-account .woocommerce-form-row,
.woocommerce-account .form-row {
    margin: 0;
    padding: 0;
}

.woocommerce-account .woocommerce-form-row--wide,
.woocommerce-account .form-row-wide,
.woocommerce-account .woocommerce-address-fields__field-wrapper .form-row-wide,
.woocommerce-account .woocommerce-EditAccountForm .form-row-wide,
.woocommerce-account .woocommerce-EditAccountForm fieldset,
.woocommerce-account .woocommerce-EditAccountForm > p:last-of-type,
.woocommerce-account .lost_reset_password .form-row,
.woocommerce-account .woocommerce-ResetPassword .form-row {
    grid-column: 1 / -1;
}

.woocommerce-account .woocommerce-form-row label,
.woocommerce-account .form-row label,
.woocommerce-account legend {
    display: block;
    margin-bottom: 8px;
    color: #475569;
    font-size: 0.88rem;
    font-weight: 700;
}

.woocommerce-account .required {
    color: #e86a10;
}

.woocommerce-account .woocommerce-form-row input.input-text,
.woocommerce-account .woocommerce-form-row input[type="text"],
.woocommerce-account .woocommerce-form-row input[type="email"],
.woocommerce-account .woocommerce-form-row input[type="password"],
.woocommerce-account .woocommerce-form-row input[type="tel"],
.woocommerce-account .woocommerce-form-row select,
.woocommerce-account .woocommerce-address-fields input.input-text,
.woocommerce-account .woocommerce-address-fields select,
.woocommerce-account .woocommerce-address-fields textarea,
.woocommerce-account .lost_reset_password input.input-text,
.woocommerce-account .woocommerce-ResetPassword input.input-text {
    width: 100%;
    min-height: 50px;
    padding: 0 16px;
    border: 1.5px solid #dbe5ee;
    border-radius: 14px;
    background: #fff;
    color: #1e293b;
    font-size: 0.94rem;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}

.woocommerce-account .woocommerce-address-fields textarea {
    min-height: 110px;
    padding: 14px 16px;
    resize: vertical;
}

.woocommerce-account .woocommerce-form-row input:focus,
.woocommerce-account .woocommerce-form-row select:focus,
.woocommerce-account .woocommerce-address-fields input:focus,
.woocommerce-account .woocommerce-address-fields select:focus,
.woocommerce-account .woocommerce-address-fields textarea:focus,
.woocommerce-account .lost_reset_password input:focus,
.woocommerce-account .woocommerce-ResetPassword input:focus {
    outline: none;
    border-color: #1d5f87;
    box-shadow: 0 0 0 4px rgba(29, 95, 135, 0.12);
}

.woocommerce-account .select2-container {
    width: 100% !important;
}

.woocommerce-account .select2-container .select2-selection--single {
    min-height: 50px;
    border: 1.5px solid #dbe5ee;
    border-radius: 14px;
    display: flex;
    align-items: center;
    background: #fff;
}

.woocommerce-account .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 50px;
    padding: 0 42px 0 16px;
    color: #1e293b;
    font-size: 0.94rem;
}

.woocommerce-account .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 50px;
    right: 12px;
}

.woocommerce-account .select2-container--default.select2-container--focus .select2-selection--single,
.woocommerce-account .select2-container--default.select2-container--open .select2-selection--single {
    border-color: #1d5f87;
    box-shadow: 0 0 0 4px rgba(29, 95, 135, 0.12);
}

span.password-input {
    width: 100% !important;
}

.woocommerce-account .woocommerce-form-login__rememberme,
.woocommerce-account .woocommerce-form__label-for-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: #475569;
    font-size: 0.9rem;
    font-weight: 500;
}

.woocommerce-account input[type="checkbox"] {
    accent-color: #1d5f87;
}

.woocommerce-account .woocommerce-LostPassword,
.woocommerce-account .lost_password {
    margin: 4px 0 0;
}

.woocommerce-account .woocommerce-form-register > p:not(.form-row) {
    margin: 0;
    color: #64748b;
}

.woocommerce-account .u-columns#customer_login {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.woocommerce-account .u-columns#customer_login > .u-column1,
.woocommerce-account .u-columns#customer_login > .u-column2 {
    min-width: 0;
}

.woocommerce-account .u-columns#customer_login h2 {
    margin-bottom: 18px;
}

.woocommerce-account .woocommerce-EditAccountForm fieldset {
    margin: 10px 0 0;
    padding: 24px;
    border: 1px solid #dbe5ee;
    background: #fff;
}

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

.woocommerce-account .woocommerce-EditAccountForm em,
.woocommerce-account .woocommerce-form__description,
.woocommerce-account .woocommerce-EditAccountForm span em {
    color: #64748b;
    font-size: 0.84rem;
    line-height: 1.6;
}

.woocommerce-account .addresses + p {
    margin-top: 20px;
}

.woocommerce-account .woocommerce-MyAccount-downloads-file .button,
.woocommerce-account .download-file .button {
    white-space: nowrap;
}

.woocommerce-account .woocommerce-column {
    margin-bottom: 24px;
}

.woocommerce-account .woocommerce-column__title {
    margin-bottom: 14px;
}

.woocommerce-account .addresses .title,
.woocommerce-account .woocommerce-customer-details address,
.woocommerce-account .woocommerce-order-details,
.woocommerce-account .woocommerce-order-downloads,
.woocommerce-account .woocommerce-order-overview {
    border-radius: 22px;
}

.woocommerce-account .woocommerce-customer-details address,
.woocommerce-account .woocommerce-order-details,
.woocommerce-account .woocommerce-order-downloads,
.woocommerce-account .woocommerce-order-overview {
    padding: 26px;
    border: 1px solid #e2e8f0;
    background: #fbfdff;
}

.woocommerce-account ul.order_details {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
}

.woocommerce-account ul.order_details li {
    margin: 0;
    padding: 18px 20px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    line-height: 1.6;
}

.woocommerce-account ul.order_details li strong {
    display: block;
    margin-top: 6px;
    color: #1e293b;
}

.woocommerce-account .woocommerce-Button--previous,
.woocommerce-account .woocommerce-Button--next {
    min-width: 140px;
}

.woocommerce-account .button.cancel {
    background: #fff7ed;
    color: #c2410c;
}

.woocommerce-account .button.cancel:hover {
    background: #fed7aa;
    color: #9a3412;
    box-shadow: none;
}

.woocommerce-account .bn-reservation-box {
    margin-top: 14px;
    padding: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #f8fafc;
}

.woocommerce-account .bn-reservation-box__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.woocommerce-account .bn-reservation-box__grid {
    display: grid;
    gap: 12px;
    color: #374151;
}

.woocommerce-account .bn-reservation-box__grid span {
    display: block;
    margin-bottom: 4px;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.woocommerce-account .bn-reservation-box__grid p {
    margin: 0;
}

.woocommerce-account .bn-date-pref-list {
    margin: 0;
    padding-left: 18px;
}

.woocommerce-account .bn-reservation-box__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.woocommerce-account .bn-reservation-proposals {
    flex-basis: 100%;
}

.woocommerce-account .bn-reservation-proposal input[type="radio"] {
    margin-right: 8px;
}

.woocommerce-account .bn-reservation-proposals--picker {
    gap: 10px;
}

.woocommerce-account .bn-reservation-proposal--picker {
    padding: 10px 12px;
    border-radius: 10px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.woocommerce-account .bn-reservation-proposal--picker input[type="radio"]:checked + .bn-reservation-proposal__main {
    color: #0f766e;
    font-weight: 700;
}

.woocommerce-account .bn-reservation-proposal__choice {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    align-items: start;
}

.woocommerce-account .bn-reservation-proposal__main {
    display: block;
    color: #0f172a;
}

.woocommerce-account .bn-reservation-proposal__details {
    margin-top: 6px;
}

.woocommerce-account .bn-reservation-proposal__details summary {
    cursor: pointer;
    color: #475569;
    font-size: 12px;
    font-weight: 600;
}

.woocommerce-account .bn-reservation-proposal__details p {
    margin-top: 8px;
}

.bn-reservation-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #e5e7eb;
    color: #374151;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.bn-reservation-badge--pending_vendor,
.bn-reservation-badge--proposed_to_customer {
    background: #fff7ed;
    color: #9a3412;
}

.bn-reservation-badge--accepted {
    background: #dcfce7;
    color: #166534;
}

.bn-reservation-badge--rejected,
.bn-reservation-badge--cancelled_by_customer {
    background: #fee2e2;
    color: #991b1b;
}

.bn-account-view-order__head {
    margin-bottom: 15px;
}

@media (max-width: 1100px) {
    .bn-account-layout {
        grid-template-columns: 280px minmax(0, 1fr);
        gap: 24px;
    }

    .bn-account-feature-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 960px) {
    .woocommerce-account .woocommerce {
        margin-top: 24px;
    }

    .bn-account-hero__inner,
    .bn-account-layout,
    .woocommerce-account .woocommerce-Addresses,
    .woocommerce-account .col2-set.addresses,
    .woocommerce-account .u-columns#customer_login,
    .woocommerce-account .woocommerce-address-fields__field-wrapper,
    .woocommerce-account .woocommerce-EditAccountForm {
        grid-template-columns: 1fr;
    }

    .bn-account-nav {
        position: static;
    }

    .bn-account-panel,
    .bn-account-hero,
    .bn-account-nav__profile,
    .bn-account-nav__menu,
    .woocommerce-account .woocommerce-address-fields,
    .woocommerce-account .woocommerce-EditAccountForm,
    .woocommerce-account .woocommerce-form-login,
    .woocommerce-account .woocommerce-form-register,
    .woocommerce-account .lost_reset_password,
    .woocommerce-account .woocommerce-ResetPassword {
        padding: 24px;
    }

    .woocommerce-account .shop_table,
    .woocommerce-account table.shop_table_responsive,
    .woocommerce-account .woocommerce-table {
        min-width: 640px;
    }
}

@media (max-width: 767px) {
    .woocommerce-account .woocommerce {
        padding: 0 4%;
    }

    .bn-account-page {
        gap: 22px;
    }

    .bn-account-hero {
        border-radius: 22px;
        padding: 24px 22px;
    }

    .bn-account-nav__profile {
        padding: 20px;
    }

    .bn-account-nav__menu {
        padding: 20px;
    }

    .bn-account-panel {
        border-radius: 22px;
        padding: 22px 18px;
    }

    .bn-account-welcome {
        padding: 22px 20px;
    }

    .bn-account-welcome__actions {
        flex-direction: column;
    }

    .bn-account-pill-btn,
    .woocommerce-account .woocommerce-MyAccount-content .button,
    .woocommerce-account .woocommerce-button.button,
    .woocommerce-account a.button {
        width: 100%;
    }

    .woocommerce-account .shop_table,
    .woocommerce-account .woocommerce-table,
    .woocommerce-account .shop_table thead,
    .woocommerce-account .woocommerce-table thead {
        border: 0;
        min-width: 0;
    }

    .woocommerce-account .shop_table thead,
    .woocommerce-account .woocommerce-table thead {
        display: none;
    }

    .woocommerce-account .shop_table tbody,
    .woocommerce-account .woocommerce-table tbody {
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    .woocommerce-account .shop_table tr,
    .woocommerce-account .woocommerce-table tr {
        display: block;
        border: 1px solid #e2e8f0;
        border-radius: 18px;
        overflow: hidden;
    }

    .woocommerce-account .shop_table td,
    .woocommerce-account .shop_table th,
    .woocommerce-account .woocommerce-table td,
    .woocommerce-account .woocommerce-table th {
        display: flex;
        justify-content: space-between;
        gap: 16px;
        width: 100%;
        padding: 14px 16px;
        text-align: right;
    }

    .woocommerce-account .shop_table td::before,
    .woocommerce-account .shop_table th::before,
    .woocommerce-account .woocommerce-table td::before,
    .woocommerce-account .woocommerce-table th::before {
        content: attr(data-title);
        color: #64748b;
        font-size: 0.78rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        text-align: left;
    }

    .woocommerce-account .woocommerce-orders-table__cell-order-number::before,
    .woocommerce-account .woocommerce-orders-table__cell-order-actions::before,
    .woocommerce-account .woocommerce-PaymentMethod--actions::before {
        align-self: center;
    }

    .woocommerce-account .woocommerce-orders-table__cell-order-actions,
    .woocommerce-account .woocommerce-PaymentMethod--actions {
        flex-direction: column;
        align-items: stretch;
    }

    .woocommerce-account .woocommerce-orders-table__cell-order-actions .button,
    .woocommerce-account .woocommerce-PaymentMethod--actions .button {
        margin: 0;
    }

    .woocommerce-account .woocommerce-pagination {
        justify-content: stretch;
        flex-direction: column;
    }

    .bn-toast-container {
        top: 12px;
        right: 12px;
        left: 12px;
        width: auto;
        max-width: 100%;
    }

    .woocommerce-account .woocommerce-Address {
        padding: 22px 18px;
    }

    .woocommerce-account .u-column1.col-1.woocommerce-Address {
        max-width: 100%;
    }

    .woocommerce-account .woocommerce-Address-title {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .woocommerce-account .woocommerce-Address-title h2,
    .woocommerce-account .woocommerce-Address-title .edit {
        grid-column: 1;
    }

    .woocommerce-account .woocommerce-Address-title h2 {
        text-align: center;
    }

    .woocommerce-account .woocommerce-Address-title .edit {
        width: auto;
        margin-left: 0;
        justify-self: end;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bn-account-nav__menu a,
    .bn-account-feature-card,
    .bn-account-pill-btn,
    .woocommerce-account .woocommerce-MyAccount-content .button,
    .woocommerce-account .woocommerce-button.button,
    .woocommerce-account a.button {
        transition: none;
    }
}

/* ============================================================
   FORM LOGIN / REGISTER — Tarjeta única con pestañas
   ============================================================ */

/* ── Wrapper centrado ── */
.bn-auth-wrapper {
    max-width: 480px;
    margin: 0 auto;
    padding: 40px 16px 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

/* ── Cabecera (logo + título) ── */

.bn-auth-logo img {
    height: 56px;
    width: auto;
}

.bn-auth-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1A120E;
    margin: 0;
    line-height: 1.2;
}

/* ── Tarjeta principal ── */
.bn-auth-card {
    width: 100%;
    background: #fff;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.09);
    overflow: hidden;
}

/* ── Pestañas ── */
.bn-auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
}

.bn-auth-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 16px 12px;
    background: transparent;
    border: none;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    color: #9ca3af;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease;
    position: relative;
}

.bn-auth-tab::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: transparent;
    transition: background 0.2s ease;
}

.bn-auth-tab.is-active {
    color: #E74F08;
    background: #fff;
}

.bn-auth-tab.is-active::after {
    background: #E74F08;
}

.bn-auth-tab:focus-visible {
    outline: 2px solid #E74F08;
    outline-offset: -2px;
}

/* ── Paneles ── */
.bn-auth-panel {
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* El atributo hidden debe prevalecer sobre display:flex */
.bn-auth-panel[hidden] {
    display: none !important;
}

/* ── Banner de error de login (inyectado por JS) ── */
.bn-login-error-banner {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-left: 4px solid #dc2626;
    border-radius: 10px;
    color: #991b1b;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 4px;
}

.bn-auth-panel .woocommerce-form-login,
.bn-auth-panel .woocommerce-form-register {
    padding: 0 !important;
    border: none !important;
    background: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0 !important;
}

/* ── Campos ── */
.bn-auth-fields {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bn-auth-fields .form-row {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
}

p.woocommerce-form-row.woocommerce-form-row--last.form-row.form-row-last {
    width: 100% !important;
}

.bn-auth-fields .form-row label {
    display: block;
    margin-bottom: 6px;
}

.bn-field-wrap {
    position: relative;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
}

.bn-field-wrap .input-text {
    padding-left: 42px !important;
    padding-right: 44px !important;
}

/* WooCommerce envuelve el input — ocupa el ancho restante */
.bn-field-wrap .password-input {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
}

.bn-field-wrap .password-input .input-text {
    width: 100%;
}

/* Ocultar el botón show/hide nativo de WooCommerce — usamos el nuestro */
.bn-field-wrap .show-password-input,
.bn-field-wrap .woocommerce-password-strength,
.bn-field-wrap .woocommerce-password-hint {
    display: none !important;
}

/* Medidor de fortaleza — ya fuera de bn-field-wrap (movido por JS) */
.woocommerce-password-strength {
    display: block !important;
    margin-top: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid;
    line-height: 1.4;
}

.woocommerce-password-strength.short  { background: #fef2f2; border-color: #fecaca; color: #b91c1c; }
.woocommerce-password-strength.bad    { background: #fff7ed; border-color: #fed7aa; color: #c2410c; }
.woocommerce-password-strength.good   { background: #fefce8; border-color: #fef08a; color: #a16207; }
.woocommerce-password-strength.strong { background: #f0fdf4; border-color: #bbf7d0; color: #047857; }

.woocommerce-password-hint {
    display: block !important;
    margin-top: 4px;
    font-size: 0.78rem;
    color: #9ca3af;
    line-height: 1.5;
}

.bn-field-icon {
    position: absolute;
    left: 14px;
    color: #9ca3af;
    font-size: 0.88rem;
    pointer-events: none;
    z-index: 1;
}

/* Botón mostrar/ocultar contraseña */
.bn-toggle-password {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    cursor: pointer;
    color: #9ca3af;
    font-size: 0.9rem;
    padding: 4px;
    display: flex;
    align-items: center;
    border-radius: 6px;
    transition: color 0.2s ease;
}

.bn-toggle-password:hover { color: #1d5f87; }
.bn-toggle-password:focus-visible { outline: 2px solid #1d5f87; outline-offset: 2px; }

/* Font Awesome en modo SVG+JS aplica display:inline-block a los <svg>, lo que anula
   el atributo nativo [hidden] (regla de UA). Forzamos que [hidden] mande dentro del
   toggle para que solo se vea un ojo a la vez (mismo workaround que .bn-auth-panel[hidden]). */
.bn-toggle-password [hidden] { display: none !important; }

/* ── Meta (recuérdame + contraseña olvidada) ── */
.bn-auth-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.bn-lost-password {
    font-size: 0.83rem;
    color: #1d5f87;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.bn-lost-password:hover { color: #E74F08; }

/* ── Botón submit ── */
.bn-auth-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 24px;
    background: #E74F08;
    color: #fff;
    border: none;
    border-radius: 14px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.bn-auth-submit:hover {
    background: #C8430B;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(231, 79, 8, 0.3);
}

.bn-auth-submit--register {
    background: #1d5f87;
}

.bn-auth-submit--register:hover {
    background: #164e6f;
    box-shadow: 0 8px 20px rgba(29, 95, 135, 0.3);
}

/* ── Enlace para cambiar de panel ── */
.bn-auth-switch {
    margin: 0;
    text-align: center;
    font-size: 0.87rem;
    color: #6b7280;
    padding-top: 4px;
}

.bn-auth-switch-btn {
    background: none;
    border: none;
    font-family: inherit;
    font-size: inherit;
    font-weight: 700;
    color: #1d5f87;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
    text-decoration-color: transparent;
    transition: color 0.2s, text-decoration-color 0.2s;
}

.bn-auth-switch-btn:hover {
    color: #E74F08;
    text-decoration-color: #E74F08;
}

/* Ocultar el texto de privacidad que inyecta WooCommerce por su hook */
.bn-auth-panel .woocommerce-privacy-policy-text {
    display: none !important;
}

/* ── Checkbox de política de privacidad ── */
.bn-privacy-row {
    margin: 0 !important;
    padding: 0 !important;
}

.bn-privacy-label {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.87rem;
    color: #374151;
    line-height: 1.5;
    font-weight: 400 !important;
    margin: 0 !important;
}

.bn-privacy-label input[type="checkbox"] {
    margin: 3px 0 0;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    accent-color: #1d5f87;
    cursor: pointer;
}

.bn-privacy-label a {
    color: #1d5f87;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: transparent;
    transition: color 0.2s, text-decoration-color 0.2s;
}

.bn-privacy-label a:hover {
    color: #E74F08;
    text-decoration-color: #E74F08;
}

/* ── Nota contraseña automática ── */
.bn-register-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 14px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    font-size: 0.86rem;
    color: #1e40af;
    margin: 0;
    line-height: 1.5;
}

.bn-register-note i { flex-shrink: 0; margin-top: 2px; }

/* ── Privacidad ── */
.bn-register-privacy {
    font-size: 0.8rem;
    color: #9ca3af;
    line-height: 1.55;
    margin: 0;
}

.bn-register-privacy a { color: #1d5f87; font-weight: 600; text-decoration: none; }
.bn-register-privacy a:hover { color: #E74F08; }

/* ── Campo con error de validación ── */
.bn-field-error,
.bn-field-error:focus {
    border-color: #e74c3c !important;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.15) !important;
}

/* ── Volver atrás ── */
.bn-auth-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.87rem;
    font-weight: 600;
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s ease;
}

.bn-auth-back-link:hover {
    color: #1d5f87;
}

/* ── Cabecera de tarjeta (lost/reset password) ── */
.bn-auth-card__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 28px 24px;
    gap: 10px;
}

p.woocommerce-form-row.woocommerce-form-row--first.form-row.form-row-first {
    width: 100% !important;
}

.bn-auth-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: rgba(231, 79, 8, 0.1);
    color: #E74F08;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.bn-auth-card__icon--blue {
    background: rgba(29, 95, 135, 0.1);
    color: #1d5f87;
}

.bn-auth-card__icon--success {
    background: rgba(4, 120, 87, 0.1);
    color: #047857;
}

.bn-auth-card__title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1A120E;
    margin: 0;
    line-height: 1.2;
}

.bn-auth-card__desc {
    font-size: 0.88rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.55;
    max-width: 340px;
}

/* ── Aviso informativo ── */
.bn-auth-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    font-size: 0.86rem;
    color: #166534;
    line-height: 1.55;
}

.bn-auth-notice i {
    flex-shrink: 0;
    margin-top: 2px;
    font-size: 0.9rem;
}

.bn-auth-notice p {
    margin: 0;
    color: inherit;
}

/* ── Responsive ── */
@media (max-width: 480px) {
    .bn-auth-wrapper { padding: 24px 12px 40px; }
    .bn-auth-panel { padding: 20px 18px; }
    .bn-auth-tab { font-size: 0.82rem; padding: 14px 8px; }
    .bn-auth-meta { flex-direction: column; align-items: flex-start; }
    .bn-auth-card__head { padding: 24px 20px 20px; }
}

.bn-auth-submit.is-loading {
    pointer-events: none;
    opacity: 0.7;
}
