/* Tu Ropa de Trabajo – área privada v1.0 */
:root{--tdt-acc-navy:#0A1675;--tdt-acc-orange:#C75125;--tdt-acc-border:#e5e7ed;--tdt-acc-muted:#6a7080}
/* Las migas se dejan en el HTML, incluido BreadcrumbList; solo se corrige su separación visual. */
body:is(.page-my-account,.page-history,.page-identity,.page-addresses,.page-address,.page-order-detail,.page-order-slip,.page-module-psgdpr-gdpr,.page-module-leofeature-mywishlist) nav.breadcrumb,
body[id^="module-leofeature"] nav.breadcrumb {padding-top:19px!important;padding-bottom:20px!important;margin-top:0!important;margin-bottom:24px!important;min-height:45px}
body:is(.page-my-account,.page-history,.page-identity,.page-addresses,.page-address,.page-order-detail,.page-order-slip) #main>.container {padding-bottom:42px}
.myacc_left .myacc_name{display:block;color:var(--tdt-acc-navy);font-size:24px;font-weight:700;line-height:1.35;margin-bottom:20px}
.myacc_left .links{border:1px solid var(--tdt-acc-border);border-radius:4px;padding:9px;background:#fff}
.myacc_left .links>a{display:flex!important;align-items:center;gap:13px;padding:12px 13px!important;margin:0!important;border-radius:3px;color:#253044!important;font-size:14px;line-height:1.4;text-decoration:none!important;transition:background .15s,color .15s}
.myacc_left .links>a i{flex:0 0 22px;display:flex;align-items:center;justify-content:center}
.myacc_left .links>a i svg{width:19px;height:19px}
.myacc_left .links>a:hover,.myacc_left .links>a.tdt-account-current{background:#eef0fa;color:var(--tdt-acc-navy)!important;font-weight:700}
.myacc_left .links>a.logout{border-top:1px solid var(--tdt-acc-border);margin-top:7px!important;padding-top:17px!important}
.myacc_content{min-width:0}
.myacc_content .page-header{margin:0 0 19px!important;padding:0 0 14px!important;border-bottom:1px solid var(--tdt-acc-border)}
.myacc_content .page-header h1{font-size:28px!important;color:var(--tdt-acc-navy)!important;line-height:1.25;margin:0}
.tdt-account-intro{font-size:15px;line-height:1.7;margin:0 0 25px;color:#4d5260}
.tdt-account-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.tdt-account-card{display:flex;flex-direction:column;align-items:flex-start;min-height:180px;border:1px solid var(--tdt-acc-border);border-radius:4px;padding:21px 23px;background:white;color:#252a36!important;text-decoration:none!important;box-shadow:0 2px 9px rgba(10,22,117,.035)}
.tdt-account-card:hover{border-color:var(--tdt-acc-orange);box-shadow:0 5px 20px rgba(10,22,117,.075)}
.tdt-account-card-icon{font-size:27px;color:var(--tdt-acc-orange);line-height:1;margin-bottom:14px}
.tdt-account-card strong{color:var(--tdt-acc-navy);font-size:17px;margin-bottom:6px}
.tdt-account-card small{color:var(--tdt-acc-muted);font-size:13px;line-height:1.55}
.tdt-account-card-action{margin-top:auto;padding-top:18px;color:var(--tdt-acc-orange);font-weight:700;font-size:12px}
.myacc_content .table,.myacc_content .table-responsive{width:100%;font-size:13px}
.myacc_content .table th{white-space:nowrap;background:#f3f4f7;color:var(--tdt-acc-navy);font-weight:700}
.myacc_content .table td,.myacc_content .table th{padding:12px 10px;vertical-align:middle;border-color:var(--tdt-acc-border)}
.myacc_content a:not(.btn):not(.tdt-account-card){color:var(--tdt-acc-navy)}
.myacc_content .order-actions a{display:inline-block;margin-right:8px;font-weight:700}
.myacc_content input.form-control,.myacc_content select.form-control{border:1px solid #dadee5;border-radius:3px;min-height:43px}
.myacc_content input.form-control:focus,.myacc_content select.form-control:focus{border-color:var(--tdt-acc-navy);outline:2px solid rgba(10,22,117,.1)}
.myacc_content button.btn-primary,.myacc_content .btn-primary,.myacc_content button[type="submit"].btn{background:var(--tdt-acc-orange)!important;color:white!important;border-color:var(--tdt-acc-orange)!important;min-height:42px}
.myacc_content button[data-action="show-password"]{background:#f1f2f5!important;color:var(--tdt-acc-navy)!important;border:1px solid #ddd!important}
.myacc_content .address{border:1px solid var(--tdt-acc-border);box-shadow:0 2px 8px rgba(0,0,0,.045);width:100%}
.myacc_content .addresses-footer{margin-top:22px}
.myacc_content .addresses-footer a{display:inline-flex;align-items:center;gap:7px;border:1px solid var(--tdt-acc-navy);padding:10px 16px;text-decoration:none}
.myacc_content #order-history,.myacc_content #order-infos{margin-bottom:24px}
.myacc_content #order-history h3{font-size:17px;color:var(--tdt-acc-navy)}
/* Lista de deseos Leo: se muestra la lista existente como única interfaz; el servidor conserva sus datos. */
body.page-module-leofeature-mywishlist #mywishlist,body[id^="module-leofeature"] #mywishlist{max-width:1150px;margin:0 auto 48px}
#mywishlist .new-wishlist,#mywishlist>h2,#mywishlist .footer_links{display:none!important}
#mywishlist::before{content:'Mi lista de deseos';display:block;font-size:29px;font-weight:700;color:var(--tdt-acc-navy);margin:10px 0 23px}
#mywishlist .list-wishlist{margin-bottom:16px}
#mywishlist .list-wishlist .table{border:1px solid var(--tdt-acc-border);background:#fafbfc}
#mywishlist .list-wishlist .table thead{display:none}
#mywishlist .list-wishlist .table td{border:none;padding:14px}
#mywishlist .view-wishlist-product{font-weight:700;color:var(--tdt-acc-navy);font-size:15px}
#mywishlist .leo-wishlist-product{margin-top:20px}
#mywishlist .leo-wishlist-product .product-miniature{margin-bottom:20px}
#mywishlist .send-wishlist{margin-bottom:12px}
#mywishlist .send-wishlist .btn{background:var(--tdt-acc-navy);color:#fff}
/* El menú de deseos que añade Leo a la cuenta se integra con nuestro idioma. */
@media(max-width:991px){.myacc_content{margin-top:20px}.tdt-account-cards{gap:12px}}
@media(max-width:575px){.tdt-account-cards{grid-template-columns:1fr}.myacc_left .myacc_name{font-size:21px}.myacc_content .page-header h1{font-size:23px!important}#mywishlist::before{font-size:23px}#mywishlist .list-wishlist .table td{padding:8px}}

/* TDT Cuenta v2: alineación, pedidos y favoritos */
@media(min-width:992px){.myacc_left .myacc_name{margin-bottom:7px!important}.myacc_left .links{margin-top:0!important}}
.myacc_left .row{display:block!important;margin:0!important}
.myacc_left .links>a{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;gap:12px!important;text-align:left!important;align-items:center!important;white-space:normal!important;min-width:0}
.myacc_left .links>a i{display:flex!important;flex:0 0 22px!important;align-items:center!important;justify-content:center!important;margin:0!important;float:none!important}
.myacc_left .links>a .tdt-account-link-label{display:block;flex:1 1 auto;min-width:0;line-height:1.35}
.myacc_left .links>a .tdt-account-link-label br{display:none}
.tdt-account-card-icon{width:24px;height:28px;display:flex;align-items:center;justify-content:flex-start}
.tdt-account-card-icon svg{height:25px;width:25px;stroke:currentColor;stroke-width:1.7;fill:none}
/* Detalle de pedido: evitar alturas/minimos artificiales de Leo */
body.page-order-detail .myacc_content .box,body.page-order-detail .myacc_content section.box{min-height:0!important;height:auto!important;max-height:none!important;margin:0 0 21px!important;padding:18px 18px!important;position:relative!important}
body.page-order-detail .myacc_content #order-history{padding:17px 18px!important}
body.page-order-detail .myacc_content #order-history h3,
body.page-order-detail .myacc_content .order-message-form h3{font-size:18px!important;line-height:1.35!important;letter-spacing:0!important;margin:0 0 14px!important;white-space:normal!important}
body.page-order-detail .myacc_content #order-infos{margin-bottom:19px!important}
body.page-order-detail .myacc_content #order-infos>.box{margin-bottom:10px!important}
body.page-order-detail .myacc_content #order-infos .row{display:flex;align-items:center;flex-wrap:wrap;gap:12px}
body.page-order-detail .myacc_content #order-infos .row>div:first-child{flex:1 1 340px;max-width:none;width:auto}
body.page-order-detail .myacc_content #order-infos .row>div:nth-child(2){flex:0 1 auto;max-width:none;width:auto;text-align:left!important}
body.page-order-detail .tdt-reorder-btn{font-size:12px!important;line-height:1.35!important;padding:10px 14px!important;white-space:normal;color:#0A1675!important;border:1px solid #0A1675!important;background:#fff!important;text-transform:none!important}
body.page-order-detail .myacc_content .addresses{display:flex!important;flex-wrap:wrap;gap:15px;margin:16px 0 22px!important;height:auto!important;min-height:0!important}
body.page-order-detail .myacc_content .addresses>.col-lg-6{flex:1 1 250px;max-width:none;width:auto;padding:0!important}
body.page-order-detail .myacc_content .addresses .clearfix{display:none}
body.page-order-detail .myacc_content .addresses .box{height:100%!important;margin-bottom:0!important}
body.page-order-detail .myacc_content #order-history table{margin:0!important}
body.page-order-detail .myacc_content .order-message-form{margin-top:18px!important;padding:22px!important}
body.page-order-detail .myacc_content .order-message-form header{margin:0 0 16px!important;padding:0!important;height:auto!important}
body.page-order-detail .myacc_content .order-message-form header p{font-size:13px;line-height:1.6;margin:0 0 12px}
body.page-order-detail .myacc_content .order-message-form .form-group{display:flex!important;flex-wrap:wrap;align-items:flex-start;margin:0 0 15px!important;gap:10px}
body.page-order-detail .myacc_content .order-message-form .form-group label{flex:0 0 150px;max-width:none;width:auto;text-align:left!important;padding:8px 0!important;margin:0}
body.page-order-detail .myacc_content .order-message-form .form-group>div{flex:1 1 280px;max-width:none;width:auto;padding:0!important}
body.page-order-detail .myacc_content .order-message-form textarea{min-height:120px}
body.page-order-detail .myacc_content .order-message-form .form-footer{margin-top:12px!important;padding:0!important;text-align:left!important}
body.page-order-detail .myacc_content .order-message-form .form-footer button{margin:0!important}
/* Direcciones: menos separación entre tarjetas y nueva dirección */
body.page-addresses .myacc_content .addresses-footer{margin-top:8px!important;padding-top:0!important}
body.page-addresses .myacc_content .address{margin-bottom:9px!important}
/* RGPD: espaciado uniforme de paneles, botones sin margen extra */
body#module-psgdpr-gdpr #main .btn,body#module-psgdpr-gdpr #content .btn{margin-bottom:0!important}
body#module-psgdpr-gdpr #main .card,body#module-psgdpr-gdpr #main .box{margin-bottom:14px!important;padding-bottom:14px!important}
/* Wishlist: mantener menú lateral y enseñar directamente productos sin fila de listas */
body#module-leofeature-mywishlist .tdt-wishlist-layout{max-width:1170px;margin:14px auto 40px;display:grid;grid-template-columns:270px minmax(0,1fr);gap:35px;align-items:start}
body#module-leofeature-mywishlist .tdt-wishlist-aside{width:auto!important;max-width:none!important;float:none!important;padding:0!important;min-width:0!important}
body#module-leofeature-mywishlist .tdt-wishlist-aside-heading{font-size:23px;font-weight:700;color:#0A1675;margin:0 0 16px}
body#module-leofeature-mywishlist #mywishlist{width:auto!important;max-width:none!important;min-width:0!important;margin:0!important}
body#module-leofeature-mywishlist #mywishlist::before{margin-top:0!important}
body#module-leofeature-mywishlist #mywishlist .list-wishlist{display:none!important}
body#module-leofeature-mywishlist #mywishlist .send-wishlist{display:none!important}
body#module-leofeature-mywishlist #mywishlist .leo-wishlist-product{margin-top:12px!important}
body#module-leofeature-mywishlist #mywishlist .footer_links{display:none!important}
@media(max-width:767px){body#module-leofeature-mywishlist .tdt-wishlist-layout{grid-template-columns:1fr;gap:18px;padding:0 15px}body.page-order-detail .myacc_content .order-message-form .form-group label{flex:1 1 100%}}

/* TDT Cuenta v2.1 - direcciones: botón compacto en su flujo normal */
body.page-addresses .myacc_content .addresses-footer,
body#addresses .myacc_content .addresses-footer {
  clear:both!important;
  margin:12px 0 0!important;
  padding:0!important;
  min-height:0!important;
  height:auto!important;
  line-height:normal!important;
}
body.page-addresses .myacc_content .addresses-footer a[data-link-action="add-address"],
body#addresses .myacc_content .addresses-footer a[data-link-action="add-address"]{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  vertical-align:middle!important;
  box-sizing:border-box!important;
  width:auto!important;
  height:auto!important;
  min-height:40px!important;
  max-height:none!important;
  margin:0!important;
  padding:9px 14px!important;
  line-height:1.35!important;
  font-size:13px!important;
  font-weight:600!important;
  border-radius:2px!important;
}
body.page-addresses .myacc_content .addresses-footer a .material-icons,
body#addresses .myacc_content .addresses-footer a .material-icons {
  display:inline-block!important;
  line-height:1!important;
  font-size:17px!important;
  margin:0!important;
}
/* Lista de deseos: ocupar el mismo ancho general disponible que el resto de Mi cuenta. */
body#module-leofeature-mywishlist .tdt-wishlist-layout{
  box-sizing:border-box!important;
  width:calc(100% - 30px)!important;
  max-width:1380px!important;
  margin:14px auto 40px!important;
  grid-template-columns:270px minmax(0,1fr)!important;
  gap:28px!important;
}
body#module-leofeature-mywishlist .tdt-wishlist-layout > #mywishlist{
  min-width:0!important;
  width:100%!important;
  max-width:none!important;
}
body#module-leofeature-mywishlist .tdt-wishlist-aside{min-width:0!important;}
@media(max-width:767px){
 body#module-leofeature-mywishlist .tdt-wishlist-layout{
   grid-template-columns:minmax(0,1fr)!important;
   width:calc(100% - 24px)!important;
   gap:18px!important;
   padding:0!important;
 }
}

/* TDT autenticacion v3: no modifica acciones del formulario ni seguridad */
body#authentication #main,body#registration #main,body#password #main{padding-bottom:40px;}
body#authentication #main>.page-header,body#registration #main>.page-header,body#password #main>.page-header{margin-bottom:24px;}
body#authentication #main>.page-header h1,body#registration #main>.page-header h1,body#password #main>.page-header h1{color:#0A1675;font-weight:700;line-height:1.2;}
body#authentication .login-form,body#registration .register-form{max-width:550px;margin:0 auto;}
body#authentication .login-form .form-control,body#registration .register-form .form-control,body#password .forgotten-password .form-control{min-height:44px;border:1px solid #dfe3eb;border-radius:3px;}
body#authentication #submit-login{background:#0A1675!important;color:#fff!important;border-color:#0A1675!important;min-height:44px;font-weight:700;}
body#authentication #submit-login:hover{background:#C75125!important;border-color:#C75125!important;}
body#registration #customer-form [data-link-action="save-customer"]{background:#C75125!important;border-color:#C75125!important;color:#fff!important;min-height:44px;font-weight:700;}
body#registration #customer-form [data-link-action="save-customer"]:hover{background:#a93e1a!important;border-color:#a93e1a!important;}
body#authentication .no-account{text-align:center;margin-top:17px;}
body#authentication .no-account a{color:#C75125;font-weight:700;}
/* Recuperacion: mismo ancho que login, formulario centrado, aviso de confirmacion real */
body#password #main{max-width:760px;margin:0 auto 0;float:none;}
body#password #main>.page-header{text-align:left;margin-bottom:20px;}
body#password #main #content.page-content{border:1px solid #e2e6ee!important;box-shadow:none!important;background:#fff!important;padding:28px 32px!important;margin:0!important;border-radius:3px;}
body#password .forgotten-password>header .send-renew-password-link{margin:0 0 22px;color:#4c5565;font-size:14px;line-height:1.6;text-align:left;}
body#password .forgotten-password .center-email-fields{display:flex!important;flex-direction:column!important;align-items:stretch!important;max-width:520px;margin:0 auto!important;gap:10px;}
body#password .forgotten-password .center-email-fields>.form-control-label,body#password .forgotten-password .center-email-fields>.email{float:none!important;flex:none!important;width:100%!important;max-width:100%!important;padding:0!important;margin:0!important;text-align:left!important;}
body#password .forgotten-password .center-email-fields>.form-control-label{font-weight:700;color:#222;line-height:1.4;}
body#password .forgotten-password .center-email-fields>button{display:block;float:none!important;width:100%;margin:6px 0 0;min-height:44px;background:#C75125!important;border-color:#C75125!important;color:#fff!important;border-radius:3px;font-weight:700;}
body#password .forgotten-password .center-email-fields>button.hidden-sm-up{display:none!important;}
body#password .forgotten-password .center-email-fields>button:hover{background:#a93e1a!important;border-color:#a93e1a!important;}
body#password #content .ps-alert-success{margin:0!important;padding:0!important;list-style:none!important;}
body#password #content .ps-alert-success .item{display:flex!important;align-items:flex-start!important;gap:14px;background:#ecf8f0!important;border:1px solid #b8e2c7!important;padding:16px 20px!important;border-radius:3px;color:#245c36;}
body#password #content .ps-alert-success .item i{display:flex;align-items:center;justify-content:center;background:#2b854a;border-radius:50%;width:26px;height:26px;flex:none;}
body#password #content .ps-alert-success .item svg{width:17px;height:17px;}
body#password #content .ps-alert-success .item p{margin:2px 0 0!important;line-height:1.6!important;overflow-wrap:anywhere;}
body#password #main>.page-footer{margin:18px 0 0!important;text-align:left;}
body#password #main>.page-footer ul{list-style:none;padding:0;margin:0;}
body#password #main>.page-footer a{display:inline-flex;gap:5px;align-items:center;color:#0A1675!important;font-weight:700;text-decoration:none;}
body#password #main>.page-footer a:hover{color:#C75125!important;}
@media(max-width:767px){body#password #main{width:100%;max-width:100%;}body#password #main #content.page-content{padding:20px 16px!important;}body#password .forgotten-password .center-email-fields>button.hidden-xs-down{display:none!important;}body#password .forgotten-password .center-email-fields>button.hidden-sm-up{display:block!important;}}


/* TDT Registro v1.1 — recuperar anchura de campos y textos sin alterar el login */
@media (min-width: 768px) {
 body#registration .register-form {
   width: min(100%, 900px) !important;
   max-width: 900px !important;
   margin-left: auto !important;
   margin-right: auto !important;
 }
 body#registration #customer-form .form-group.row {
   display: grid !important;
   grid-template-columns: 180px minmax(0, 1fr) 95px;
   column-gap: 16px;
   align-items: start;
   margin-left: 0 !important;
   margin-right: 0 !important;
   margin-bottom: 18px !important;
 }
 body#registration #customer-form .form-group.row > .form-control-label {
   grid-column: 1;
   width: 100% !important;
   max-width: none !important;
   flex: none !important;
   float: none !important;
   padding: 10px 0 !important;
   text-align: right !important;
   line-height: 1.45 !important;
   white-space: normal !important;
 }
 body#registration #customer-form .form-group.row > .js-input-column {
   grid-column: 2;
   width: 100% !important;
   max-width: none !important;
   flex: none !important;
   float: none !important;
   min-width: 0 !important;
   padding: 0 !important;
 }
 body#registration #customer-form .form-group.row > .form-control-comment {
   grid-column: 3;
   width: 100% !important;
   max-width: none !important;
   flex: none !important;
   float: none !important;
   padding: 9px 0 0 !important;
 }
 body#registration #customer-form .form-group.row > .js-input-column .form-control {
   width: 100% !important;
   max-width: none !important;
 }
 body#registration #customer-form .field-password-policy {
   width: 100%;
   min-width: 0;
 }
 body#registration #customer-form .form-footer {
   max-width: 100%;
   padding-right: 111px;
 }
}
body#registration #customer-form .form-group .form-text,
body#registration #customer-form .form-group .form-control-comment,
body#registration #customer-form .form-group .help-block {
 line-height: 1.5 !important;
 overflow-wrap: break-word;
}
@media (max-width: 767px) {
 body#registration .register-form {width:100%!important;max-width:100%!important;padding:0 12px!important;}
 body#registration #customer-form .form-group.row {margin-left:0!important;margin-right:0!important;}
 body#registration #customer-form .form-group.row > .form-control-label,
 body#registration #customer-form .form-group.row > .js-input-column {width:100%!important;max-width:100%!important;float:none!important;text-align:left!important;}
}
