.block-form {
    max-width: 450px;
    width: 100%;
}


#login-form, #customer-form, .custom-form {
    flex-wrap: wrap;
    display: flex;
    padding-top: 0.75rem;
    justify-content: flex-end;
    color: var(--text);
}
.table-historic.return input {
    appearance: auto;
}
#login-form, #customer-form, .custom-form,.block-form {
    font-size: .75rem;
}
.new-address .field-wrap.field-input {width: 100%;justify-content: flex-end;}
#customer-form .field-firstname,
#customer-form .field-lastname {
    width: 50%;
}

#customer-form .field-firstname,
.page-identity .field-password {
    padding-right: 15px;
}

#login-form .field-wrap:last-child,
#customer-form .field-wrap:last-child {
    margin-bottom: 15px;
}

button#submit-login,
button.form-control-submit {
    width: 100%;
    margin-top: .35rem;
}

.page-identity #customer-form button.form-control-submit {
    width: 250px;
    max-width: 100%;
    margin-left: auto;
}

.page-identity .alert {
    text-align: center;
}

.page-identity .checkbox-label {
    justify-content: flex-end;
}

.page-identity .field-email,
.page-identity .field-optin {
    width: 100%;
    margin-bottom: 0;
}
.back_to_login {
    display: flex;
    margin-top: .5rem;
    align-items: center;
}
.page-identity .field-wrap.field-password,
.page-identity .field-wrap.field-new_password {
    width: 50%;
}

.forgot-password a {
    display: flex;
    align-items: center;
    color: #000;
}

.forgot-password img {
    padding-right: 5px;
}

.entrar {
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo_login {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    padding: 1rem;
}
.entrar>a.active,
.entrar>a:hover {
    border-color: var(--alter);
}

.js-terms {
    font-size: 1em;
    text-transform: initial;
    font-weight: normal;
}

.entrar>a {
    width: 50%;
    text-align: center;
    display: initial;
    justify-content: center;
    letter-spacing: .7px;
    font-weight: 800;
    font-size: 14px;
    padding: 10px;
    border-bottom: 2px solid var(--border);
    cursor: pointer;
}

#my-account .customer-container {
    align-items: stretch;
}

.page-identity .field-email {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

body.authentication #content,
body.password #content {
    display: flex;
    justify-content: center;
    flex-direction: column;
    min-height: 100vh;
    align-items: center;
    flex-wrap: nowrap;
    padding: 100px 0;
}

body.authentication .splash-auth,
body.password .splash-auth {
    background: transparent;
    background-size: cover;
    padding: .5rem 1rem;
    text-align: center;
}

body.authentication .block-auth,
body.password .block-auth {
    background-color: #fff;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

body.authentication h1,
body.password h1 {
    font-weight: bold;
    margin: 0;
    color: #fff;
    text-shadow: 0px 0px 15px hsl(219deg 66% 32% / 25%);
    font-size: 1.5rem;
}

body.authentication .sol-accent-note,
body.password .sol-accent-note {
    color: #fff;
    font-size: 12px;
    letter-spacing: 1px;
    text-align: center;
    color: #ffffff;
    text-transform: uppercase;
}

body.authentication section#wrapper,
body.password section#wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    background: url(/img/login_page.jpg) no-repeat center;
    background-size: cover;
    max-width: unset;
    margin: 0;
    padding: 0;
}
body.authentication header#header,
body.password header#header,
body.authentication footer#footer,
body.password footer#footer {
    display: none !important;
}
.customer-container {
    display: flex;
    align-items: flex-start;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 2rem;
    width: 100%;
    max-width: calc(var(--container) + 30px);
    font-size: 18px;
}
.back_to {
    display: flex;
    font-size: 12px;
    align-items: center;
    justify-content: center;
    /* display: none; */
    position: absolute;
    left: 0;
    top: 104%;
}
.back_to .feather-chevron-left {
    transform: translateY(-2px);
}
.customer-container>.customer-content {
    width: calc(100% - 300px);
    padding: 1.5rem;
    margin: 0 !important;
}

.customer-links .customer-item .link-item {
    display: flex;
    align-items: center;
    color: #232323;
}

.customer-container>.customer-links {
    width: 300px;
    display: flex;
    flex-direction: column;
}

.welcome .material-icons {
    font-size: 55px;
}

.welcome a,
.customer-item.active span,
.welcome .material-icons,
a.edit-address i,
table.table-totals tr.line-total td,
.add-address a {
    color: var(--main) !important;
}

.customer-item.active span {
    font-weight: bold;
}

.welcome h1 {
    font-size: 2rem;
}

.welcome {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

body#my-account section#content {
    display: flex;
    align-items: center;
    /* justify-content: center; */
    flex-direction: column;
    text-align: center;
}

.customer-content h1 {
    font-weight: bold;
    font-size: .75rem;
    color: #272727;
    margin: 18px 0 14px;
    text-transform: uppercase;
}

.customer-links .customer-item {
    padding: 24px 5px;
    transition: background-color .1s linear;
    display: inline-flex;
    align-items: center;
}

span.customer-icon {
    background-size: contain;
    width: 20px;
    height: 20px;
    background-position: center;
    display: inline-block;
    margin-right: 15px;
    background-repeat: no-repeat;
}

.customer-item span {
    font-size: .75rem;
    color: #000;
}

.customer-container.logged-out_user aside.customer-links {
    display: none;
}

.customer-container.logged-out_user section#content {
    width: 100%;
    padding: 24px 15px;
}


.share-wl {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e4e4e4;
    border-radius: 4px;
    padding: 7px 0;
    max-width: 205px;
    margin: 0 auto;
}

.share-wl a {
    padding: 0 13px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-wl a:not(:last-child) {
    border-right: 1px solid #e4e4e4;
}

.top-wl {
    text-align: center;
}

.icon-identity {
    background-image: url(/img/ico/customer/icono-perfil.svg);
}

.icon-history {
    background-image: url(/img/ico/customer/icono-expedicion.svg);
}

.icon-address {
    background-image: url(/img/ico/customer/icono-envio.svg);
}

.icon-discounts {
    background-image: url(/img/ico/customer/icono-cupon.svg);
}

.icon-logout {
    background-image: url(/img/ico/customer/icono-logout.svg);
}

.icon-order-slips {
    background-image: url(/img/ico/customer/icono-perfil.svg);
}

.active .icon-identity {
    background-image: url(/img/ico/customer/icono-perfil_active.svg);
}

.active .icon-history {
    background-image: url(/img/ico/customer/icono-expedicion_active.svg);
}

.active .icon-address {
    background-image: url(/img/ico/customer/icono-envio_active.svg);
}

.active .icon-discounts {
    background-image: url(/img/ico/customer/icono-cupon_active.svg);
}
    
.active .icon-logout {
    background-image: url(/img/ico/customer/icono-logout_active.png);
}

.active .icon-order-slips {
    background-image: url(/img/ico/customer/icono-perfil_active.svg);
}

.customer-item .arrow,
.customer-back-mobile {
    display: none;
}

.customer-links .customer-item:not(:last-child) {
    border-bottom: 1px solid var(--border);
}

.add-address {
    display: flex;
    margin-bottom: 1rem;
    width: 100%;
    align-items: center;
    gap: 40px;
}

.item-address {
    background: #fff;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    width: calc(33.33% - 15px);
    margin-right: 15px;
    margin-bottom: 15px;
}

.address-actions>a {
    margin: 0;
    width: 50%;
    font-size: 1em;
}

.addr-phone,
.addr-mail {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.addr-phone img,
.addr-mail img {
    padding-right: 5px;
}

.address-body {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
}

.addr-address {
    margin-bottom: 20px;
    line-height: 1.6;
}

.address-body h2 {
    margin-bottom: 25px;
    font-size: 15px;
    font-weight: bold;
    color: #272727;
    text-transform: uppercase;
}

#addresses .customer-container>.customer-content {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}

body#addresses aside#notifications {
    width: 100%;
}

.add-address .material-icons:hover {
    box-shadow: 0px 7px 15px -1px #ccc;
}

.add-address .material-icons {
    font-size: 30px;
    background: #fff;
    border-radius: 100%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow .1s linear;
    box-shadow: 0px 3px 10px -3px #ccc;
}

body#addresses aside#notifications article.alert-warning {
    display: none;
}

.address-actions .edit-address {background: var(--main);color: #fff;}
.address-actions .delete-address {
    color: var(--error);
}
.address-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.address-actions .delete-address:hover,
.address-actions .delete-address:focus {
    background: #fff;
    color: #e75259;
}

table.table-totals {
    margin: 0 0 2.5rem auto;
    width: calc(50% - 15px);
    /* background: #f4f4f4; */
    /* border: 1px solid #dddddd; */
}

.col-address {
    padding: 15px;
    background: #fff;
    width: calc(50% - 15px);
    /* border-radius: 8px; */
    border: 1px solid #d2d2d2;
    text-align: left;
    overflow: hidden;
}

#table-totals td, #table-totals th {border: 0;}

.order-detail .addresses {
    display: flex;
    margin-top: 20px;
    justify-content: space-between;
}

table#order-products td {
    background: #fff;
}

table.table-totals tr:hover {
    background: none;
}

.border-radius-table {
    margin-top: 24px;
    border: 1px solid var(--border);
    /* border-radius: 8px; */
    overflow: hidden;
}

.border-radius-table table {
    margin: -1px !important;
    width: calc(100% + 2px);
    border-collapse: collapse;
    border-style: hidden;
}

.order-detail {
    padding: 0 !important;
    background: #f8f8f8 !important;
    /* border-color: #fff!important; */
}

.order-detail .border-radius-table {
    margin-top: 0;
}
.table-pedidos .inside-totals {
    padding: 0;
}

.table-pedidos th {
    font-size: 12px;
    font-weight: bold;
    background: #f1f1f1;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    padding-top: 16px !important;
}


.toggle-item {
    padding: 20px 25px;
}

td, th {
    border: 1px solid var(--border);
    text-align: center;
    padding: 12px 10px 10px;
    color: var(--dgray);
}

.toggle-order.active img {
    transform: rotate(45deg);
}

.toggle-order img {
    transition: .1s linear;
}

.table-pedidos .label-pill {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    display: block;
    margin: auto;
    cursor: default;
    font-size: 14px;
}

.td_reference a {
    font-size: 13px;
    color: var(--dgray);
}

.order-items {
    background: #f4f4f4;
    padding: 5px 0;
}

.order-items .col-sm-6 {
    padding-top: 5px;
    padding-bottom: 5px;
}

.scroll-table {
    padding: 0 1px;
    max-width: 100%;
    overflow-x: auto;
}

table {
    width: 100%;
}

table tr:hover {
    background: #f4f4f4;
}

.td_total,
.td_reference {
    font-weight: 600;
}

.td_reference,
.label-pill {
    font-weight: bold;
}

.sol-detail {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #dddddd;
    padding: 5px 0;
    font-size: .75rem;
}

.sol-reorder {
    text-align: right;
    padding: 15px 0;
    text-decoration: underline;
}

#order-infos,
#order-history h3,
#order-history .table-pedidos,
#order-products {
    margin-bottom: 1.5rem;
}

body:not(.authentication) #wrapper,
body:not(.password) #wrapper {
    background-image: linear-gradient(to bottom, #99999914, #ffffff 65%);
    max-width: unset;
    display: flex;
}

.address-title {
    display: block;
    margin-bottom: 5px;
}

.new-address .field-wrap {
    width: calc(50% - 7.5px);
}

.new-address {
    gap: 15px;
}

.new-address select {
    width: 100% !important;
}
.sol-redesign {
    float: right;
}

#order-detail .table-pedidos .label-pill {
    max-width: unset;
    display: inline-flex;
}

td.line_left {
    text-align: left;
}

td.line_right {
    text-align: right;
}

tr.line-totals td {
    border: 0;
    padding: 10px;
    font-weight: 800;
}

tr.line-total td {
    border-top: 1px solid #d2d2d2;
    padding: 8px 10px;
    text-transform: uppercase;
    font-weight: 800;
}

.trigger-copy {
    border: 0;
    background: none;
    padding: 0;
    cursor: pointer;
}

.trigger-copy img {
    pointer-events: none;
}

.wrap-voucher {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 15px 0;
}

.item-voucher {
    width: calc(33.33% - 14px);
    background: #f3faf8;
    border-radius: 15px;
    border: 1px solid var(--main);
    padding: 15px;
    color: var(--main);
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
    position: relative;
}

.code-id {
    font-size: 15px;
    font-weight: bold;
    line-height: 1.53;
    margin-right: 13px;
    color: var(--dgray);
}

.vouch-code {
    display: flex;
    align-items: center;
    z-index: 1;
}

.item-voucher:before {
    content: "%";
    line-height: 1;
    font-weight: bold;
    position: absolute;
    left: calc(100% + -80px);
    bottom: -20px;
    font-size: 100px;
    color: #def4ed;
    z-index: 0;
}

.vouch-name {
    width: 100%;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 8px;
    z-index: 1;
}

.customer-content table {
    margin-bottom: 0.5rem;
}


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

    .item-address {
        width: calc(50% - 15px);
    }

}

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

    .item-address {
        width: 100%;
    }

}

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

    .share-wl {
        width: 300px;
        max-width: 100%;
        padding: 0;
    }

    .share-wl a img {
        height: 14px;
    }

    .share-wl a {
        padding: 12px 21px;
    }

    .customer-container {
        flex-direction: column;
    }

    .customer-container>.customer-links {
        width: 100%;
        margin: 0 0 10px 0;
        display: none;
    }

    .page-my-account .customer-container>.customer-links {
        display: flex;
    }

    .customer-item {
        position: relative;
    }

    .customer-item .arrow {
        display: block;
        position: absolute;
        top: 21px;
        right: 10px;
        transform: rotate(180deg);
        transform-origin: center center;
        font-size: 28px;
        width: 28px;
        height: 28px;
    }

    .customer-item .icon-identity,
    .customer-back-mobile .icon-identity {
        background-image: url(/img/ico/customer/icono-perfil_active.svg);
    }

    .customer-item .icon-history,
    .customer-back-mobile .icon-history {
        background-image: url(/img/ico/customer/icono-expedicion_active.svg);
    }

    .customer-item .icon-address,
    .customer-back-mobile .icon-address {
        background-image: url(/img/ico/customer/icono-envio_active.svg);
    }

    .customer-item .icon-discounts,
    .customer-back-mobile .icon-discounts {
        background-image: url(/img/ico/customer/icono-cupon_active.svg);
    }

    .customer-item .icon-logout,
    .customer-back-mobile .icon-logout {
        background-image: url(/img/ico/customer/icono-logout.svg);
    }


    .customer-item .customer-icon,
    .customer-back-mobile .customer-icon {
        color: var(--main);
    }

    .customer-item .icon-order-slips,
    .customer-back-mobile .icon-order-slips {
        background-image: url(/img/ico/customer/icono-perfil_active.svg);
    }

    .customer-back-mobile {
        padding: 10px 5px;
        transition: background-color .1s linear;
        display: inline-flex;
        align-items: center;
    }

    .customer-back-mobile span {
        font-size: .75rem;
        font-weight: bold;
        color: var(--main);
    }

    .customer-back-mobile .icon-arrow-back {
        width: 19px;
        height: 11px;
        margin-right: 16px;
        background-image: url(/img/ico/icono-flecha-izq.svg);
    }

    .customer-content .welcome {
        display: none;
    }

    .customer-content h1 {
        display: none;
    }

    #customer-form .field-firstname,
    .page-identity .field-password {
        padding-right: 0;
    }

    #customer-form .field-firstname,
    #customer-form .field-lastname,
    .page-identity .field-wrap.field-password,
    .page-identity .field-wrap.field-new_password {
        width: 100%;
    }

    .page-identity .checkbox-label {
        justify-content: flex-start;
    }

    .page-identity #customer-form button.form-control-submit {
        width: 100%;
    }

    .scroll-table {
        margin-bottom: 15px;
    }

    .item-address {
        width: 100%;
        margin-right: 0;
    }

    .item-voucher {
        width: 100%;
    }


    .customer-container>.customer-content {
        width: 100%;
        margin: 65px 0 1.5rem;
        padding: 0;
    }

    .form-field-sol {
        margin-top: 35px;
    }

    .customer-container .btn {
        padding: .5rem .8rem;
    }
}

aside.customer-links a.col-lg-4.col-md-6.col-sm-6.col-xs-12 {
    display: none;
}