/* Sección - Mis pedidos */
.woocommerce {
    .woocommerce-MyAccount-navigation {
        display: none;
    }

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

.woocommerce-edit-address {
    .woocommerce {
        form {
            margin: auto !important;
            margin-bottom: 5rem !important;
            padding-bottom: 4rem !important;
            max-width: 800px;

            .selection .select2-selection {
                height: 45px;
            }
        }
    }
}

.elementor-15736 .elementor-element.elementor-element-c994022 #editar-direccion {
    top: 2.7rem !important;
}

/* Sección - Mi cuenta - Mis direcciones - Editar dirección */
/*Estilos Sección agregar o editar una dirección*/

.woocommerce-edit-address .product {
    width: 100%;
    max-width: 850px;
    margin: auto;
    margin-bottom: 3rem;
}

.woocommerce-edit-address .woocommerce form {
    background-color: var(--e-global-color-55086ed);
    border-radius: 16px;
    padding: 3rem;
    margin: 3rem;
}

.woocommerce-edit-address .woocommerce form h3 {
    font-family: var(--e-global-typography-secondary-font-family);
    font-weight: 700;
    font-size: 32px;
    line-height: 40px;
    text-transform: uppercase;
    margin: 0;
    margin-bottom: 1.5rem;
    color: var(--e-global-color-text);
}

.woocommerce-edit-address .woocommerce form .form-row input.input-text,
.woocommerce-edit-address .woocommerce form .form-row textarea,
.woocommerce-edit-address .select2-container--default .select2-selection--single {
    padding: 9px;
    border-color: var(--e-global-color-2ed775f);
}

.woocommerce-edit-address .woocommerce form .form-row label,
.woocommerce-edit-address form .form-row label {
    color: var(--e-global-color-text);
}

.woocommerce-edit-address .woocommerce-address-fields__field-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.woocommerce-edit-address .woocommerce-address-fields__field-wrapper p {
    width: calc(50% - 2rem) !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.woocommerce-edit-address #billing_address_2_field {
    justify-content: flex-end;
}

.woocommerce-edit-address .woocommerce form .button {
    padding: 0.5rem 2rem;
    border-radius: 25px;
    background-color: var(--e-global-color-2ed775f);
    text-transform: uppercase;
    transition: all .3s ease-in-out;
}

.woocommerce-edit-address .woocommerce form .button:hover {
    background-color: var(--e-global-color-f087f2e);
}

.woocommerce-edit-address .woocommerce form .woocommerce-address-fields>p {
    text-align: center;
    margin-top: 2.5rem;
}

@media screen and (max-width: 767px) {
    .woocommerce-edit-address .woocommerce form {
        padding: 1rem;
        margin: 1rem;
    }

    .woocommerce-edit-address .woocommerce form h3 {
        font-size: 20px;
        line-height: 24px;
    }

    .woocommerce-edit-address .woocommerce-address-fields__field-wrapper {
        gap: 0.5rem;
    }

    .woocommerce-edit-address .woocommerce-address-fields__field-wrapper p {
        width: 100% !important;
    }
}

/* Sección - Mi cuenta - Historial de pedidos */
.bambooOrdersContainer {
    display: flex;
    flex-wrap: wrap;
    color: var(--e-global-color-text);
}

.bambooOrderRow {
    width: 100%;
    padding: 24px 0;
    border-bottom: solid 1px #E8DFD0;
    display: flex;
    justify-content: space-between;
}

.orderColumnDescription,
.orderColumnStatus {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.orderColumnStatus {
    text-align: right;
}

.orderNumber span {
    font-weight: 600;
    line-height: 24px;
}

.orderDeatail span {
    font-size: 14px;
    line-height: 24px;
}

.status svg {
    width: 18px;
    height: 18px;
    fill: var(--e-global-color-text);
}

.status span {
    font-size: 14px;
    font-weight: 600;
    line-height: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.orderColumnStatus a {
    text-decoration: none;
    font-weight: 600;
    color: var(--e-global-color-2ed775f);
    display: flex;
    justify-content: flex-end;
    gap: 2px;
    align-items: center;
}

.orderColumnStatus a svg {
    width: 25px;
    height: 25px;
    fill: var(--e-global-color-2ed775f);
}

@media screen and (max-width: 767px) {
    .bambooOrderRow {
        flex-direction: column;
        gap: 24px;
    }

    .orderColumnStatus {
        flex-direction: column;
        gap: 24px;
        align-items: flex-start;
    }
}

/* Mi cuenta - Historial de ordenes - Ver detales */
/*Detalles de las ordenes*/
.woocommerce-view-order {
    background-color: white;
}

.woocommerce-view-order .product {
    width: 100%;
    max-width: 1080px;
    min-height: 700px;
    margin: auto;
}

.woocommerce-view-order .woocommerce {
    display: flex;
    flex-wrap: wrap;
    padding: 1rem;
    width: 100%;
    max-width: 1080px;
    min-height: 700px;
    margin: auto;
    padding-top: 40px;
}

.mainOrderDetail {
    width: calc(100% - 450px);
}

.woocommerce .orderTitle {
    font-size: 32px;
    font-weight: 800;
    line-height: 40px;
    color: #3E4827;
    margin: 0;
    margin-bottom: 60px
}

.orderSubtitle {
    margin: 0;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 16px;
}

.woocommerce .orderDescriptionValue {
    color: #586043CC;
    font-size: 14px;
    margin: 0;
}

.woocommerce-view-order .woocommerce-order-details {
    margin-top: 50px;
}

.woocommerce-order-details .bambooSummary {
    background-color: #FCF6EF;
    padding: 24px;
    width: 400px;
    max-width: 100%;
    border-radius: 8px;
}

.bambooSummary .woocommerce-order-details__title {
    font-family: PPRader-bold;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
}

.woocommerce-order-details .bambooSummaryContent {
    padding: 1rem 0;
    margin: 1rem 0;
    border-bottom: solid 1px #E8DFD0;
    border-top: solid 1px #E8DFD0;
}

.bambooSummary .columnDescription {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.bambooSummaryContent .bambooRow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.bambooSummary .columnDescription .descriptionImage img {
    max-width: none;
}

.bambooSummaryContent .descriptionTitle {
    font-size: 14px;
    text-wrap: balance;
}

.bambooSummaryContent .descriptionQuantity {
    font-size: 14px;
}

.bambooSummaryContent .columnPrice {
    font-weight: 600;
}

.woocommerce-order-details .bambooSummaryFooter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bambooSummaryFooter .summaryFooterRow {
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    line-height: 24px;
    color: #3E4827;
}

.bambooSummaryFooter .summaryFooterRow:last-child {
    border-top: solid 1px #E8DFD0;
    padding-top: 1rem;
    margin-top: 1rem;
    font-size: 20px;
}

.woocommerce .woocommerce-customer-details {
    width: calc(100% - 470px);
    margin-bottom: 0;
}

.woocommerce .woocommerce-customer-details address {
    border: none;
    padding: 8px 0 32px;
    color: #586043CC;
}

.woocommerce .woocommerce-customer-details .woocommerce-customer-details--phone::before,
.woocommerce .woocommerce-customer-details .woocommerce-customer-details--email::before {
    margin-left: -1.4em;
    line-height: 1.2;
}

.woocommerce-view-order .woocommerce>.woocommerce-order-details__title {
    width: calc(100% - 470px);
    margin: 1rem 0;
    font-weight: 600;
    font-size: 20px;
    display: none;
}

.woocommerce-view-order .order_details.woocommerce-table {
    width: calc(100% - 470px);
    border: none;
    display: none;
}

.woocommerce-view-order .order_details.woocommerce-table td {
    padding: 0.5rem 0;
    color: #586043CC;
    font-size: 14px;
    text-align: right;
}

.woocommerce-view-order .order_details.woocommerce-table th {
    padding: 0.5rem 0;
    font-weight: 600;
    font-size: 16px;
}

.woocommerce-view-order .shop_table.additional_details {
    display: none;
}


@media screen and (min-width: 1025px) {
    .woocommerce .woocommerce-customer-details {
        position: absolute;
        top: 32rem;
    }
}

@media screen and (max-width: 1024px) {
    .woocommerce-view-order .woocommerce {
        flex-direction: column;
    }

    .woocommerce-view-order .woocommerce-order-details {
        margin-top: 1rem;
        max-width: 100%;
        width: 100%;
        border-radius: 8px;
        background-color: #FCF6EF;
    }

    .woocommerce-order-details .bambooSummary {
        position: relative;
        width: auto;
    }

    .woocommerce-view-order .mainOrderDetail {
        order: 1;
        flex-basis: 100%;
        width: 100%;
    }

    .woocommerce-view-order .woocommerce-customer-details {
        order: 2;
        flex-basis: 100%;
        width: 100%;
    }

    .woocommerce-view-order .woocommerce>.woocommerce-order-details__title {
        order: 3;
        flex-basis: 100%;
        width: 100%;
    }

    .woocommerce-view-order .order_details.woocommerce-table {
        order: 4;
        flex-basis: 100%;
        width: 100%;
    }

    .woocommerce-view-order .woocommerce-order-details {
        order: 5;
        flex-basis: 100%;
    }
}

.bb__titulo-status {
    color: var(--e-global-color-2ed775f);
}

.bb__grafico-column.column-status {
    max-width: 100px;
}


/* Seccipon - Mi cuenta - Mi impacto */
.bb__mi-impacto {
    color: var(--e-global-color-text);
}

.bb__container-icon {
    width: 64px;
    height: 64px;
    border-radius: 64px;
    background-color: var(--e-global-color-text);
    display: flex;
    justify-content: center;
    align-items: center;
}

.bb__content-row {
    max-width: 800px;
    text-align: center;
    margin: auto;
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.bb__nivel-descripcion {
    margin: 0;
    font-weight: 600;
}

.bb__impacto-valores-puntos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.bb__impacto-valor {
    font-size: 20px;
    font-weight: 600;
}

.bb__impacto-valor .bb__impacto-valor-bold {
    font-weight: 800;
}

.bb__divisor::before {
    content: '';
    display: block;
    width: 1px;
    height: 32px;
    background-color: var(--e-global-color-text);
}

.bb__impacto-grafico,
.historial-puntos #wlr-transaction-table {
    overflow: auto;
}

.bb__grafico-box {
    min-width: 1100px;
}

.bb__grafico-column.active .bb__container-icon {
    background-color: var(--e-global-color-2ed775f);
}

.bb__grafico-column.active .bb__container-icon svg path {
    fill: var(--e-global-color-text);
}

.bb_grafico-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.bb__grafico-column {
    text-wrap: balance;
    text-align: center;
    flex-basis: 25%;
    max-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 13px;
}

.bb__container-beneficio {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bb__nivel-titulo-punto {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 20px;
}

.bb__nivel-titulo-punto .bb__titulo-nivel {
    font-size: 20px;
    font-weight: 600;
}

.bb__nivel-titulo-punto .bb__punto-nivel {
    font-size: 14px;
    font-weight: 600;
}

.bb__grafico-column.active .bb__nivel-titulo-punto {
    color: var(--e-global-color-primary);
}



.bb__container-beneficio .bb__titulo {
    font-weight: 600;
}

.bb__container-beneficio .bb__descripcion {
    font-size: 14px;
    line-height: 24px;
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.bb__container-beneficio .bb__descripcion_list {
    margin-bottom: 10px;
    line-height: 1.2;
}

/*Estilos de la barra*/
.bb__barra-total {
    width: calc(88% - 130px);
    height: 8px;
    margin: auto;
    background-color: var(--e-global-color-5d6e6ce);
    position: relative;
    top: 36px;
    z-index: -1;
    display: flex;
    gap: 64px;
}

.bb__barra-parcial {
    height: 8px;
    flex-basis: 33.33%;
}

.bb__barra-parcial .bb__barra-cargando {
    height: 8px;
    background-color: var(--e-global-color-2ed775f);
}

@media screen and (max-width: 1024px) {
    .bb__grafico-box {
        min-width: 950px;
    }

    .bb__barra-total {
        width: calc(86% - 130px);
    }
}

@media screen and (max-width: 767px) {
    .bb__grafico-box {
        min-width: 700px;
    }

    .bb__barra-total {
        width: calc(85% - 130px);
        gap: 60px;
    }
}

/*Estilos ocultando elementos no necesarios*/
.historial-puntos .wlr-myaccount-page .wlr-referral-blog,
.historial-puntos .wlr-myaccount-page .wlr-your-reward {
    display: none;
}

/*Ocultar elementos no necesarios en la sección de mis beneficios*/
.mis-beneficios .wlr-myaccount-page .wlr-user-details,
.mis-beneficios .wlr-myaccount-page .wlr-level-details,
.mis-beneficios .wlr-myaccount-page .wlr-transaction-blog {
    display: none;
}