.elementor-widget-text-editor{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-size:var( --e-global-typography-text-font-size );font-weight:var( --e-global-typography-text-font-weight );}@media(max-width:1024px){.elementor-widget-text-editor{font-size:var( --e-global-typography-text-font-size );}}@media(max-width:767px){.elementor-widget-text-editor{font-size:var( --e-global-typography-text-font-size );}}/* Start custom CSS for text-editor, class: .elementor-element-428d8339 *//* REGISTRO */

/* Por defecto: login visible, registro oculto */
#customer_login > .u-column1 {
	display: block;
	width: 100%;
}

#customer_login > .lamberts-register-wrapper {
	display: none;
}

/* Cuando viene /mi-cuenta/?registro=cliente */
#customer_login.lamberts-register-active > .u-column1 {
	display: none !important;
}

#customer_login.lamberts-register-active > .lamberts-register-wrapper {
	display: block !important;
	width: 100%;
}

/* Bloque Preferencias de comunicación */
.lamberts-account-communication-preferences {
	margin-top: 28px !important;
	margin-bottom: 28px !important;
	padding-top: 24px !important;
	border-top: 1px solid #e1e8f5 !important;
}

.lamberts-account-communication-preferences h2 {
	color: #004FA2 !important;
	font-size: 18px !important;
	font-weight: 600 !important;
	margin: 0 0 16px !important;
	line-height: 1.3 !important;
}

.lamberts-account-checkbox {
	display: flex !important;
	align-items: center !important;
	gap: 12px !important;
	color: #4B4B4B !important;
	font-size: 15px !important;
	font-weight: 400 !important;
	line-height: 1.4 !important;
	cursor: pointer !important;
	margin: 0 !important;
}

.lamberts-account-checkbox input[type="checkbox"] {
	width: 20px !important;
	height: 20px !important;
	min-width: 20px !important;
	margin: 0 !important;
	accent-color: #004FA2 !important;
	cursor: pointer !important;
}

.lamberts-account-checkbox span {
	color: #4B4B4B !important;
}

/* ==========================================================
   DASHBOARD MI CUENTA LAMBERTS
========================================================== */

.woocommerce-MyAccount-content > p {
    display: none !important;
}

.lamberts-account-dashboard {
    display: none !important;
}

.lamberts-account-dashboard-v2 {
    display: block !important;
}

/* H1 global Mi Cuenta */

.woocommerce-account h1,
.woocommerce-account .woocommerce-MyAccount-content h1,
.lamberts-account-dashboard-v2 h1,
.lamberts-orders-page h1 {
    font-size: 24px !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;
    margin: 0 0 18px !important;
}

.lamberts-account-dashboard-v2 h2 {
    font-size: 16px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    margin: 0 0 28px !important;
}

/* Tarjetas superiores */

.lamberts-dashboard-cards {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 18px !important;
    align-items: stretch !important;
    margin-bottom: 26px !important;
}

.lamberts-dashboard-card {
    height: 252px !important;
    min-height: 252px !important;
    padding: 24px 22px !important;
    background: #fff !important;
    border: 1px solid #e7edf7 !important;
    border-radius: 6px !important;
    box-shadow: 0 8px 22px rgba(8,34,86,.035) !important;
    display: flex !important;
    flex-direction: column !important;
}

.lamberts-dashboard-card-header {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    min-height: 48px !important;
    margin-bottom: 24px !important;
}

.lamberts-card-icon {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    border-radius: 50% !important;
    background: #eef4ff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
}

.lamberts-card-icon svg,
.lamberts-ico svg,
.lamberts-orders-empty-icon svg,
.lamberts-empty-icon svg,
.lamberts-orders-button svg {
    width: 20px !important;
    height: 20px !important;
    color: #004FA2 !important;
    stroke: #004FA2 !important;
    stroke-width: 2 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    fill: none !important;
}

.lamberts-dashboard-card h3 {
    margin: 0 !important;
    color: #4B4B4B !important;
    font-size: 14px !important;
    line-height: 1.25 !important;
    font-weight: 600 !important;
}

.lamberts-dashboard-card-body {
    color: #4B4B4B !important;
    font-size: 13px !important;
    line-height: 1.55 !important;
}

.lamberts-dashboard-card p,
.lamberts-dashboard-card p strong,
.lamberts-dashboard-card strong,
.lamberts-dashboard-card small {
    color: #4B4B4B !important;
}

.lamberts-dashboard-card p {
    margin: 0 0 7px !important;
}

.lamberts-dashboard-card a {
    margin-top: auto !important;
    color: #004FA2 !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

.lamberts-dashboard-card em {
    display: inline-block !important;
    margin-top: 6px !important;
    padding: 4px 10px !important;
    border-radius: 999px !important;
    background: #dff4e8 !important;
    color: #27824d !important;
    font-size: 11px !important;
    font-style: normal !important;
    font-weight: 700 !important;
}

/* Bloque pedidos */

.lamberts-dashboard-orders {
    background: #fff !important;
    border: 1px solid #e7edf7 !important;
    border-radius: 6px !important;
    padding: 28px 34px !important;
    min-height: 385px !important;
    box-shadow: 0 8px 22px rgba(8,34,86,.035) !important;
}

.lamberts-orders-title {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 22px !important;
}

.lamberts-orders-title h3 {
    color: #4B4B4B  !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    margin: 0 !important;
}

.lamberts-orders-title a {
    color: #4B4B4B  !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

.lamberts-dashboard-order-row {
    display: grid !important;
    grid-template-columns: 82px 1fr 220px 24px !important;
    align-items: center !important;
    gap: 24px !important;
    padding: 16px 0 !important;
    border-bottom: 1px solid #edf1f7 !important;
    text-decoration: none !important;
}

.lamberts-dashboard-order-row:last-child {
    border-bottom: 0 !important;
}

.lamberts-order-img{
    width: 80px !important;
    display:flex;
    align-items:center;
    justify-content:center;
}

.lamberts-order-img img{
    max-width: 80px !important;
    max-height: 80px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}

.lamberts-order-info strong,
.lamberts-order-total strong {
    display: block !important;
    color: #4B4B4B  !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    margin-bottom: 4px !important;
}

.lamberts-order-info small,
.lamberts-order-total small {
    display: block !important;
    color: #4B4B4B !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
}

.lamberts-order-arrow {
    color: #4B4B4B !important;
    font-size: 28px !important;
    font-weight: 400 !important;
    text-align: right !important;
}

.lamberts-orders-button {
    text-align: center !important;
    margin-top: 22px !important;
}

.lamberts-orders-button a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    height: 42px !important;
    padding: 0 28px !important;
    background: #004FA2 !important;
    color: #fff !important;
    border-radius: 5px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

.lamberts-orders-button a svg {
    width: 16px !important;
    height: 16px !important;
    color: #fff !important;
    stroke: #fff !important;
}

/* Sin pedidos */

.lamberts-dashboard-empty {
    min-height: 280px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

.lamberts-orders-empty-icon,
.lamberts-empty-icon {
    width: 92px !important;
    height: 92px !important;
    border-radius: 50% !important;
    background: #eef4ff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 22px !important;
}

.lamberts-orders-empty-icon svg,
.lamberts-empty-icon svg {
    width: 44px !important;
    height: 44px !important;
}

.lamberts-dashboard-empty h4 {
    color: #061f5c !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    margin: 0 0 10px !important;
}

.lamberts-dashboard-empty p {
    max-width: 360px !important;
    color: #4B4B4B !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

/* Responsive */

@media (max-width: 1100px) {
    .lamberts-dashboard-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .lamberts-dashboard-card {
        height: 230px !important;
        min-height: 230px !important;
    }

    .lamberts-dashboard-order-row {
    display:grid !important;
    grid-template-columns: 100px 1fr 220px 24px !important;
    align-items:center !important;
    gap:24px !important;
    }
}

@media (max-width: 700px) {
    .lamberts-dashboard-cards {
        grid-template-columns: 1fr !important;
    }

    .lamberts-dashboard-card {
        height: auto !important;
        min-height: 220px !important;
    }

    .lamberts-dashboard-orders {
        padding: 24px 20px !important;
    }

    .lamberts-dashboard-order-row {
        grid-template-columns: 60px 1fr 20px !important;
    }

    .lamberts-order-total {
        grid-column: 2 / 3 !important;
    }
}
/* ==========================================================
   TARJETAS SUPERIORES
========================================================== */

.lamberts-dashboard-card h3{
    font-size:14px !important;
    color:#4B4B4B !important;
}

.lamberts-dashboard-card-body,
.lamberts-dashboard-card-body p,
.lamberts-dashboard-card-body strong{
    font-size:14px !important;
    line-height:1.55 !important;
    color:#4B4B4B !important;
}

.lamberts-dashboard-card a{
    font-size:14px !important;
    font-weight:700 !important;
    color:#004FA2 !important;
}


/* Enlaces de tarjetas siempre alineados abajo */

.lamberts-dashboard-card {
    display: flex !important;
    flex-direction: column !important;
}

.lamberts-dashboard-card-body {
    flex: 1 1 auto !important;
}

.lamberts-dashboard-card > a {
    margin-top: auto !important;
    align-self: flex-start !important;
}

.lamberts-dashboard-card {
    height: 270px !important;
    min-height: 270px !important;
}

/* FORMUALRIO REGISTRO/ACESSO */

.woocommerce .owp-account-links li.or {display:none !important;}
.woocommerce .owp-account-links li .owp-account-link {font-size: 25px !important;}

/* ============================= */
/* VIEW ORDER - ESTILO THANK YOU */
/* ============================= */


.lamberts-view-order-page.lamberts-thankyou-style {
    width: 100% !important;
}

.lamberts-thankyou-header {
    display: flex !important;
    align-items: center !important;
    gap: 18px !important;
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 22px !important;
    padding: 26px 28px !important;
    margin-bottom: 18px !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06) !important;
}

.lamberts-thankyou-icon {
    width: 64px !important;
    height: 64px !important;
    min-width: 64px !important;
    border-radius: 999px !important;
    background: #eef5ff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.lamberts-thankyou-header h1 {
    color: #4B4B4B !important;
    font-size: 30px !important;
    font-weight: 600 !important;
    line-height: 1.15 !important;
    margin: 0 0 6px !important;
}

.lamberts-thankyou-header p {
    color: #64748b !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    margin: 0 !important;
}

.lamberts-order-back {
    margin: 0 0 22px !important;
}

.lamberts-order-back a {
    color: #1557b7 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

.lamberts-order-back a:hover {
    text-decoration: underline !important;
}

.lamberts-thankyou-summary {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 14px !important;
    margin-bottom: 30px !important;
}

.lamberts-thankyou-summary-item {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 18px !important;
    padding: 18px !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05) !important;
}

.lamberts-thankyou-summary-item span {
    display: block !important;
    color: #64748b !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    margin-bottom: 7px !important;
}

.lamberts-thankyou-summary-item strong {
    display: block !important;
    color: #4B4B4B !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
}

.lamberts-thankyou-section {
    margin-bottom: 30px !important;
}

.lamberts-thankyou-section h2 {
    color: #4B4B4B !important;
    font-size: 22px !important;
    font-weight: 600 !important;
    margin: 0 0 14px !important;
}

.lamberts-thankyou-card {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 22px !important;
    overflow: hidden !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06) !important;
}

.lamberts-thankyou-table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 0 !important;
    background: #ffffff !important;
}

.lamberts-thankyou-table thead th {
    background: #f8fafc !important;
    color: #4B4B4B !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-align: left !important;
    padding: 16px 18px !important;
    border-bottom: 1px solid #e5e7eb !important;
}

.lamberts-thankyou-table tbody td,
.lamberts-thankyou-table tfoot th,
.lamberts-thankyou-table tfoot td {
    color: #334155 !important;
    font-size: 14px !important;
    padding: 16px 18px !important;
    border-bottom: 1px solid #edf0f4 !important;
    vertical-align: middle !important;
}

.lamberts-thankyou-table tbody tr:last-child td {
    border-bottom: 1px solid #e5e7eb !important;
}

.lamberts-thankyou-table tfoot th {
    color: #4B4B4B !important;
    font-weight: 600 !important;
    text-align: right !important;
    background: #ffffff !important;
}

.lamberts-thankyou-table tfoot td {
    color: #4B4B4B !important;
    font-weight: 600 !important;
    background: #ffffff !important;
}

.lamberts-thankyou-table tfoot tr:last-child th,
.lamberts-thankyou-table tfoot tr:last-child td {
    border-bottom: none !important;
    background: #f8fafc !important;
}

.lamberts-order-product {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
}

.lamberts-order-product-image {
    width: 72px !important;
    height: 72px !important;
    min-width: 72px !important;
    border-radius: 14px !important;
    background: #f8fafc !important;
    border: 1px solid #e5e7eb !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.lamberts-order-product-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    display: block !important;
}

.lamberts-order-product-info {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
}

.lamberts-order-product-info strong {
    color: #4B4B4B !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
}

.lamberts-order-product-info small {
    color: #64748b !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
}

.lamberts-thankyou-address-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 22px !important;
}

.lamberts-thankyou-address-card {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 22px !important;
    padding: 24px !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06) !important;
}

.lamberts-thankyou-address-card h3 {
    color: #4B4B4B !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    margin: 0 0 14px !important;
}

.lamberts-thankyou-address-card address {
    color: #334155 !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
    font-style: normal !important;
    margin: 0 !important;
}

/* Responsive */
@media (max-width: 1100px) {
    .lamberts-thankyou-summary {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 768px) {
    .lamberts-thankyou-header {
        align-items: flex-start !important;
        padding: 22px !important;
    }

    .lamberts-thankyou-header h1 {
        font-size: 25px !important;
    }

    .lamberts-thankyou-summary {
        grid-template-columns: 1fr !important;
    }

    .lamberts-thankyou-address-grid {
        grid-template-columns: 1fr !important;
    }

    .lamberts-thankyou-table thead {
        display: none !important;
    }

    .lamberts-thankyou-table,
    .lamberts-thankyou-table tbody,
    .lamberts-thankyou-table tr,
    .lamberts-thankyou-table td {
        display: block !important;
        width: 100% !important;
    }

    .lamberts-thankyou-table tbody tr {
        padding: 16px !important;
        border-bottom: 1px solid #e5e7eb !important;
    }

    .lamberts-thankyou-table tbody td {
        border-bottom: none !important;
        padding: 6px 0 !important;
    }

    .lamberts-thankyou-table tbody td::before {
        content: attr(data-title) ": " !important;
        display: block !important;
        color: #64748b !important;
        font-size: 12px !important;
        font-weight: 700 !important;
        margin-bottom: 4px !important;
    }

    .lamberts-thankyou-table tfoot th,
    .lamberts-thankyou-table tfoot td {
        display: block !important;
        width: 100% !important;
        text-align: left !important;
        padding: 8px 16px !important;
    }

    .lamberts-thankyou-table tfoot th {
        padding-top: 14px !important;
        border-bottom: none !important;
    }

    .lamberts-thankyou-table tfoot td {
        padding-bottom: 14px !important;
    }

    .lamberts-order-product {
        align-items: flex-start !important;
    }

    .lamberts-order-product-image {
        width: 64px !important;
        height: 64px !important;
        min-width: 64px !important;
    }
}
/* Botones métodos de pago */
.woocommerce-MyAccount-content .button,
.woocommerce-MyAccount-content a.button,
.woocommerce-MyAccount-content button.button,
.woocommerce-MyAccount-content input.button {
    background: #004FA2 !important;
    color: #ffffff !important;
    border: 1px solid #004FA2 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

/* Hover/focus sin efecto */
.woocommerce-MyAccount-content .button:hover,
.woocommerce-MyAccount-content a.button:hover,
.woocommerce-MyAccount-content button.button:hover,
.woocommerce-MyAccount-content input.button:hover,
.woocommerce-MyAccount-content .button:focus,
.woocommerce-MyAccount-content a.button:focus,
.woocommerce-MyAccount-content button.button:focus,
.woocommerce-MyAccount-content input.button:focus {
    background: #004FA2 !important;
    color: #ffffff !important;
    border-color: #004FA2 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    text-decoration: none !important;
    box-shadow: none !important;
    transform: none !important;
    opacity: 1 !important;
}

/* fin metodo de pago*/

/* =========================================
   LOGIN LAMBERTS
========================================= */

#customer_login .u-column1 {
    max-width: 480px !important;
    margin: 60px auto !important;
    padding: 42px 48px !important;
    background: #fff !important;
    border-radius: 14px !important;
    box-shadow: 0 18px 55px rgba(21, 87, 183, 0.14) !important;
}

#customer_login .u-column1 h2 {
    text-align: center !important;
    color: #00439c !important;
    font-size: 28px !important;
    font-weight: 800 !important;
    margin: 0 0 8px !important;
}

#customer_login .u-column1 > p {
    text-align: center !important;
    color: #52627f !important;
    font-size: 14px !important;
    margin: 0 0 32px !important;
}

/* Form */
.woocommerce-form-login {
    margin: 0 !important;
}

.woocommerce-form-login .form-row {
    margin: 0 0 22px !important;
    padding: 0 !important;
}

.woocommerce-form-login label {
    display: block !important;
    margin-bottom: 9px !important;
    color: #00439c !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}

/* Inputs */
.woocommerce-form-login input.input-text {
    width: 100% !important;
    height: 48px !important;
    border: 1px solid #d0d9e8 !important;
    border-radius: 6px !important;
    padding: 0 44px 0 48px !important;
    background: #fff !important;
    color: #00439c !important;
    font-size: 14px !important;
    box-shadow: none !important;
}

.woocommerce-form-login input.input-text::placeholder {
    color: #8a9abb !important;
}

.woocommerce-form-login input.input-text:focus,
.woocommerce-form-login input.input-text:focus-visible {
    border-color: #0057d9 !important;
    box-shadow: 0 0 0 1px #0057d9 !important;
    outline: none !important;
}

/* Iconos izquierda */
.woocommerce-form-login p.form-row {
    position: relative !important;
}

.woocommerce-form-login p.form-row::before {
    position: absolute !important;
    left: 16px !important;
    top: 42px !important;
    z-index: 2 !important;
    color: #6d7fa3 !important;
    font-size: 15px !important;
}

.woocommerce-form-login p.form-row:has(#username)::before {
    content: "✉";
}

.woocommerce-form-login p.form-row:has(#password)::before {
    content: "🔒";
    font-size: 13px !important;
}

/* Ojo contraseña */
.woocommerce-form-login .password-input {
    display: block !important;
    position: relative !important;
    width: 100% !important;
}

.woocommerce-form-login .password-input input {
    padding-left: 48px !important;
    padding-right: 48px !important;
}

.woocommerce-form-login .show-password-input {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    width: 48px !important;
    height: 48px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    transform: none !important;
}

.woocommerce-form-login .show-password-input::after {
    position: absolute !important;
    top: 50% !important;
    right: 16px !important;
    left: auto !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    color: #6d7fa3 !important;
}

/* Recordarme + contraseña olvidada */
.lamberts-login-actions {
    display: grid !important;
    grid-template-columns: auto 1fr !important;
    align-items: center !important;
    column-gap: 12px !important;
    width: 100% !important;
    margin: 6px 0 26px !important;
}

.lamberts-login-actions .woocommerce-form-login__rememberme {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #52627f !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

.lamberts-login-actions .woocommerce-form-login__rememberme input {
    width: 16px !important;
    height: 16px !important;
    margin: 0 !important;
    position: static !important;
    accent-color: #0057d9 !important;
}

.lamberts-login-actions .lost_password {
    margin: 0 !important;
    padding: 0 !important;
    text-align: right !important;
    font-size: 13px !important;
}

.lamberts-login-actions .lost_password a {
    color: #0057d9 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

.lamberts-login-actions .lost_password a:hover {
    text-decoration: underline !important;
}

/* Botón */
.lamberts-login-submit {
    margin: 0 !important;
    padding: 0 !important;
}

.lamberts-login-submit br,
.lamberts-login-submit p {
    display: none !important;
}

.woocommerce-form-login__submit {
    width: 100% !important;
    height: 52px !important;
    margin: 0 !important;
    border-radius: 6px !important;
    border: 0 !important;
    background: linear-gradient(180deg, #005eea 0%, #0047b8 100%) !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    letter-spacing: .5px !important;
    text-transform: uppercase !important;
}

.woocommerce-form-login__submit:hover {
    background: linear-gradient(180deg, #004ec6 0%, #003b9a 100%) !important;
}

/* Separador */
/* Separador */
.lamberts-register-bottom {
    position: relative !important;
    margin-top: 34px !important;
    padding-top: 26px !important;
    text-align: center !important;
    font-size: 13px !important;
    color: #52627f !important;
}

.lamberts-register-bottom::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 1px !important;
    background: #e4ebf5 !important;
}

.lamberts-register-bottom::after {
    content: "o" !important;
    position: absolute !important;
    top: -10px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background: #fff !important;
    padding: 0 14px !important;
    color: #7a8494 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
}

/* Texto */
.lamberts-register-bottom span {
    display: block !important;
    margin-bottom: 12px !important;
    color: #7a8494 !important;
}

/* Enlaces */
.lamberts-register-bottom a {
    display: inline-block !important;
    color: #0057d9 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

/* Separación entre los dos enlaces */
.lamberts-show-register {
    margin-right: 30px !important;
}

.lamberts-reg-profesional {
    margin-left: 0 !important;
}

.lamberts-register-bottom a:hover {
    text-decoration: underline !important;
}

/* Ocultar registro hasta abrirlo */
#customer_login .u-column2 {
    display: none;
}

.owp-account-links {
    display: none !important;
}

/* Responsive */
@media (max-width: 600px) {
    #customer_login .u-column1 {
        max-width: calc(100% - 32px) !important;
        margin: 32px auto !important;
        padding: 32px 22px !important;
    }

    #customer_login .u-column1 h2 {
        font-size: 26px !important;
    }

    .lamberts-login-actions {
        grid-template-columns: 1fr !important;
        row-gap: 12px !important;
    }

    .lamberts-login-actions .lost_password {
        text-align: left !important;
    }
}


/* FORMUALRIO REGISTRO/ACESSO */

/* Ocultar textos legales automáticos de WooCommerce si usas el bloque lateral */
.woocommerce-form-register .woocommerce-privacy-policy-text {
	display: none !important;
}

/* Caja general */
.lamberts-register-wrapper {
	width: 100% !important;
	max-width: 1120px;
	margin: 40px auto;
}

.lamberts-register-card {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 36px;
	background: #fff;
	border-radius: 16px;
	padding: 56px 62px;
	box-shadow: 0 18px 55px rgba(21, 87, 183, 0.12);
}

/* Columna izquierda */
.lamberts-register-left {
	padding-right: 36px;
	border-right: 1px solid #dfe7f4;
}

.lamberts-register-left h2 {
	margin: 0 0 34px;
	color: #00439c;
	font-size: 34px;
	font-weight: 800;
	line-height: 1.1;
}

/* Grid campos */
.lamberts-register-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}

.woocommerce-form-register .form-row {
	margin: 0 0 26px !important;
	padding: 0 !important;
}

.woocommerce-form-register label {
	display: block;
	margin-bottom: 9px;
	color: #00439c;
	font-size: 14px;
	font-weight: 700;
}

/* Inputs */
.lamberts-input-icon {
	position: relative;
	display: block;
}

.lamberts-input-icon input,
.woocommerce-form-register input[type="email"],
.woocommerce-form-register input[type="text"],
.woocommerce-form-register input[type="password"] {
	width: 100% !important;
	height: 48px !important;
	border: 1px solid #d0d9e8 !important;
	border-radius: 6px !important;
	padding: 0 44px 0 48px !important;
	background: #fff !important;
	color: #00439c !important;
	font-size: 14px !important;
	box-shadow: none !important;
}

.woocommerce-form-register input::placeholder {
	color: #8a9abb !important;
}

.woocommerce-form-register input:focus,
.woocommerce-form-register input:focus-visible {
	border-color: #0057d9 !important;
	box-shadow: 0 0 0 1px #0057d9 !important;
	outline: none !important;
	color: #0057d9 !important;
}

/* Iconos izquierda */
.lamberts-input-icon::before {
	position: absolute;
	left: 16px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 16px;
	color: #6d7fa3;
	z-index: 2;
}

.lamberts-icon-user::before {
	content: "♙";
}

.lamberts-icon-email::before {
	content: "✉";
}

.lamberts-icon-lock::before {
	content: "🔒";
	font-size: 14px;
}

/* Ojo contraseña a la derecha */
.woocommerce-form-register .password-input {
	display: block !important;
	position: relative !important;
	width: 100% !important;
}

.woocommerce-form-register .password-input input {
	padding-left: 48px !important;
	padding-right: 48px !important;
}

.woocommerce-form-register .show-password-input {
	position: absolute !important;
	top: 0 !important;
	right: 0 !important;
	left: auto !important;
	width: 48px !important;
	height: 48px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	transform: none !important;
}

.woocommerce-form-register .show-password-input::after {
	position: absolute !important;
	top: 50% !important;
	right: 16px !important;
	left: auto !important;
	transform: translateY(-50%) !important;
	margin: 0 !important;
	color: #6d7fa3 !important;
}

/* Checkboxes */
.lamberts-check-row {
	display: flex;
	align-items: flex-start;
	gap: 11px;
	margin: 0 0 14px !important;
	color: #52627f;
	font-size: 14px;
	line-height: 1.5;
}

.lamberts-check-row input {
	width: 16px !important;
	height: 16px !important;
	margin-top: 3px !important;
	accent-color: #0057d9;
}

.lamberts-check-row label {
	margin: 0 !important;
	color: #52627f;
	font-size: 14px;
	font-weight: 400;
}

.lamberts-check-row a,
.lamberts-login-link a,
.lamberts-privacy-box a {
	color: #0057d9;
	font-weight: 700;
	text-decoration: none;
}

.lamberts-check-row a:hover,
.lamberts-login-link a:hover,
.lamberts-privacy-box a:hover {
	text-decoration: underline;
}

/* Botón */
.lamberts-register-submit {
	margin-top: 30px !important;
}

.lamberts-register-submit button {
	width: 100% !important;
	height: 52px !important;
	border-radius: 6px !important;
	background: linear-gradient(180deg, #005eea 0%, #0047b8 100%) !important;
	color: #fff !important;
	font-size: 15px !important;
	font-weight: 800 !important;
	letter-spacing: .5px;
	border: none !important;
	text-transform: uppercase;
}

.lamberts-register-submit button:hover {
	background: linear-gradient(180deg, #004ec6 0%, #003b9a 100%) !important;
}

/* Link login */
.lamberts-login-link {
	margin-top: 34px;
	text-align: center;
	color: #52627f;
	font-size: 14px;
}

/* Columna derecha */
.lamberts-register-right {
	display: flex;
	align-items: stretch;
}

.lamberts-privacy-box {
	width: 100%;
	padding: 52px 28px;
	border-radius: 8px;
	background: linear-gradient(180deg, #eef6ff 0%, #f7fbff 100%);
	text-align: center;
}

.lamberts-shield {
	width: 82px;
	height: 82px;
	margin: 0 auto 28px;
	border-radius: 50%;
	background: #dcecff;
	color: #0057d9;
	font-size: 38px;
	font-weight: 800;
	display: flex;
	align-items: center;
	justify-content: center;
}

.lamberts-privacy-box h3 {
	margin: 0 0 22px;
	color: #00439c;
	font-size: 18px;
	font-weight: 800;
}

.lamberts-privacy-box p {
	margin: 0 0 15px;
	color: #40516f;
	font-size: 14px;
	line-height: 1.8;
	text-align: left;
}

/* Responsive */
@media (max-width: 900px) {

    .lamberts-register-wrapper {
        margin: 24px auto !important;
        padding: 0 16px !important;
    }

    .lamberts-register-card {
        display: block !important;
        max-width: 430px !important;
        margin: 0 auto !important;
        padding: 32px 22px !important;
        border-radius: 14px !important;
    }

    .lamberts-register-left {
        padding-right: 0 !important;
        border-right: 0 !important;
    }

    .lamberts-register-left h2 {
        text-align: center !important;
        font-size: 28px !important;
        margin-bottom: 10px !important;
    }

    .lamberts-register-grid {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }

    .woocommerce-form-register .form-row {
        margin-bottom: 18px !important;
    }

    .lamberts-register-right {
        display: block !important;
        margin: 20px 0 22px !important;
    }

    .lamberts-privacy-box {
        padding: 20px 18px !important;
        border-radius: 8px !important;
        display: grid !important;
        grid-template-columns: 56px 1fr !important;
        column-gap: 14px !important;
        text-align: left !important;
        align-items: center !important;
    }

    .lamberts-shield {
        width: 48px !important;
        height: 48px !important;
        margin: 0 !important;
        font-size: 24px !important;
        grid-row: 1 / span 4 !important;
    }

    .lamberts-privacy-box h3 {
        font-size: 14px !important;
        margin: 0 0 6px !important;
    }

    .lamberts-privacy-box p {
        font-size: 11px !important;
        line-height: 1.5 !important;
        margin: 0 0 4px !important;
    }

    .lamberts-register-submit {
        margin-top: 20px !important;
    }

    .lamberts-login-link {
        margin-top: 24px !important;
        padding-top: 18px !important;
        border-top: 1px solid #e4ebf5 !important;
    }
}


/* =========================================
   INDICADOR DE FORTALEZA DE CONTRASEÑA
========================================= */


/* Caja del indicador */
.woocommerce-form-register .woocommerce-password-strength {
    margin-top: 8px !important;
    margin-bottom: 4px !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}

/* Ocultar la explicación larga 
.woocommerce-form-register .woocommerce-password-hint {
    display: none !important;}*/

.woocommerce-password-hint {
	display: block !important;
	margin-top: 6px;
	font-size: 13px;
	line-height: 1.4;
}



/* Muy débil */
.woocommerce-form-register .woocommerce-password-strength.short {
    color: #dc3545 !important; /* rojo */
}

/* Débil */
.woocommerce-form-register .woocommerce-password-strength.bad {
    color: #fd7e14 !important; /* naranja */
}

/* Media */
.woocommerce-form-register .woocommerce-password-strength.good {
    color: #0d6efd !important; /* azul */
}

/* Fuerte */
.woocommerce-form-register .woocommerce-password-strength.strong {
    color: #198754 !important; /* verde */
}

/* Registro - fijar candado del primer campo contraseña */
.lamberts-register-wrapper #reg_password {
	padding-left: 44px;
}

.lamberts-register-wrapper label[for="reg_password"] + .lamberts-icon-lock {
	position: relative;
	display: block;
}

.lamberts-register-wrapper label[for="reg_password"] + .lamberts-icon-lock::before {
	position: absolute;
	left: 16px;
	top: 10px;
	transform: none;
	z-index: 2;
	pointer-events: none;
}

/* Avisos WooCommerce */
.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
    max-width: 1120px !important;
    margin: 24px auto 28px !important;
    padding: 16px 22px 16px 52px !important;
    border-radius: 10px !important;
    border: 1px solid #d9e6fb !important;
    background: #f4f8ff !important;
    color: #00439c !important;
    box-shadow: 0 8px 24px rgba(21, 87, 183, 0.08) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}

/* Error */
.woocommerce-error {
    background: #fff5f5 !important;
    border-color: #ffd1d1 !important;
    color: #b42318 !important;
}

/* Quitar diseño rojo agresivo */
.woocommerce-error::before {
    color: #b42318 !important;
}

/* Quitar puntos feos */
.woocommerce-error li {
    list-style: none !important;
    margin: 0 !important;
}


/* HASTA AQUI FORMULARIO DE REGISTRO */



/* =========================================
   MI CUENTA - LAYOUT GENERAL
========================================= */

.woocommerce-account.logged-in .woocommerce {
    display: grid !important;
    grid-template-columns: 270px minmax(0, 1fr) !important;
    gap: 34px !important;
    align-items: flex-start !important;
    max-width: 1240px !important;
    margin: 0 auto !important;
}

.woocommerce-account.logged-in .woocommerce-MyAccount-navigation {
    grid-column: 1 !important;
    width: 270px !important;
    max-width: 270px !important;
    float: none !important;
}

.woocommerce-account.logged-in .woocommerce-MyAccount-content {
    grid-column: 2 !important;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    clear: none !important;
}

.woocommerce-account.logged-in .lamberts-account-layout {
    display: contents !important;
}

.woocommerce-account .lamberts-account-sidebar {
    width: 270px !important;
}


/* =========================================
   LAMBERTS - MIS PEDIDOS
========================================= */

.lamberts-orders-page {
    width: 100%;
}

.lamberts-orders-page h1 {
    color: #061d55;
    font-size: 30px;
    font-weight: 800;
    margin: 0 0 26px;
}

.lamberts-orders-table-wrap {
    background: #fff;
    border: 1px solid #e7edf7;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(8, 34, 86, .05);
    overflow: hidden;
}

.lamberts-orders-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.lamberts-orders-table th {
    padding: 22px 30px;
    color: #10265f;
    font-size: 15px;
    font-weight: 700;
    text-align: left;
    border-bottom: 1px solid #edf1f7;
}

.lamberts-orders-table td {
    padding: 30px;
    color: #10265f;
    font-size: 15px;
    font-weight: 500;
    vertical-align: top;
    border-bottom: 1px solid #edf1f7;
}

.lamberts-orders-table tr:last-child td {
    border-bottom: 0;
}

.lamberts-order-number {
    color: #0056d6 !important;
    font-size: 18px;
    font-weight: 800;
    text-decoration: none !important;
}

.lamberts-order-total {
    font-weight: 700;
}

.lamberts-order-actions {
    min-width: 210px;
}

.lamberts-order-action {
    display: block;
    position: relative;
    padding-left: 30px;
    margin-bottom: 14px;
    color: #0056d6 !important;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none !important;
    line-height: 1.2;
}

.lamberts-order-action:last-child {
    margin-bottom: 0;
}

.lamberts-order-action.view::before {
    content: "👁";
    position: absolute;
    left: 0;
    top: -1px;
}

.lamberts-order-action.again::before {
    content: "↻";
    position: absolute;
    left: 2px;
    top: -2px;
    font-size: 18px;
    font-weight: 800;
}

.lamberts-order-action:hover {
    color: #003f9e !important;
}


/* Sin pedidos */

.lamberts-no-orders {
    min-height: 480px;
    background: #fff;
    border: 1px solid #e7edf7;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(8, 34, 86, .05);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 30px;
}

.lamberts-no-orders-icon {
    width: 118px;
    height: 118px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: #edf3ff;
    color: #0056d6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 54px;
}

.lamberts-no-orders h2 {
    color: #061d55;
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 12px;
}

.lamberts-no-orders p {
    color: #66739b;
    font-size: 15px;
    margin: 0 0 24px;
}

.lamberts-no-orders a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 24px;
    background: #0056d6;
    color: #fff !important;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none !important;
}


/* Responsive */

@media (max-width: 900px) {
    .woocommerce-account.logged-in .woocommerce {
        display: block !important;
    }

    .woocommerce-account.logged-in .woocommerce-MyAccount-navigation,
    .woocommerce-account.logged-in .woocommerce-MyAccount-content,
    .woocommerce-account .lamberts-account-sidebar {
        width: 100% !important;
        max-width: 100% !important;
    }
}

@media (max-width: 768px) {
    .lamberts-orders-table thead {
        display: none;
    }

    .lamberts-orders-table,
    .lamberts-orders-table tbody,
    .lamberts-orders-table tr,
    .lamberts-orders-table td {
        display: block;
        width: 100%;
    }

    .lamberts-orders-table tr {
        border-bottom: 1px solid #edf1f7;
        padding: 18px 0;
    }

    .lamberts-orders-table td {
        border-bottom: 0;
        padding: 8px 22px;
    }

    .lamberts-orders-table td::before {
        content: attr(data-title);
        display: block;
        color: #66739b;
        font-size: 12px;
        font-weight: 700;
        margin-bottom: 4px;
    }

    .lamberts-order-actions {
        min-width: 0;
        padding-top: 14px !important;
    }
}
/* PEDIDOS - SIN PEDIDOS */

.lamberts-orders-card-empty {
    margin-bottom: 28px;
}

.lamberts-orders-table-empty {
    margin-bottom: 0;
}

.lamberts-orders-empty {
    min-height: 500px;
    background: #fff;
    border: 1px solid #e7edf7;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(8, 34, 86, .05);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 70px 30px;
}

.lamberts-orders-empty-icon {
    width: 118px;
    height: 118px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: #edf3ff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lamberts-orders-empty h2 {
    color: #061d55;
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 14px;
}

.lamberts-orders-empty p {
    color: #506080;
    font-size: 15px;
    margin: 0 0 26px;
}


.lamberts-card-icon{
    width:48px;
    height:48px;
    border-radius:50%;
    background:#eef4ff;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:18px;
}

.lamberts-card-icon svg{
    width:20px;
    height:20px;
    color: #004FA2 !important;
    stroke:#0056d6;
}

/* ===== ICONOS SVG BARRA LATERAL ===== */

.lamberts-ico {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.lamberts-ico svg {
    width: 20px;
    height: 20px;
    color: #004FA2 !important;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Iconos activos y hover */

.lamberts-account-link:hover .lamberts-ico svg,
.lamberts-account-link.is-active .lamberts-ico svg {
    color: #0052d9;
}

/* Alinear correctamente el contador de favoritos */

.lamberts-account-link small {
    margin-left: auto;
    white-space: nowrap;
}

/* Transición suave */

.lamberts-account-link {
    transition: background .2s ease, color .2s ease;
}



/* Logout */

.lamberts-logout .lamberts-ico svg {
    width: 18px;
    height: 18px;
}

/* Responsive */

@media (max-width: 900px) {

    .lamberts-account-link {
        min-height: 52px;
    }

    .lamberts-account-link small {
        font-size: 12px;
    }

}

/* ==========================================================
   COLOR CORPORATIVO ÁREA PRIVADA
========================================================== */

.lamberts-account-link,
.lamberts-account-link:hover,
.lamberts-account-link.is-active,
.lamberts-account-link a,
.lamberts-dashboard-card a,
.lamberts-orders-title a,
.lamberts-order-number,
.lamberts-order-action,
.lamberts-order-action:hover,
.lamberts-orders-button a,
.lamberts-no-orders a {
    color: #004FA2 !important;
}

/* Botones azules */

.lamberts-orders-button a,
.lamberts-no-orders a {
    background: #004FA2 !important;
    color: #fff !important;
}

/* Iconos */

.lamberts-card-icon svg,
.lamberts-ico svg,
.lamberts-orders-empty-icon svg,
.lamberts-empty-icon svg {
    stroke: #004FA2 !important;
    color: #004FA2 !important;
}

/* Títulos de las cajas laterales */

.lamberts-account-title {
    color: #004FA2 !important;
}

/* =========================================================
   LAMBERTS - ADDRESS BOOK PLUGIN
   Direcciones guardadas - diseño Mi Cuenta
========================================================= */

.woocommerce-account .woocommerce-MyAccount-content {
    color: #4B4B4B !important;
}

/* Página de direcciones: ancho limpio */
.woocommerce-account .woocommerce-MyAccount-content {
    overflow: visible !important;
}

/* Títulos principales del plugin */
.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3 {
    color: #4B4B4B !important;
    font-size: 18px !important;
    line-height: 1.3 !important;
    font-weight: 600 !important;
    margin: 34px 0 18px !important;
}

/* Enlaces tipo Add new */
.woocommerce-account .woocommerce-MyAccount-content h2 a,
.woocommerce-account .woocommerce-MyAccount-content h3 a,
.woocommerce-account .woocommerce-MyAccount-content a[href*="add"],
.woocommerce-account .woocommerce-MyAccount-content a[href*="new"] {
    color: #004FA2 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
}

/* Contenedores del plugin */
.woocommerce-account .woocommerce-MyAccount-content .address-book,
.woocommerce-account .woocommerce-MyAccount-content .wc-address-book,
.woocommerce-account .woocommerce-MyAccount-content .thwma-addresses,
.woocommerce-account .woocommerce-MyAccount-content .thwma-address-wrapper,
.woocommerce-account .woocommerce-MyAccount-content .thwma-address-list,
.woocommerce-account .woocommerce-MyAccount-content .multiple-addresses,
.woocommerce-account .woocommerce-MyAccount-content .saved-addresses {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
    margin: 0 0 46px !important;
    padding: 0 !important;
}

/* Tarjetas reales de dirección */
.woocommerce-account .woocommerce-MyAccount-content .address-book > *,
.woocommerce-account .woocommerce-MyAccount-content .wc-address-book > *,
.woocommerce-account .woocommerce-MyAccount-content .thwma-addresses > *,
.woocommerce-account .woocommerce-MyAccount-content .thwma-address-wrapper > *,
.woocommerce-account .woocommerce-MyAccount-content .thwma-address-list > *,
.woocommerce-account .woocommerce-MyAccount-content .multiple-addresses > *,
.woocommerce-account .woocommerce-MyAccount-content .saved-addresses > * {
    width: auto !important;
    max-width: none !important;
    min-height: 190px !important;
    background: #ffffff !important;
    border: 1px solid #e7edf7 !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 24px rgba(8, 34, 86, 0.05) !important;
    padding: 26px 28px !important;
    margin: 0 !important;
    color: #4B4B4B !important;
}

 .h3.saw-billing, h3.saw-shipping { padding-top: 0px !important;}
 
 .woocommerce-account .woocommerce-MyAccount-content h2, .woocommerce-account .woocommerce-MyAccount-content h3 {margin-top:5px!important;}

/* Si el plugin usa article/div sueltos */
.woocommerce-account .woocommerce-MyAccount-content div[class*="address"]:not(.woocommerce-address-fields):not(.woocommerce-address-fields__field-wrapper):not(.address-field),
.woocommerce-account .woocommerce-MyAccount-content li[class*="address"] {
    box-sizing: border-box !important;
}

/* Quitar la franja gris superior del plugin */
.woocommerce-account .woocommerce-MyAccount-content .address-book > *::before,
.woocommerce-account .woocommerce-MyAccount-content .wc-address-book > *::before,
.woocommerce-account .woocommerce-MyAccount-content .thwma-addresses > *::before,
.woocommerce-account .woocommerce-MyAccount-content .thwma-address-wrapper > *::before,
.woocommerce-account .woocommerce-MyAccount-content .thwma-address-list > *::before,
.woocommerce-account .woocommerce-MyAccount-content .multiple-addresses > *::before,
.woocommerce-account .woocommerce-MyAccount-content .saved-addresses > *::before {
    display: none !important;
    content: none !important;
}

/* Si la franja gris es un div interno vacío */
.woocommerce-account .woocommerce-MyAccount-content .address-book > * > div:first-child:empty,
.woocommerce-account .woocommerce-MyAccount-content .wc-address-book > * > div:first-child:empty,
.woocommerce-account .woocommerce-MyAccount-content .thwma-addresses > * > div:first-child:empty,
.woocommerce-account .woocommerce-MyAccount-content .thwma-address-wrapper > * > div:first-child:empty,
.woocommerce-account .woocommerce-MyAccount-content .thwma-address-list > * > div:first-child:empty {
    display: none !important;
}

/* Texto de dirección */
.woocommerce-account .woocommerce-MyAccount-content address,
.woocommerce-account .woocommerce-MyAccount-content .address-book address,
.woocommerce-account .woocommerce-MyAccount-content .wc-address-book address,
.woocommerce-account .woocommerce-MyAccount-content .thwma-addresses address,
.woocommerce-account .woocommerce-MyAccount-content .thwma-address-wrapper address,
.woocommerce-account .woocommerce-MyAccount-content .thwma-address-list address {
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 0 18px !important;
    color: #4B4B4B !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
    font-style: normal !important;
    box-shadow: none !important;
}

/* Nombre / primera línea */
.woocommerce-account .woocommerce-MyAccount-content address strong,
.woocommerce-account .woocommerce-MyAccount-content .address-book strong,
.woocommerce-account .woocommerce-MyAccount-content .wc-address-book strong,
.woocommerce-account .woocommerce-MyAccount-content .thwma-addresses strong,
.woocommerce-account .woocommerce-MyAccount-content .thwma-address-wrapper strong,
.woocommerce-account .woocommerce-MyAccount-content .thwma-address-list strong {
    color: #061d55 !important;
    font-weight: 600 !important;
}

/* Acciones Edit | Delete | Default */
.woocommerce-account .woocommerce-MyAccount-content .address-book a,
.woocommerce-account .woocommerce-MyAccount-content .wc-address-book a,
.woocommerce-account .woocommerce-MyAccount-content .thwma-addresses a,
.woocommerce-account .woocommerce-MyAccount-content .thwma-address-wrapper a,
.woocommerce-account .woocommerce-MyAccount-content .thwma-address-list a,
.woocommerce-account .woocommerce-MyAccount-content .multiple-addresses a,
.woocommerce-account .woocommerce-MyAccount-content .saved-addresses a {
    color: #004FA2 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
}

/* Default en verde */
.woocommerce-account .woocommerce-MyAccount-content a.default,
.woocommerce-account .woocommerce-MyAccount-content a[href*="default"],
.woocommerce-account .woocommerce-MyAccount-content .default {
    color: #00a651 !important;
    font-weight: 700 !important;
}

/* Botones */
.woocommerce-account .woocommerce-MyAccount-content .button,
.woocommerce-account .woocommerce-MyAccount-content a.button,
.woocommerce-account .woocommerce-MyAccount-content button.button,
.woocommerce-account .woocommerce-MyAccount-content input.button,
.woocommerce-account .woocommerce-MyAccount-content input[type="submit"] {
    background: #004FA2 !important;
    color: #ffffff !important;
    border: 1px solid #004FA2 !important;
    border-radius: 5px !important;
    padding: 13px 24px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-transform: none !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

.woocommerce-account .woocommerce-MyAccount-content .button:hover,
.woocommerce-account .woocommerce-MyAccount-content a.button:hover,
.woocommerce-account .woocommerce-MyAccount-content button.button:hover,
.woocommerce-account .woocommerce-MyAccount-content input.button:hover,
.woocommerce-account .woocommerce-MyAccount-content input[type="submit"]:hover {
    background: #004FA2 !important;
    color: #ffffff !important;
    border-color: #004FA2 !important;
    opacity: 1 !important;
    transform: none !important;
}

/* Responsive */
@media (max-width: 768px) {
    .woocommerce-account .woocommerce-MyAccount-content .address-book,
    .woocommerce-account .woocommerce-MyAccount-content .wc-address-book,
    .woocommerce-account .woocommerce-MyAccount-content .thwma-addresses,
    .woocommerce-account .woocommerce-MyAccount-content .thwma-address-wrapper,
    .woocommerce-account .woocommerce-MyAccount-content .thwma-address-list,
    .woocommerce-account .woocommerce-MyAccount-content .multiple-addresses,
    .woocommerce-account .woocommerce-MyAccount-content .saved-addresses {
        grid-template-columns: 1fr !important;
    }
}
/* =========================================================
   FIX ADDRESS BOOK - convertir el contenedor real en tarjeta
========================================================= */

/* Contenedor que realmente contiene una dirección */
.woocommerce-account .woocommerce-MyAccount-content div:has(> address),
.woocommerce-account .woocommerce-MyAccount-content div:has(address) {
    background: #ffffff !important;
    border: 1px solid #e7edf7 !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 24px rgba(8, 34, 86, 0.05) !important;
    padding: 28px !important;
    min-height: 190px !important;
    color: #4B4B4B !important;
    box-sizing: border-box !important;
}

/* Evitar que afecte a formularios internos de WooCommerce */
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-address-fields:has(address),
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-address-fields__field-wrapper:has(address),
.woocommerce-account .woocommerce-MyAccount-content .form-row:has(address) {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    min-height: 0 !important;
}

/* Quitar la franja gris superior dentro de cada tarjeta */
.woocommerce-account .woocommerce-MyAccount-content div:has(> address) > div:first-child,
.woocommerce-account .woocommerce-MyAccount-content div:has(address) > div:first-child {
    display: none !important;
}

/* Dirección dentro de la tarjeta */
.woocommerce-account .woocommerce-MyAccount-content div:has(> address) address,
.woocommerce-account .woocommerce-MyAccount-content div:has(address) address {
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 0 18px !important;
    color: #4B4B4B !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
    font-style: normal !important;
    box-shadow: none !important;
}

/* Acciones debajo de la dirección */
.woocommerce-account .woocommerce-MyAccount-content div:has(> address) a,
.woocommerce-account .woocommerce-MyAccount-content div:has(address) a {
    color: #004FA2 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
}

/* Default en verde */
.woocommerce-account .woocommerce-MyAccount-content div:has(> address) a[href*="default"],
.woocommerce-account .woocommerce-MyAccount-content div:has(address) a[href*="default"],
.woocommerce-account .woocommerce-MyAccount-content div:has(> address) .default,
.woocommerce-account .woocommerce-MyAccount-content div:has(address) .default {
    color: #00a651 !important;
    font-weight: 700 !important;
}

/* Grid correcto de tarjetas */
.woocommerce-account .woocommerce-MyAccount-content .address-book,
.woocommerce-account .woocommerce-MyAccount-content .wc-address-book,
.woocommerce-account .woocommerce-MyAccount-content .thwma-addresses,
.woocommerce-account .woocommerce-MyAccount-content .thwma-address-wrapper,
.woocommerce-account .woocommerce-MyAccount-content .thwma-address-list,
.woocommerce-account .woocommerce-MyAccount-content .multiple-addresses,
.woocommerce-account .woocommerce-MyAccount-content .saved-addresses {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
    width: 100% !important;
    margin: 0 0 46px !important;
}

/* Facturación: si solo hay una tarjeta, que ocupe media columna como en la imagen */
.woocommerce-account .woocommerce-MyAccount-content .address-book > div:only-child,
.woocommerce-account .woocommerce-MyAccount-content .wc-address-book > div:only-child,
.woocommerce-account .woocommerce-MyAccount-content .thwma-addresses > div:only-child,
.woocommerce-account .woocommerce-MyAccount-content .thwma-address-wrapper > div:only-child,
.woocommerce-account .woocommerce-MyAccount-content .thwma-address-list > div:only-child,
.woocommerce-account .woocommerce-MyAccount-content .multiple-addresses > div:only-child,
.woocommerce-account .woocommerce-MyAccount-content .saved-addresses > div:only-child {
    max-width: none !important;
}

/* Responsive */
@media (max-width: 768px) {
    .woocommerce-account .woocommerce-MyAccount-content .address-book,
    .woocommerce-account .woocommerce-MyAccount-content .wc-address-book,
    .woocommerce-account .woocommerce-MyAccount-content .thwma-addresses,
    .woocommerce-account .woocommerce-MyAccount-content .thwma-address-wrapper,
    .woocommerce-account .woocommerce-MyAccount-content .thwma-address-list,
    .woocommerce-account .woocommerce-MyAccount-content .multiple-addresses,
    .woocommerce-account .woocommerce-MyAccount-content .saved-addresses {
        grid-template-columns: 1fr !important;
    }
}


/* =========================================================
   MI CUENTA - OCULTAR BARRA LATERAL EN MÓVIL
========================================================= */

@media (max-width: 900px) {
    .woocommerce-account.logged-in .woocommerce {
        display: block !important;
        max-width: 100% !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .woocommerce-account.logged-in .woocommerce-MyAccount-navigation,
    .woocommerce-account .lamberts-account-sidebar {
        display: none !important;
    }

    .woocommerce-account.logged-in .woocommerce-MyAccount-content {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        grid-column: auto !important;
        float: none !important;
        clear: both !important;
    }
}
.lamberts-orders-table .lamberts-order-action-cancel {
	color: #b42318 !important;
}

.lamberts-orders-table .lamberts-order-action-cancel:hover {
	color: #b42318 !important;
	text-decoration: underline;
}/* End custom CSS */