/* My Account / Login - shop redesign (Figma 2024:1083) */

.woocommerce-account .woocommerce { padding: 0 !important; }
.woocommerce-account main { padding-top: 0; margin-top: 0; }

/* Suppress the global h2::after cyan underline inside the login/register area */
.bp-account h2::after,
.bp-account__register-form h2::after { display: none !important; }
.bp-account h2,
.bp-account__register-form h2 { margin-bottom: 0; }

/* Breadcrumbs */
.bp-account__breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 1724px;
    margin: 21px auto 58px;
    padding: 0 20px;
    box-sizing: border-box;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    line-height: 16px;
    color: #000;
}
.bp-account__breadcrumbs a {
    color: #000;
    text-decoration: none;
}
.bp-account__breadcrumbs a:hover { color: #e82693; }
.bp-account__breadcrumbs-sep {
    display: inline-flex;
    width: 9px;
    height: 18px;
    color: #a7a7a7;
}
.bp-account__breadcrumbs-sep svg { width: 100%; height: 100%; }
.bp-account__breadcrumbs-current { color: #a7a7a7; }

/* Card */
.bp-account {
    max-width: 1170px;
    margin: 0 auto 60px;
    padding: 0 24px;
    box-sizing: border-box;
}
.bp-account__card {
    background: #fff;
    border-radius: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1.7px 1fr;
    gap: 0;
    align-items: stretch;
    box-shadow: none;
    min-height: 576px;
}
.bp-account__divider {
    width: 1.7px;
    background: #9c9797;
    align-self: stretch;
    margin: 0;
}
.bp-account__pane {
    padding: 20px 45px 40px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}
.bp-account__pane--login { padding-bottom: 40px; }
.bp-account__pane--register { padding: 12px 45px 40px; }

/* Titles */
.bp-account__title {
    font-family: "Open Sans", sans-serif;
    font-size: 28px;
    font-weight: 400;
    line-height: 40px;
    color: #e82693;
    text-align: center;
    margin: 0 0 35px;
    letter-spacing: 0.02em;
}
.bp-account__register-title {
    font-family: "Open Sans", sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 34px;
    color: #333;
    text-align: center;
    margin: 0 0 30px;
}

/* Form fields */
.bp-account__form { margin: 0; }
.bp-account__field {
    margin: 0 0 20px;
    display: block;
}
.bp-account__label {
    display: block;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #333;
    margin: 0 0 8px;
}
.bp-account__req { color: #e82693; }
.bp-account__input-wrap {
    position: relative;
    display: block;
}
.bp-account__input {
    width: 100%;
    height: 54px;
    padding: 0 14px;
    background: #fff;
    border: 1px solid #9c9797;
    border-radius: 8px;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #333;
    box-sizing: border-box;
    outline: none;
    transition: border-color .2s ease;
}
.bp-account__input::placeholder { color: #9c9797; }
.bp-account__input:focus { border-color: #e82693; }
.bp-account__input--password { padding-right: 50px; }
.bp-account__input-icon + .bp-account__input,
.bp-account__field .bp-account__input-icon ~ .bp-account__input { padding-left: 50px; }
.bp-account__input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    color: #9c9797;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.bp-account__input-icon svg { width: 100%; height: 100%; }
.bp-account__toggle-pwd {
    position: absolute;
    right: 14px;
    top: 0;
    width: 24px;
    height: 100%;
    background: transparent;
    border: 0;
    padding: 0;
    color: #9c9797;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.bp-account__toggle-pwd svg { width: 24px; height: 54px; display: block; }
.bp-account__toggle-pwd:hover svg path[fill="#9C9797"] { fill: #333; }

/* Hide WooCommerce's auto-injected password reveal toggle */
.bp-account .show-password-input,
.bp-account__register-form .show-password-input { display: none !important; }

/* Lost password */
.bp-account__lost {
    margin: 16px 0 32px;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    line-height: 20px;
}
.bp-account__lost a {
    color: #337ab7;
    text-decoration: underline;
}

/* Submit / CTA buttons */
.bp-account__submit,
.bp-account__cta-register {
    display: block;
    width: 100%;
    height: 48px;
    padding: 0 16px;
    background: #e82693;
    color: #fff !important;
    border: 0;
    border-radius: 8px;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 48px;
    letter-spacing: 0.04em;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s ease, transform .1s ease;
    box-sizing: border-box;
}
.bp-account__submit:hover,
.bp-account__cta-register:hover {
    background: #c91f7d;
    color: #fff !important;
}
.bp-account__submit:active,
.bp-account__cta-register:active {
    transform: translateY(1px);
}

/* Social login */
.bp-account__social-label {
    margin: 48px 0 16px;
    font-family: "Open Sans", sans-serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 31.43px;
    color: #333;
}
.bp-account__social {
    display: flex;
    align-items: center;
    gap: 26px;
    width: 100%;
    height: 54px;
    padding: 0 16px;
    border: 1px solid #9c9797;
    border-radius: 8px;
    background: #fff;
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    color: #8e9ba8;
    text-decoration: none;
    box-sizing: border-box;
    transition: border-color .2s ease;
}
.bp-account__social:hover { border-color: #333; }
.bp-account__social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
}
.bp-account__social-icon svg { width: 100%; height: 100%; }

/* Right pane - benefits */
.bp-account__benefits {
    margin-top: 24px;
    background: #fafafa;
    border-radius: 8px;
    padding: 40px 23px 32px;
    text-align: center;
}
.bp-account__benefits-title {
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 22.86px;
    color: #e82693;
    margin: 0 0 30px;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
}
.bp-account__benefits-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.bp-account__benefit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    margin: 0;
}
.bp-account__benefit-icon {
    display: inline-flex;
    width: 64px;
    height: 64px;
    align-items: center;
    justify-content: center;
}
.bp-account__benefit-icon svg { width: 100%; height: 100%; }
.bp-account__benefit-text {
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #333;
    text-align: center;
}

/* Login / register pane swap (CTA toggles which form is visible in the left pane) */
.bp-account__pane-form { display: block; }
.bp-account__pane-form--register { display: none; }
.bp-account.is-registering .bp-account__pane-form--login { display: none; }
.bp-account.is-registering .bp-account__pane-form--register { display: block; }

.bp-account__back-to-login {
    margin: 24px 0 0;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
}
.bp-account__back-to-login a {
    color: #337ab7;
    text-decoration: underline;
}

.bp-account__hint {
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    color: #777272;
    margin: 0 0 20px;
}

/* Hide WC default messages reset noise */
.woocommerce-MyAccount-navigation-link a { color: inherit; }

/* Responsive */
@media (max-width: 991px) {
    .bp-account__breadcrumbs { padding: 0 20px; margin-bottom: 32px; }
    .bp-account__card {
        grid-template-columns: 1fr;
    }
    .bp-account__divider {
        display: none;
    }
    .bp-account__pane {
        padding: 40px 24px;
    }
    .bp-account__pane--login {
        border-bottom: 1px solid #e5e5e5;
    }
}

@media (max-width: 575px) {
    .bp-account { padding: 0 12px; }
    .bp-account__pane { padding: 32px 20px; }
    .bp-account__benefits-list { grid-template-columns: 1fr; gap: 24px; }
    .bp-account__title { font-size: 24px; line-height: 32px; }
    .bp-account__cta-register { font-size: 12px; line-height: 1.2; padding: 12px; height: auto; min-height: 48px; display: flex; align-items: center; justify-content: center; }
}

.bp-account__card--dashboard {
    grid-template-columns: 280px 1.7px 1fr;
    min-height: 520px;
}
.bp-account__pane--nav { padding: 32px 24px; }
.bp-account__pane--content { padding: 32px 45px 40px; }

.bp-account__nav-list { list-style: none; margin: 0; padding: 0; }
.bp-account__nav-item + .bp-account__nav-item { margin-top: 4px; }
.bp-account__nav-link {
    display: block;
    padding: 12px 16px;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: #333;
    border-radius: 8px;
    text-decoration: none;
    transition: background .15s ease, color .15s ease;
}
.bp-account__nav-link:hover { background: #f7f7f7; color: #e82693; }
.bp-account__nav-item.is-active .bp-account__nav-link {
    background: #e82693;
    color: #fff;
    font-weight: 600;
}

.bp-account__content { font-family: "Open Sans", sans-serif; color: #333; }
.bp-account__greeting { font-size: 16px; line-height: 24px; margin: 0 0 12px; }
.bp-account__lede { font-size: 14px; line-height: 22px; color: #555; margin: 0 0 28px; }
.bp-account__content a { color: #e82693; text-decoration: none; }
.bp-account__content a:hover { text-decoration: underline; }

.bp-account__quick {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 0 0 32px;
}
.bp-account__quick-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 16px;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    text-decoration: none;
    transition: border-color .15s ease, transform .15s ease;
}
.bp-account__quick-card:hover { border-color: #e82693; transform: translateY(-2px); text-decoration: none; }
.bp-account__quick-title { font-size: 15px; font-weight: 600; color: #1e2939; }
.bp-account__quick-sub { font-size: 12px; color: #777; }

.bp-account__logout-row { margin: 24px 0 0; }
.bp-account__logout-link {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #555 !important;
    text-transform: uppercase;
    padding: 8px 0;
    border-bottom: 1px solid currentColor;
}
.bp-account__logout-link:hover { color: #e82693 !important; text-decoration: none; }

.bp-account__content table.shop_table,
.bp-account__content table.woocommerce-orders-table,
.bp-account__content table.woocommerce-MyAccount-orders {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 24px;
    font-size: 13px;
}
.bp-account__content table th,
.bp-account__content table td {
    padding: 12px 10px;
    border-bottom: 1px solid #eee;
    text-align: left;
    vertical-align: middle;
}
.bp-account__content table th { font-weight: 600; color: #1e2939; background: #fafafa; }

.bp-account__content .button,
.bp-account__content button[type="submit"],
.bp-account__content input[type="submit"] {
    display: inline-block;
    background: #e82693;
    color: #fff;
    border: 0;
    border-radius: 8px;
    padding: 12px 22px;
    font-family: "Open Sans", sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    transition: background .15s ease;
}
.bp-account__content .button:hover,
.bp-account__content button[type="submit"]:hover,
.bp-account__content input[type="submit"]:hover { background: #c41f7d; color: #fff; }

.bp-account__content input[type="text"],
.bp-account__content input[type="email"],
.bp-account__content input[type="tel"],
.bp-account__content input[type="password"],
.bp-account__content select,
.bp-account__content textarea {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    background: #fff;
    border: 1px solid #9c9797;
    border-radius: 8px;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    color: #333;
    box-sizing: border-box;
}
.bp-account__content textarea { height: auto; padding: 12px 14px; }
.bp-account__content input:focus,
.bp-account__content select:focus,
.bp-account__content textarea:focus { border-color: #e82693; outline: 0; }

.bp-account__content .woocommerce-form-row,
.bp-account__content p.form-row { margin: 0 0 18px; display: block; }
.bp-account__content label { display: block; margin: 0 0 8px; font-size: 14px; color: #333; }

@media (max-width: 991px) {
    .bp-account__card--dashboard { grid-template-columns: 1fr; min-height: 0; }
    .bp-account__card--dashboard .bp-account__divider { display: none; }
    .bp-account__pane--nav { padding: 24px 20px; border-bottom: 1px solid #eee; }
    .bp-account__pane--content { padding: 28px 20px 36px; }
    .bp-account__quick { grid-template-columns: 1fr; }
}

.woocommerce-account .bp-account__content.woocommerce-MyAccount-content,
.bp-account__content.woocommerce-MyAccount-content {
    float: none !important;
    width: 100% !important;
}

.bp-account__content .bp-account__addresses,
.bp-account__content .woocommerce-Addresses {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 32px !important;
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
}
.bp-account__content .bp-account__addresses::before,
.bp-account__content .bp-account__addresses::after,
.bp-account__content .col2-set::before,
.bp-account__content .col2-set::after,
.bp-account__content .u-columns::before,
.bp-account__content .u-columns::after { content: none !important; display: none !important; }

.bp-account__content .bp-account__address,
.bp-account__content .u-column1,
.bp-account__content .u-column2,
.bp-account__content .col2-set .col-1,
.bp-account__content .col2-set .col-2,
.bp-account__content .woocommerce-Address {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    clear: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
}
.bp-account__address-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 12px;
}
.bp-account__address-header h3 {
    font-family: "Open Sans", sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #1e2939;
    margin: 0;
    line-height: 1.3;
}
.bp-account__address-header h3::after { display: none !important; }
.bp-account__address-edit {
    font-size: 13px;
    color: #e82693 !important;
    text-decoration: none;
    white-space: nowrap;
}
.bp-account__address-edit:hover { text-decoration: underline; }
.bp-account__address-body {
    display: block !important;
    font-style: normal;
    font-size: 14px;
    line-height: 22px;
    color: #555;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    width: 100% !important;
}

.bp-account__empty {
    padding: 32px;
    border: 1px dashed #e5e5e5;
    border-radius: 10px;
    text-align: center;
}
.bp-account__empty p { margin: 0 0 16px; color: #555; }
.bp-account__empty-cta {
    display: inline-block;
    background: #e82693;
    color: #fff !important;
    padding: 12px 22px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-decoration: none;
}
.bp-account__empty-cta:hover { background: #c41f7d; text-decoration: none; }

@media (max-width: 767px) {
    .bp-account__addresses { grid-template-columns: 1fr; gap: 24px; }
}
