/* En la portada NSF usamos la navegación propia del dashboard.
   Los endpoints de WooCommerce conservan su navegación habitual. */
body.nsf-account-root .woocommerce-MyAccount-navigation,body.nsf-account-root nav.woocommerce-MyAccount-navigation{display:none!important}
body.nsf-account-root .woocommerce-MyAccount-content{width:100%!important;float:none!important}
.nsf-account-dashboard{max-width:1120px;margin:0 auto;padding:32px 28px 70px;display:grid;grid-template-columns:270px minmax(0,1fr);gap:34px;box-sizing:border-box;color:#202633;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
.nsf-account-sidebar{border-right:1px solid #e7e4e1;padding-right:24px}.nsf-account-profile{display:flex;gap:13px;align-items:center;margin-bottom:24px}.nsf-account-avatar{width:58px;height:58px;border-radius:50%;background:#fff;border:2px solid #d9282e;color:#d9282e;display:flex;align-items:center;justify-content:center;font-weight:900;font-size:22px}.nsf-account-profile strong{display:block;font-size:17px}.nsf-account-profile a{display:block;color:#d9282e;text-decoration:none;font-size:13px;font-weight:700;margin-top:5px}.nsf-account-nav{display:flex;flex-direction:column;gap:5px}.nsf-account-nav a{min-height:44px;display:flex;align-items:center;gap:12px;padding:0 14px;border-radius:9px;text-decoration:none;color:#202633;font-weight:650;transition:background .18s ease,color .18s ease,transform .18s ease;box-sizing:border-box}.nsf-account-nav a span{width:22px;text-align:center;font-size:21px}.nsf-account-nav a:hover{background:#f8e8e8;color:#c92828;transform:translateX(2px)}.nsf-account-nav a:focus-visible{outline:3px solid #111;outline-offset:2px}.nsf-account-nav a.is-active{background:#c92828;color:#fff}.nsf-account-nav a.is-active:hover{background:#a91f1f;color:#fff}.nsf-account-nav a em{margin-left:auto;font-size:9px;text-transform:uppercase;letter-spacing:.04em;color:#9b9692;font-style:normal}.nsf-account-nav a.nsf-account-disabled{cursor:not-allowed;opacity:.72}.nsf-account-nav a.nsf-account-disabled:hover{transform:none;background:#f4f2f0;color:#202633}.nsf-account-nav .nsf-account-logout{color:#c92828;margin-top:10px;border-top:1px solid #eee8e5;padding-top:14px;border-radius:0}
.nsf-account-heading{margin-bottom:24px}.nsf-account-heading h1{margin:0;font-family:Georgia,serif;font-size:34px;line-height:1.15;color:#202633}.nsf-account-heading p{margin:8px 0 0;color:#625e5b;font-size:16px}
.nsf-account-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px}.nsf-account-stat{min-height:148px;border:1px solid #e5e0dc;border-radius:13px;background:#fff;padding:18px;box-sizing:border-box;text-decoration:none;color:#202633;display:flex;flex-direction:column;align-items:center;text-align:center;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.nsf-account-stat:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(0,0,0,.07);border-color:#d9282e}.nsf-account-stat:focus-visible,.nsf-quick-grid a:focus-visible,.nsf-order-row:focus-visible{outline:3px solid #111;outline-offset:3px}.nsf-account-stat-disabled{background:#faf9f8;color:#666;cursor:default}.nsf-account-stat-disabled:hover{transform:none;box-shadow:none;border-color:#e5e0dc}.nsf-stat-icon{width:42px;height:42px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#fbe7e7;color:#c92828;font-size:22px;margin-bottom:8px}.nsf-account-stat strong{font-size:25px;line-height:1}.nsf-account-stat>span:not(.nsf-stat-icon){font-weight:700;margin-top:5px}.nsf-account-stat small{margin-top:auto;color:#c92828;font-weight:700;font-size:12px}.nsf-account-stat-disabled small{color:#8d8884}
.nsf-account-columns{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(340px,.9fr);gap:18px;margin-bottom:18px}.nsf-account-card{background:#fff;border:1px solid #e5e0dc;border-radius:13px;padding:20px;box-sizing:border-box}.nsf-card-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.nsf-card-heading h2{font-family:Georgia,serif;font-size:22px;margin:0;color:#202633}.nsf-card-heading a{color:#c92828;font-size:13px;font-weight:800;text-decoration:none}.nsf-card-heading a:hover{text-decoration:underline}.nsf-coming-soon{font-size:11px;color:#8a8581;text-transform:uppercase;letter-spacing:.05em;font-weight:800}
.nsf-order-list{border-top:1px solid #eee9e6}.nsf-order-row{display:grid;grid-template-columns:48px minmax(0,1fr) auto auto 16px;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #eee9e6;text-decoration:none;color:#202633;transition:background .16s ease}.nsf-order-row:hover{background:#fff8f8}.nsf-order-thumb{width:48px;height:58px;border-radius:6px;background:#f5eeee;color:#c92828;display:flex;align-items:center;justify-content:center;font-weight:900;font-size:12px}.nsf-order-info strong{display:block;font-size:14px}.nsf-order-info small{display:block;margin-top:4px;color:#77716d;font-size:12px}.nsf-order-status{background:#edf6e9;color:#3e7433;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:800;white-space:nowrap}.nsf-order-total{font-weight:800;white-space:nowrap}.nsf-order-arrow{color:#77716d;font-size:20px}.nsf-empty-state{padding:22px 8px;color:#625e5b}.nsf-empty-state p{margin:5px 0 0}
.nsf-wishlist-placeholder{border:1px dashed #e2d2d0;border-radius:10px;background:#fffafa;padding:28px 18px;text-align:center}.nsf-placeholder-icon{width:52px;height:52px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#fbe7e7;color:#c92828;font-size:28px;margin:0 auto 12px}.nsf-wishlist-placeholder strong{display:block;font-size:16px}.nsf-wishlist-placeholder p{color:#625e5b;line-height:1.55;margin:8px auto 12px;max-width:430px;font-size:14px}.nsf-note{font-size:12px;color:#8a8581}
.nsf-activity-card{margin-bottom:18px}.nsf-activity-placeholder{display:flex;gap:14px;align-items:center;border:1px dashed #e2d2d0;border-radius:10px;padding:18px;color:#625e5b}.nsf-activity-placeholder>span{width:42px;height:42px;border-radius:50%;background:#fbe7e7;color:#c92828;display:flex;align-items:center;justify-content:center;font-size:20px;flex:0 0 auto}.nsf-activity-placeholder strong{color:#202633}.nsf-activity-placeholder p{margin:5px 0 0;font-size:14px;line-height:1.5}
.nsf-quick-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.nsf-quick-grid a{min-height:95px;border:1px solid #e5e0dc;border-radius:10px;text-decoration:none;color:#202633;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;transition:background .18s ease,border-color .18s ease,transform .18s ease}.nsf-quick-grid a:hover{background:#fff7f7;border-color:#d9282e;color:#c92828;transform:translateY(-2px)}.nsf-quick-grid a span{font-size:22px;color:#c92828}.nsf-quick-grid a strong{font-size:12px}.nsf-account-privacy{text-align:center;color:#77716d;font-size:12px;margin-top:22px}.nsf-account-privacy span{color:#c92828;margin-right:5px}
@media(max-width:1024px){.nsf-account-dashboard{max-width:100%;grid-template-columns:220px minmax(0,1fr);padding:24px 18px}.nsf-account-stat-grid{grid-template-columns:repeat(2,1fr)}.nsf-account-columns{grid-template-columns:1fr}.nsf-account-sidebar{padding-right:18px}.nsf-order-row{grid-template-columns:44px minmax(0,1fr) auto 16px}.nsf-order-total{grid-column:2}.nsf-order-status{grid-column:3}.nsf-quick-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:767px){.nsf-account-dashboard{display:block;padding:16px 14px 42px}.nsf-account-sidebar{border-right:0;padding:0;margin-bottom:22px}.nsf-account-profile{padding:4px 4px 16px;border-bottom:1px solid #eee9e6}.nsf-account-nav{display:grid;grid-template-columns:repeat(2,1fr);gap:7px;margin-top:10px}.nsf-account-nav a{min-height:42px;padding:0 9px;font-size:13px}.nsf-account-nav a span{font-size:19px;width:19px}.nsf-account-nav a em{display:none}.nsf-account-nav .nsf-account-logout{grid-column:1/-1;border-top:1px solid #eee8e5;margin-top:2px;padding-top:7px}.nsf-account-heading h1{font-size:28px}.nsf-account-heading p{font-size:15px;line-height:1.5}.nsf-account-stat-grid{grid-template-columns:repeat(2,1fr);gap:8px}.nsf-account-stat{min-height:132px;padding:14px 10px}.nsf-account-stat strong{font-size:22px}.nsf-account-columns{display:block}.nsf-account-card{padding:15px;margin-bottom:12px}.nsf-card-heading h2{font-size:20px}.nsf-order-row{grid-template-columns:42px minmax(0,1fr) 16px;gap:9px}.nsf-order-status{grid-column:2;justify-self:start;margin-top:4px}.nsf-order-total{grid-column:2;grid-row:1;justify-self:end}.nsf-order-arrow{grid-column:3;grid-row:1 / span 2}.nsf-order-info{min-width:0}.nsf-order-info strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nsf-quick-grid{grid-template-columns:repeat(2,1fr)}.nsf-quick-grid a{min-height:84px}.nsf-activity-placeholder{align-items:flex-start}.nsf-account-privacy{line-height:1.5}}

/* Navegación AJAX de Mi cuenta */
.nsf-account-main:focus{outline:none}.nsf-account-nav a{position:relative}.nsf-account-nav a.is-active{background:#d9282e!important;color:#fff!important}.nsf-account-nav a:focus-visible,.nsf-account-back:focus-visible,.nsf-account-nav a:hover{outline:3px solid rgba(217,40,46,.28);outline-offset:2px}.nsf-account-nav a:hover{background:#fff7f7;color:#c92828}.nsf-account-nav a.is-active:hover{background:#b91f24!important;color:#fff!important}.nsf-account-back{appearance:none;border:1px solid #d9282e;background:#fff;color:#c92828;border-radius:9px;padding:10px 14px;font:inherit;font-weight:800;cursor:pointer;margin-bottom:18px;transition:background .16s ease,color .16s ease,transform .16s ease}.nsf-account-back:hover{background:#c92828;color:#fff;transform:translateY(-1px)}.nsf-account-back:active{transform:translateY(0)}.nsf-account-endpoint-view{min-height:240px}.nsf-account-endpoint-card{overflow:hidden}.nsf-account-loading{display:flex;align-items:center;justify-content:center;gap:10px;min-height:90px;background:#fff;border:1px solid #e5e0dc;border-radius:12px;margin-bottom:16px;color:#625e5b;font-weight:700}.nsf-account-spinner{width:18px;height:18px;border:3px solid #f2cccc;border-top-color:#c92828;border-radius:50%;animation:nsf-account-spin .7s linear infinite}.nsf-account-main.is-loading>*:not(.nsf-account-loading){opacity:.48;transition:opacity .16s ease}@keyframes nsf-account-spin{to{transform:rotate(360deg)}}.nsf-account-ajax-error{border:1px solid #d9282e;background:#fff4f4;color:#8d1e22;border-radius:10px;padding:13px 15px;margin-bottom:16px;font-weight:700}.nsf-account-endpoint-card .woocommerce-MyAccount-content{width:100%;float:none}.nsf-account-endpoint-card .woocommerce-info,.nsf-account-endpoint-card .woocommerce-message,.nsf-account-endpoint-card .woocommerce-error{margin-top:0}.nsf-account-endpoint-card form{max-width:100%}

/* NSF ACCOUNT 1.1.34 — centrado real del dashboard */
@media(min-width:768px){
body.nsf-account-root .nsf-account-dashboard{
  width:calc(100vw - 80px);
  max-width:1360px;
  margin-left:50%;
  margin-right:0;
  transform:translateX(-50%);
}
}

/* NSF ACCOUNT 1.1.33 — acabado visual */
body.nsf-account-root{background:#faf9f7}
body.nsf-account-root .woocommerce{max-width:none}
.nsf-account-dashboard{max-width:1360px;padding:42px 30px 80px;grid-template-columns:260px minmax(0,1fr);gap:38px}
.nsf-account-sidebar{border-right:0;padding:0;position:relative}
.nsf-account-sidebar:after{content:"";position:absolute;right:-19px;top:0;bottom:0;width:1px;background:#e8e3df}
.nsf-account-profile{background:#fff;border:1px solid #e7e1dc;border-radius:18px;padding:18px;margin-bottom:16px;box-shadow:0 5px 18px rgba(32,39,51,.04)}
.nsf-account-avatar{width:54px;height:54px;flex:0 0 54px}
.nsf-account-profile strong{font-size:16px;color:#202735}
.nsf-account-nav{gap:4px;background:#fff;border:1px solid #e7e1dc;border-radius:18px;padding:10px;box-shadow:0 5px 18px rgba(32,39,51,.04)}
.nsf-account-nav a{min-height:46px;border-radius:11px;font-weight:700}
.nsf-account-nav a.is-active{background:#d3202a!important}
.nsf-account-nav .nsf-account-logout{margin-top:8px;padding-top:8px;border-top:1px solid #eee8e5;border-radius:0}
.nsf-account-main{min-width:0}
.nsf-account-heading{background:linear-gradient(135deg,#fff 0%,#fff9f8 100%);border:1px solid #e7e1dc;border-radius:20px;padding:26px 28px;margin-bottom:18px;box-shadow:0 6px 22px rgba(32,39,51,.04)}
.nsf-account-heading h1{font-size:38px;letter-spacing:-.02em;color:#202735}
.nsf-account-heading p{font-size:15px;color:#68615d;max-width:700px}
.nsf-account-stat-grid{gap:14px}
.nsf-account-stat{min-height:142px;border-radius:16px;padding:20px;background:#fff;box-shadow:0 5px 18px rgba(32,39,51,.035)}
.nsf-account-stat:hover{box-shadow:0 10px 26px rgba(32,39,51,.08);border-color:#d3202a}
.nsf-stat-icon{background:#fff0ef;color:#d3202a}
.nsf-account-stat strong{font-size:28px;color:#202735}
.nsf-account-columns{gap:16px}
.nsf-account-card{border-radius:16px;padding:22px;border-color:#e7e1dc;box-shadow:0 5px 18px rgba(32,39,51,.035)}
.nsf-card-heading{margin-bottom:16px}
.nsf-card-heading h2{font-size:23px;color:#202735}
.nsf-empty-state{background:#fff9f8;border:1px dashed #e4c8c6;border-radius:12px;padding:24px}
.nsf-wishlist-placeholder{background:#fff9f8;border-color:#e4c8c6}
.nsf-activity-card,.nsf-quick-card{margin-bottom:16px}
.nsf-activity-placeholder{background:#fff9f8;border-color:#e4c8c6;border-radius:12px}
.nsf-quick-grid{gap:12px}
.nsf-quick-grid a{min-height:92px;border-radius:13px;background:#fff}
.nsf-account-privacy{padding-top:4px}

/* Fallback: si el tema/Elementor entrega el dashboard nativo, lo vestimos
   con el mismo lenguaje NSF hasta que el shortcode personalizado entre. */
body.nsf-account-root .woocommerce-MyAccount-content .woocommerce-info,
body.nsf-account-root .woocommerce-MyAccount-content .woocommerce-message,
body.nsf-account-root .woocommerce-MyAccount-content .woocommerce-error{border:1px solid #e7e1dc!important;border-top:3px solid #d3202a!important;border-radius:14px!important;background:#fff!important;box-shadow:0 5px 18px rgba(32,39,51,.04)!important;padding:20px 22px!important;color:#202735!important}
body.nsf-account-root .woocommerce-MyAccount-content .woocommerce-info:before,
body.nsf-account-root .woocommerce-MyAccount-content .woocommerce-message:before{color:#d3202a!important}
body.nsf-account-root .woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:12px;background:#fff;border:1px solid #e7e1dc;border-radius:18px;box-shadow:0 5px 18px rgba(32,39,51,.04)}
body.nsf-account-root .woocommerce-MyAccount-navigation li{margin:0!important}
body.nsf-account-root .woocommerce-MyAccount-navigation a{display:block;padding:11px 13px;border-radius:10px;color:#202735;text-decoration:none;font-weight:700}
body.nsf-account-root .woocommerce-MyAccount-navigation .is-active a{background:#d3202a;color:#fff}
body.nsf-account-root .woocommerce-MyAccount-content .button{background:#d3202a!important;color:#fff!important;border-radius:9px!important;border:0!important;padding:11px 17px!important;font-weight:800!important}

@media(max-width:767px){
 .nsf-account-dashboard{padding:18px 14px 48px}
 .nsf-account-sidebar{margin-bottom:18px}
 .nsf-account-sidebar:after{display:none}
 .nsf-account-profile{border-radius:16px;padding:15px}
 .nsf-account-nav{border-radius:16px;padding:8px}
 .nsf-account-nav a{min-height:44px}
 .nsf-account-heading{padding:21px 18px;border-radius:17px}
 .nsf-account-heading h1{font-size:29px}
 .nsf-account-stat{min-height:126px;border-radius:14px;padding:14px 10px}
 .nsf-account-card{border-radius:14px;padding:16px}
}


/* 1.1.38 — Paleta NSF para las vistas de cuenta y pedidos */
body.nsf-account-root .nsf-account-heading h1,
body.nsf-account-root .nsf-account-card h2{color:#d3202a!important}
body.nsf-account-root .nsf-account-heading p,
body.nsf-account-root .nsf-account-endpoint-card,
body.nsf-account-root .nsf-account-endpoint-card p,
body.nsf-account-root .nsf-account-endpoint-card td,
body.nsf-account-root .nsf-account-endpoint-card th,
body.nsf-account-root .nsf-account-endpoint-card label{color:#202735}
body.nsf-account-root .nsf-account-endpoint-card .woocommerce-info,
body.nsf-account-root .nsf-account-endpoint-card .woocommerce-message,
body.nsf-account-root .nsf-account-endpoint-card .woocommerce-error{
  border:1px solid #eadbd9!important;
  border-top:3px solid #d3202a!important;
  background:#fff8f7!important;
  color:#202735!important;
  box-shadow:none!important;
}
body.nsf-account-root .nsf-account-endpoint-card .woocommerce-info:before,
body.nsf-account-root .nsf-account-endpoint-card .woocommerce-message:before,
body.nsf-account-root .nsf-account-endpoint-card .woocommerce-error:before{color:#d3202a!important}
body.nsf-account-root .nsf-account-endpoint-card .button,
body.nsf-account-root .nsf-account-endpoint-card a.button,
body.nsf-account-root .nsf-account-endpoint-card button.button,
body.nsf-account-root .nsf-account-endpoint-card input.button,
body.nsf-account-root .nsf-account-endpoint-card .woocommerce-button{
  background:#d3202a!important;
  background-color:#d3202a!important;
  color:#fff!important;
  border:0!important;
  border-radius:10px!important;
  box-shadow:none!important;
  font-weight:800!important;
  text-decoration:none!important;
  padding:12px 18px!important;
}
body.nsf-account-root .nsf-account-endpoint-card .button:hover,
body.nsf-account-root .nsf-account-endpoint-card a.button:hover,
body.nsf-account-root .nsf-account-endpoint-card button.button:hover,
body.nsf-account-root .nsf-account-endpoint-card input.button:hover,
body.nsf-account-root .nsf-account-endpoint-card .woocommerce-button:hover{
  background:#b91f24!important;
  background-color:#b91f24!important;
  color:#fff!important;
}
body.nsf-account-root .nsf-account-endpoint-card a:not(.button){color:#d3202a}
body.nsf-account-root .nsf-account-endpoint-card a:not(.button):hover{color:#b91f24}
body.nsf-account-root .nsf-account-endpoint-card .woocommerce-orders-table,
body.nsf-account-root .nsf-account-endpoint-card table.my_account_orders{border-color:#eadbd9!important}
body.nsf-account-root .nsf-account-endpoint-card .woocommerce-orders-table th,
body.nsf-account-root .nsf-account-endpoint-card table.my_account_orders th{color:#202735!important;background:#fff8f7!important}
body.nsf-account-root .nsf-account-endpoint-card .woocommerce-orders-table td,
body.nsf-account-root .nsf-account-endpoint-card table.my_account_orders td{border-color:#eee5e3!important}
body.nsf-account-root .nsf-account-endpoint-card .woocommerce-orders-table .woocommerce-button{font-size:13px!important}

/* 1.1.39 — Paleta NSF para "Mis datos" / detalles de cuenta */
body.nsf-account-root .nsf-account-endpoint-card .woocommerce-EditAccountForm,
body.nsf-account-root .nsf-account-endpoint-card .woocommerce-EditAccountForm p,
body.nsf-account-root .nsf-account-endpoint-card .woocommerce-EditAccountForm label,
body.nsf-account-root .nsf-account-endpoint-card .woocommerce-EditAccountForm legend,
body.nsf-account-root .nsf-account-endpoint-card .woocommerce-EditAccountForm h3,
body.nsf-account-root .nsf-account-endpoint-card .woocommerce-EditAccountForm h4{
  color:#202735!important;
}
body.nsf-account-root .nsf-account-endpoint-card .woocommerce-EditAccountForm h3,
body.nsf-account-root .nsf-account-endpoint-card .woocommerce-EditAccountForm h4{
  font-family:Georgia,serif!important;
  color:#d3202a!important;
  font-size:22px!important;
  line-height:1.25!important;
  margin:24px 0 14px!important;
}
body.nsf-account-root .nsf-account-endpoint-card .woocommerce-EditAccountForm label{
  display:block!important;
  color:#202735!important;
  font-weight:650!important;
  margin-bottom:7px!important;
}
body.nsf-account-root .nsf-account-endpoint-card .woocommerce-EditAccountForm label .required{
  color:#d3202a!important;
}
body.nsf-account-root .nsf-account-endpoint-card .woocommerce-EditAccountForm input.input-text,
body.nsf-account-root .nsf-account-endpoint-card .woocommerce-EditAccountForm input[type="text"],
body.nsf-account-root .nsf-account-endpoint-card .woocommerce-EditAccountForm input[type="email"],
body.nsf-account-root .nsf-account-endpoint-card .woocommerce-EditAccountForm input[type="password"]{
  width:100%!important;
  min-height:50px!important;
  box-sizing:border-box!important;
  background:#fff!important;
  color:#202735!important;
  border:1px solid #ddd7d3!important;
  border-radius:10px!important;
  box-shadow:none!important;
  padding:12px 14px!important;
  font-size:16px!important;
  outline:none!important;
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease!important;
}
body.nsf-account-root .nsf-account-endpoint-card .woocommerce-EditAccountForm input.input-text:focus,
body.nsf-account-root .nsf-account-endpoint-card .woocommerce-EditAccountForm input[type="text"]:focus,
body.nsf-account-root .nsf-account-endpoint-card .woocommerce-EditAccountForm input[type="email"]:focus,
body.nsf-account-root .nsf-account-endpoint-card .woocommerce-EditAccountForm input[type="password"]:focus{
  border-color:#d3202a!important;
  box-shadow:0 0 0 3px rgba(211,32,42,.12)!important;
  background:#fff!important;
}
body.nsf-account-root .nsf-account-endpoint-card .woocommerce-EditAccountForm em,
body.nsf-account-root .nsf-account-endpoint-card .woocommerce-EditAccountForm small{
  color:#6f6965!important;
}
body.nsf-account-root .nsf-account-endpoint-card .woocommerce-EditAccountForm .woocommerce-form-row{
  margin-bottom:18px!important;
}
body.nsf-account-root .nsf-account-endpoint-card .woocommerce-EditAccountForm fieldset{
  border:0!important;
  margin:0!important;
  padding:0!important;
}
body.nsf-account-root .nsf-account-endpoint-card .woocommerce-EditAccountForm .clear{
  display:none!important;
}
body.nsf-account-root .nsf-account-endpoint-card .woocommerce-EditAccountForm .button{
  margin-top:4px!important;
}
body.nsf-account-root .nsf-account-endpoint-card .password-input .show-password-input:before{
  color:#d3202a!important;
}
body.nsf-account-root .nsf-account-endpoint-card .woocommerce-EditAccountForm .woocommerce-form-row em{
  display:block!important;
  margin-top:6px!important;
  line-height:1.45!important;
}


/* 1.1.40 — Mi recorrido */
body.nsf-account-root .nsf-recorrido-card{overflow:hidden}
body.nsf-account-root .nsf-recorrido-intro{display:flex;align-items:center;gap:16px;padding:4px 0 22px;border-bottom:1px dotted #ddd7d3}
body.nsf-account-root .nsf-recorrido-intro-icon{width:52px;height:52px;flex:0 0 52px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#fbefef;color:#d3202a;font-size:25px}
body.nsf-account-root .nsf-recorrido-intro h2{margin:0 0 5px!important;color:#202735!important;font-size:20px!important}
body.nsf-account-root .nsf-recorrido-intro p{margin:0;color:#6f6965;line-height:1.55}
body.nsf-account-root .nsf-recorrido-client{padding-top:20px}
body.nsf-account-root .nsf-recorrido-count{display:flex;align-items:baseline;gap:8px;margin-bottom:12px;color:#6f6965}
body.nsf-account-root .nsf-recorrido-count strong{font-size:24px;color:#d3202a}
body.nsf-account-root .nsf-recorrido-timeline{list-style:none;margin:0;padding:0}
body.nsf-account-root .nsf-recorrido-step{position:relative;display:grid;grid-template-columns:38px minmax(0,1fr) 24px;align-items:center;gap:12px;min-height:70px;padding:8px 0}
body.nsf-account-root .nsf-recorrido-node{position:relative;z-index:2;width:34px;height:34px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#f7f0eb;border:1px solid #e2d8d1;color:#7c4d44;font-weight:700;font-size:13px}
body.nsf-account-root .nsf-recorrido-step.is-current .nsf-recorrido-node{background:#d3202a;border-color:#d3202a;color:#fff}
body.nsf-account-root .nsf-recorrido-line{position:absolute;left:17px;top:42px;bottom:-8px;width:1px;background:#e2d8d1}
body.nsf-account-root .nsf-recorrido-step:last-child .nsf-recorrido-line{display:none}
body.nsf-account-root .nsf-recorrido-step-link{display:flex;min-width:0;flex-direction:column;gap:3px;text-decoration:none!important}
body.nsf-account-root .nsf-recorrido-step-link strong{color:#202735;font-size:16px;line-height:1.3}
body.nsf-account-root .nsf-recorrido-step-link small{color:#7b746f;font-size:13px}
body.nsf-account-root .nsf-recorrido-step-link:hover strong{color:#d3202a}
body.nsf-account-root .nsf-recorrido-arrow{color:#d3202a;font-size:25px;text-align:right}
body.nsf-account-root .nsf-recorrido-empty{display:flex;align-items:center;gap:16px;padding:28px 10px;color:#6f6965}
body.nsf-account-root .nsf-recorrido-empty-icon{width:48px;height:48px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#f8f1ed;color:#d3202a;font-size:26px;flex:0 0 48px}
body.nsf-account-root .nsf-recorrido-empty h3{margin:0 0 5px;color:#202735;font-size:18px}
body.nsf-account-root .nsf-recorrido-empty p{margin:0;line-height:1.55}
body.nsf-account-root .nsf-recorrido-actions{display:flex;align-items:center;gap:12px;margin-top:14px;flex-wrap:wrap}
body.nsf-account-root .nsf-account-primary-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:10px 17px;border-radius:10px;background:#d3202a;color:#fff!important;text-decoration:none!important;font-weight:700}
body.nsf-account-root .nsf-account-primary-button:hover{background:#b91c24;color:#fff!important}
body.nsf-account-root .nsf-recorrido-clear{border:0;background:transparent;color:#7b746f;text-decoration:underline;cursor:pointer;font:inherit}
body.nsf-account-root .nsf-recorrido-privacy{margin:14px 0 0;color:#817a75;font-size:12px;line-height:1.5}
body.nsf-account-root .nsf-recorrido-privacy span{color:#d3202a}
body.nsf-account-root .nsf-dashboard-recorrido-icon{width:42px;height:42px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#fbefef;color:#d3202a;font-size:20px;flex:0 0 42px}
@media (max-width:700px){
 body.nsf-account-root .nsf-recorrido-intro{align-items:flex-start}
 body.nsf-account-root .nsf-recorrido-step{grid-template-columns:34px minmax(0,1fr) 18px;gap:10px}
 body.nsf-account-root .nsf-recorrido-node{width:30px;height:30px}
 body.nsf-account-root .nsf-recorrido-line{left:15px;top:38px}
 body.nsf-account-root .nsf-recorrido-step-link strong{font-size:15px}
 body.nsf-account-root .nsf-recorrido-arrow{font-size:21px}
}

/* 1.1.41 — Mi memoria */
body.nsf-account-root .nsf-memoria-hero{display:flex;align-items:center;gap:16px;margin-bottom:18px}
body.nsf-account-root .nsf-memoria-hero-icon{width:54px;height:54px;flex:0 0 54px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#fbefef;color:#d3202a;font-size:26px}
body.nsf-account-root .nsf-memoria-hero h2{margin:0 0 5px!important;color:#202735!important;font-size:21px!important}
body.nsf-account-root .nsf-memoria-hero p{margin:0;color:#6f6965;line-height:1.55}
body.nsf-account-root .nsf-memoria-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:18px}
body.nsf-account-root .nsf-memoria-stat{min-width:0;padding:20px;border:1px solid #e7e0dc;border-radius:14px;background:#fff;display:grid;grid-template-columns:42px minmax(0,1fr);column-gap:12px;align-items:center;text-decoration:none!important;transition:.18s ease}
body.nsf-account-root .nsf-memoria-stat:hover{border-color:#d3202a;transform:translateY(-1px)}
body.nsf-account-root .nsf-memoria-stat-icon{grid-row:span 3;width:42px;height:42px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#fbefef;color:#d3202a;font-size:21px}
body.nsf-account-root .nsf-memoria-stat strong{color:#202735;font-size:24px;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.nsf-account-root .nsf-memoria-stat>span:not(.nsf-memoria-stat-icon){color:#6f6965;font-size:13px}
body.nsf-account-root .nsf-memoria-stat small{margin-top:3px;color:#d3202a;font-weight:700}
body.nsf-account-root .nsf-memoria-last{cursor:pointer}
body.nsf-account-root .nsf-memoria-last.is-empty{cursor:default;opacity:.72;pointer-events:none}
body.nsf-account-root .nsf-memoria-last:hover{border-color:#d3202a;transform:translateY(-1px)}
body.nsf-account-root .nsf-memory-signal-list{display:grid;gap:0}
body.nsf-account-root .nsf-memory-signal{display:grid;grid-template-columns:42px minmax(0,1fr) 28px;gap:13px;align-items:center;padding:16px 0;border-top:1px dotted #ddd7d3}
body.nsf-account-root .nsf-memory-signal:first-child{border-top:0;padding-top:2px}
body.nsf-account-root .nsf-memory-signal-icon{width:42px;height:42px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#f7f0eb;color:#7c4d44;font-size:20px}
body.nsf-account-root .nsf-memory-signal strong{display:block;color:#202735;font-size:16px;margin-bottom:3px}
body.nsf-account-root .nsf-memory-signal p{margin:0;color:#6f6965;line-height:1.5;font-size:14px}
body.nsf-account-root .nsf-memory-signal>a{color:#d3202a!important;font-size:28px;text-align:right;text-decoration:none!important}
body.nsf-account-root .nsf-memoria-actions{margin-top:16px}
body.nsf-account-root .nsf-memoria-privacy{margin:14px 0 0;color:#817a75;font-size:12px;line-height:1.5}
body.nsf-account-root .nsf-memoria-privacy span{color:#d3202a}
@media (max-width:700px){
 body.nsf-account-root .nsf-memoria-hero{align-items:flex-start}
 body.nsf-account-root .nsf-memoria-stats{grid-template-columns:1fr}
 body.nsf-account-root .nsf-memoria-stat{padding:16px}
 body.nsf-account-root .nsf-memory-signal{grid-template-columns:38px minmax(0,1fr) 22px;gap:10px}
 body.nsf-account-root .nsf-memory-signal-icon{width:38px;height:38px}
 body.nsf-account-root .nsf-memory-signal p{font-size:13px}
}

/* 1.1.44: separacion visual entre Tus huellas y Ultimas obras visitadas */
body.nsf-account-root .nsf-memory-history{margin-top:26px}


/* 1.1.45: primer nivel de ADN de Mi memoria */
body.nsf-account-root .nsf-memory-adn{margin-top:18px;margin-bottom:18px}
body.nsf-account-root .nsf-memory-adn .nsf-card-heading{align-items:flex-start}
body.nsf-account-root .nsf-memory-adn .nsf-card-heading h2{margin-bottom:4px!important}
body.nsf-account-root .nsf-memory-adn .nsf-card-heading p{margin:0;color:#6f6965;font-size:13px;line-height:1.45}
body.nsf-account-root .nsf-memory-adn-badge{display:inline-flex;align-items:center;padding:6px 9px;border-radius:999px;background:#fbefef;color:#d3202a;font-size:10px;font-weight:800;letter-spacing:.05em;white-space:nowrap}
body.nsf-account-root .nsf-memory-adn-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:16px}
body.nsf-account-root .nsf-memory-adn-item{display:flex;align-items:center;gap:11px;padding:13px 14px;border:1px solid #eee7e3;border-radius:12px;background:#fff}
body.nsf-account-root .nsf-memory-adn-icon{width:34px;height:34px;flex:0 0 34px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#fbefef;font-size:17px}
body.nsf-account-root .nsf-memory-adn-item strong{display:block;color:#202735;font-size:15px}
body.nsf-account-root .nsf-memory-adn-item small{display:block;margin-top:2px;color:#817a75;font-size:11px}
body.nsf-account-root .nsf-memory-adn-empty{display:flex;align-items:center;gap:14px;margin-top:15px;padding:16px;border:1px dashed #dfd6d1;border-radius:12px;background:#fcfaf9}
body.nsf-account-root .nsf-memory-adn-empty>span{font-size:26px}
body.nsf-account-root .nsf-memory-adn-empty strong{display:block;color:#202735;margin-bottom:3px}
body.nsf-account-root .nsf-memory-adn-empty p{margin:0;color:#6f6965;font-size:13px;line-height:1.5}
@media (max-width:700px){body.nsf-account-root .nsf-memory-adn .nsf-card-heading{display:block}body.nsf-account-root .nsf-memory-adn-badge{margin-top:8px}body.nsf-account-root .nsf-memory-adn-list{grid-template-columns:1fr}}

/* 1.1.47 — Lo que creemos que te gusta */
body.nsf-account-root .nsf-memory-beliefs{margin:0 0 18px}
body.nsf-account-root .nsf-memory-beliefs .nsf-card-heading{align-items:flex-start}
body.nsf-account-root .nsf-memory-beliefs .nsf-card-heading h2{margin-bottom:4px!important}
body.nsf-account-root .nsf-memory-beliefs .nsf-card-heading p{margin:0;color:#6f6965;font-size:13px;line-height:1.5}
body.nsf-account-root .nsf-memory-beliefs-list{display:grid;gap:10px;margin-top:16px}
body.nsf-account-root .nsf-memory-belief{position:relative;display:flex;align-items:center;gap:12px;padding:14px;border:1px solid #eee7e3;border-radius:12px;background:#fff;overflow:hidden}
body.nsf-account-root .nsf-memory-belief-icon{width:38px;height:38px;flex:0 0 38px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#fbefef;font-size:18px}
body.nsf-account-root .nsf-memory-belief-content{min-width:0;flex:1}
body.nsf-account-root .nsf-memory-belief-content strong{display:block;color:#202735;font-size:15px}
body.nsf-account-root .nsf-memory-belief-content span{display:block;margin-top:2px;color:#d3202a;font-size:11px;font-weight:800}
body.nsf-account-root .nsf-memory-belief-content p{margin:4px 0 0;color:#817a75;font-size:12px;line-height:1.4}
body.nsf-account-root .nsf-memory-belief-confidence{width:54px;height:5px;flex:0 0 54px;border-radius:999px;background:#f1e9e6;overflow:hidden}
body.nsf-account-root .nsf-memory-belief-confidence i{display:block;height:100%;border-radius:inherit;background:#d3202a}
body.nsf-account-root .nsf-memory-beliefs-empty{display:flex;align-items:center;gap:14px;margin-top:15px;padding:16px;border:1px dashed #dfd6d1;border-radius:12px;background:#fcfaf9}
body.nsf-account-root .nsf-memory-beliefs-empty>span{font-size:26px;color:#d3202a}
body.nsf-account-root .nsf-memory-beliefs-empty strong{display:block;color:#202735;margin-bottom:3px}
body.nsf-account-root .nsf-memory-beliefs-empty p{margin:0;color:#6f6965;font-size:13px;line-height:1.5}
@media(max-width:700px){body.nsf-account-root .nsf-memory-belief{align-items:flex-start}body.nsf-account-root .nsf-memory-belief-confidence{margin-top:16px;width:42px;flex-basis:42px}}
body.nsf-account-root .nsf-memory-recommendation-why{margin:10px 0 12px;padding:10px 11px;border-left:3px solid #d3202a;border-radius:0 9px 9px 0;background:#fcf7f6}
body.nsf-account-root .nsf-memory-recommendation-why span{display:block;margin-bottom:4px;color:#d3202a;font-size:10px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}
body.nsf-account-root .nsf-memory-recommendation-why p{margin:0;color:#6f6965;font-size:12px;line-height:1.45}

/* 1.1.49 — Control de memoria */
body.nsf-account-root .nsf-memory-controls{margin-top:20px}
body.nsf-account-root .nsf-memory-control-status{display:inline-flex;align-items:center;padding:6px 9px;border-radius:999px;font-size:10px;font-weight:800;letter-spacing:.04em;white-space:nowrap;background:#fbefef;color:#d3202a}
body.nsf-account-root .nsf-memory-control-status.is-off{background:#f1eeec;color:#6f6965}
body.nsf-account-root .nsf-memory-control-list{display:grid;gap:0;margin-top:12px}
body.nsf-account-root .nsf-memory-control-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:17px 0;border-top:1px dotted #ddd7d3}
body.nsf-account-root .nsf-memory-control-row:first-child{border-top:0}
body.nsf-account-root .nsf-memory-control-row strong{display:block;color:#202735;font-size:15px;margin-bottom:3px}
body.nsf-account-root .nsf-memory-control-row p{margin:0;color:#6f6965;font-size:13px;line-height:1.45;max-width:620px}
body.nsf-account-root .nsf-memory-control-button{flex:0 0 auto;border:1px solid #d3202a;border-radius:10px;background:#d3202a;color:#fff;padding:10px 14px;font-size:12px;font-weight:800;cursor:pointer}
body.nsf-account-root .nsf-memory-control-button.is-secondary{background:#fff;color:#d3202a}
body.nsf-account-root .nsf-memory-control-button.is-danger{background:#fff;color:#b4232d;border-color:#e3c6c8}
body.nsf-account-root .nsf-memory-control-button:disabled{opacity:.55;cursor:wait}
@media(max-width:700px){body.nsf-account-root .nsf-memory-control-status{margin-top:8px}body.nsf-account-root .nsf-memory-control-row{align-items:flex-start;flex-direction:column;gap:10px}body.nsf-account-root .nsf-memory-control-button{width:100%}}

/* 1.1.53: separacion entre tarjetas de memoria */
body.nsf-account-root .nsf-memory-recommendations{margin-bottom:24px!important}
body.nsf-account-root .nsf-memory-beliefs{margin-bottom:24px!important}
body.nsf-account-root .nsf-memory-adn{margin-bottom:24px!important}

/* 1.1.53 — separación real entre bloques de Mi memoria */
body.nsf-account-root .nsf-account-memoria-view{
  display:flex;
  flex-direction:column;
  gap:24px;
}
body.nsf-account-root .nsf-account-memoria-view > *{
  margin-top:0!important;
  margin-bottom:0!important;
}
body.nsf-account-root .nsf-account-memoria-view > .nsf-memoria-stats{
  margin-bottom:0!important;
}
body.nsf-account-root .nsf-account-memoria-view > .nsf-memoria-actions{
  margin-top:0!important;
}
@media(max-width:700px){
  body.nsf-account-root .nsf-account-memoria-view{gap:20px}
}


/* 1.1.54 — separación del título y tipo en Últimas obras visitadas */
body.nsf-account-root .nsf-memory-history-list{
  display:flex;
  flex-direction:column;
  gap:10px;
}
body.nsf-account-root .nsf-memory-history-item{
  display:grid;
  grid-template-columns:10px minmax(0,1fr) 24px;
  align-items:center;
  column-gap:12px;
  padding:13px 4px;
  border-top:1px solid #eee7e3;
  text-decoration:none!important;
  color:#202735;
}
body.nsf-account-root .nsf-memory-history-item:first-child{
  border-top:0;
}
body.nsf-account-root .nsf-memory-history-item > span:nth-child(2){
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  gap:5px!important;
  min-width:0;
}
body.nsf-account-root .nsf-memory-history-item strong{
  display:block!important;
  color:#202735!important;
  font-size:15px!important;
  line-height:1.25!important;
  margin:0!important;
  white-space:normal!important;
}
body.nsf-account-root .nsf-memory-history-item small{
  display:block!important;
  color:#817a75!important;
  font-size:11px!important;
  line-height:1.25!important;
  margin:0!important;
}
body.nsf-account-root .nsf-memory-history-dot{
  width:8px!important;
  height:8px!important;
  border-radius:50%!important;
  background:#d3202a!important;
  display:block!important;
}
body.nsf-account-root .nsf-memory-history-item > b{
  color:#d3202a!important;
  font-size:22px!important;
  line-height:1!important;
  text-align:right!important;
}
body.nsf-account-root .nsf-memory-history-item:hover{
  background:#fff8f7;
  border-radius:10px;
}
@media(max-width:700px){
  body.nsf-account-root .nsf-memory-history-item{
    grid-template-columns:8px minmax(0,1fr) 20px;
    column-gap:10px;
    padding:12px 2px;
  }
  body.nsf-account-root .nsf-memory-history-item strong{
    font-size:14px!important;
  }
  body.nsf-account-root .nsf-memory-history-item small{
    font-size:10px!important;
  }
}

/* 1.1.56 — ADN reforzado: evidencia, nivel y confianza */
body.nsf-account-root .nsf-memory-adn-item{min-height:68px}
body.nsf-account-root .nsf-memory-adn-content{min-width:0;flex:1}
body.nsf-account-root .nsf-memory-adn-content small{display:block;margin-top:3px;color:#817a75;font-size:11px}
body.nsf-account-root .nsf-memory-adn-meter{display:block;height:4px;margin-top:8px;border-radius:999px;background:#f1e9e6;overflow:hidden}
body.nsf-account-root .nsf-memory-adn-meter i{display:block;height:100%;border-radius:inherit;background:#d3202a}

/* 1.1.60 — Rediseño visual de «Para ti» */
body.nsf-account-root .nsf-memory-recommendations{
  overflow:hidden;
}
body.nsf-account-root .nsf-memory-recommendations .nsf-card-heading{
  align-items:flex-start;
  padding-bottom:2px;
}
body.nsf-account-root .nsf-memory-recommendations .nsf-card-heading h2{
  margin-bottom:4px!important;
  color:#d3202a!important;
}
body.nsf-account-root .nsf-memory-recommendations .nsf-card-heading p{
  margin:0;
  color:#6f6965;
  font-size:13px;
  line-height:1.5;
}
body.nsf-account-root .nsf-memory-recommendations-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  min-height:28px;
  padding:0 11px;
  border:1px solid #f0d3d1;
  border-radius:999px;
  background:#fff7f6;
  color:#d3202a;
  font-size:10px;
  font-weight:800;
  letter-spacing:.06em;
  white-space:nowrap;
}
body.nsf-account-root .nsf-memory-recommendations-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  margin-top:18px;
}
body.nsf-account-root .nsf-memory-recommendation{
  display:flex;
  min-width:0;
  flex-direction:column;
  overflow:hidden;
  border:1px solid #e8e1dd;
  border-radius:15px;
  background:#fff;
  color:inherit;
  text-decoration:none!important;
  box-shadow:0 3px 12px rgba(32,39,51,.035);
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
body.nsf-account-root .nsf-memory-recommendation:hover{
  transform:translateY(-2px);
  border-color:#e0c4c1;
  box-shadow:0 9px 24px rgba(32,39,51,.08);
}
body.nsf-account-root .nsf-memory-recommendation-media{
  position:relative;
  height:158px;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#f3efec;
}
body.nsf-account-root .nsf-memory-recommendation-media:before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(135deg,#f7f0ed,#eee7e3);
}
body.nsf-account-root .nsf-memory-recommendation-media img{
  position:relative;
  z-index:1;
  width:100%;
  height:100%;
  object-fit:contain;
  padding:10px;
  box-sizing:border-box;
  filter:drop-shadow(0 5px 8px rgba(0,0,0,.12));
}
body.nsf-account-root .nsf-memory-recommendation-media>span{
  position:relative;
  z-index:1;
  color:#d3202a;
  font-size:28px;
}
body.nsf-account-root .nsf-memory-recommendation-body{
  display:flex;
  min-width:0;
  flex:1;
  flex-direction:column;
  padding:15px 15px 14px;
}
body.nsf-account-root .nsf-memory-recommendation-body>strong{
  display:block;
  color:#202735;
  font-family:Georgia,serif;
  font-size:18px;
  line-height:1.25;
}
body.nsf-account-root .nsf-memory-recommendation-why{
  margin:11px 0 13px!important;
  padding:10px 11px!important;
  border:1px solid #f0e2df!important;
  border-left:3px solid #d3202a!important;
  border-radius:0 9px 9px 0!important;
  background:#fff8f7!important;
}
body.nsf-account-root .nsf-memory-recommendation-why span{
  margin-bottom:5px!important;
  color:#d3202a!important;
  font-size:9px!important;
}
body.nsf-account-root .nsf-memory-recommendation-why p{
  color:#6f6965!important;
  font-size:12px!important;
  line-height:1.5!important;
}
body.nsf-account-root .nsf-memory-recommendation-body>a,
body.nsf-account-root .nsf-memory-recommendation-body>span:last-child{
  display:inline-flex;
  align-items:center;
  gap:5px;
  margin-top:auto;
  color:#d3202a!important;
  font-size:13px;
  font-weight:800;
  text-decoration:none!important;
}
body.nsf-account-root .nsf-memory-recommendation-body>span:last-child b{
  font-size:18px;
  line-height:1;
  transition:transform .15s ease;
}
body.nsf-account-root .nsf-memory-recommendation:hover .nsf-memory-recommendation-body>span:last-child b{
  transform:translateX(3px);
}
@media(max-width:700px){
  body.nsf-account-root .nsf-memory-recommendations .nsf-card-heading{display:block}
  body.nsf-account-root .nsf-memory-recommendations-badge{margin-top:9px}
  body.nsf-account-root .nsf-memory-recommendations-grid{grid-template-columns:1fr;gap:13px;margin-top:16px}
  body.nsf-account-root .nsf-memory-recommendation{border-radius:13px}
  body.nsf-account-root .nsf-memory-recommendation-media{height:190px}
  body.nsf-account-root .nsf-memory-recommendation-body{padding:14px}
}


/* 1.1.61 — Perfil inteligente de Mi memoria */
body.nsf-account-root .nsf-memory-profile{margin-top:24px!important}
body.nsf-account-root .nsf-memory-profile-badge{display:inline-flex;align-items:center;padding:6px 9px;border-radius:999px;background:#fbefef;color:#d3202a;font-size:10px;font-weight:800;letter-spacing:.05em;white-space:nowrap}
body.nsf-account-root .nsf-memory-profile-main{display:flex;align-items:flex-start;gap:14px;margin-top:16px;padding:18px;border:1px solid #eee7e3;border-radius:14px;background:linear-gradient(135deg,#fff,#fcfaf9)}
body.nsf-account-root .nsf-memory-profile-icon{width:42px;height:42px;flex:0 0 42px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#fbefef;color:#d3202a;font-size:20px}
body.nsf-account-root .nsf-memory-profile-summary{margin:0;color:#202735;font-size:16px;line-height:1.55;font-weight:700}
body.nsf-account-root .nsf-memory-profile-evidence{margin:7px 0 0;color:#6f6965;font-size:12px;line-height:1.55}
body.nsf-account-root .nsf-memory-profile-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
body.nsf-account-root .nsf-memory-profile-tag{display:inline-flex;align-items:center;gap:6px;padding:8px 10px;border:1px solid #e8dfdb;border-radius:999px;background:#fff;color:#514a46;font-size:11px;font-weight:700}
body.nsf-account-root .nsf-memory-profile-tag b{font-size:12px;color:#d3202a}
body.nsf-account-root .nsf-memory-profile-note{margin:12px 0 0;color:#8a827c;font-size:11px;line-height:1.45}
@media(max-width:700px){body.nsf-account-root .nsf-memory-profile .nsf-card-heading{display:block}body.nsf-account-root .nsf-memory-profile-badge{margin-top:8px}body.nsf-account-root .nsf-memory-profile-main{padding:15px}.nsf-memory-profile-summary{font-size:15px}}

body.nsf-account-root .nsf-memory-ai-box{margin-top:16px;padding:18px;border:1px solid #eadfdb;border-radius:14px;background:#fff}
body.nsf-account-root .nsf-memory-ai-heading{display:flex;align-items:flex-start;gap:12px}
body.nsf-account-root .nsf-memory-ai-heading>span{width:36px;height:36px;display:flex;align-items:center;justify-content:center;flex:0 0 36px;border-radius:50%;background:#fbefef;color:#d3202a;font-weight:800}
body.nsf-account-root .nsf-memory-ai-heading strong{display:block;color:#202735;font-size:13px}
body.nsf-account-root .nsf-memory-ai-heading p{margin:4px 0 0;color:#77716d;font-size:11px;line-height:1.45}
body.nsf-account-root .nsf-memory-ai-result{margin-top:14px;padding:14px;border-radius:12px;background:#fcfaf9}
body.nsf-account-root .nsf-memory-ai-summary{margin:0;color:#202735;font-size:14px;line-height:1.55;font-weight:700}
body.nsf-account-root .nsf-memory-ai-evidence{margin:7px 0 0;color:#77716d;font-size:11px;line-height:1.5}
body.nsf-account-root .nsf-memory-ai-interests{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px}
body.nsf-account-root .nsf-memory-ai-interests span{display:flex;flex-direction:column;gap:3px;padding:10px;border:1px solid #eee5e1;border-radius:10px;background:#fff}
body.nsf-account-root .nsf-memory-ai-interests b{color:#d3202a;font-size:11px}
body.nsf-account-root .nsf-memory-ai-interests small{color:#77716d;font-size:10px;line-height:1.4}
body.nsf-account-root .nsf-memory-ai-placeholder{margin:14px 0;color:#77716d;font-size:12px;line-height:1.55}
body.nsf-account-root .nsf-memory-ai-button{margin-top:12px}
body.nsf-account-root .nsf-memory-ai-status{margin-top:8px;color:#77716d;font-size:10px;min-height:15px}
@media(max-width:700px){body.nsf-account-root .nsf-memory-ai-interests{grid-template-columns:1fr}}


/* 1.1.63 — Pulido visual del perfil inteligente de Mi memoria */
body.nsf-account-root .nsf-memory-ai-box{
  margin-top:22px!important;
  padding:0!important;
  border:1px solid #e7dfdb!important;
  border-radius:16px!important;
  background:#fff!important;
  overflow:hidden;
  box-shadow:0 4px 18px rgba(32,39,53,.045);
}
body.nsf-account-root .nsf-memory-ai-heading{
  position:relative;
  padding:18px 20px 16px;
  display:flex;
  align-items:center!important;
  gap:13px;
  background:linear-gradient(180deg,#fffafa 0%,#fff 100%);
  border-bottom:1px solid #eee7e3;
}
body.nsf-account-root .nsf-memory-ai-heading>span{
  width:42px!important;height:42px!important;flex:0 0 42px!important;
  border-radius:50%!important;background:#fbeded!important;color:#d3202a!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  font-size:20px;font-weight:800;
}
body.nsf-account-root .nsf-memory-ai-heading>div{min-width:0}
body.nsf-account-root .nsf-memory-ai-heading strong{
  display:block;color:#202735;font-family:Georgia,'Times New Roman',serif;
  font-size:20px;line-height:1.2;letter-spacing:-.01em;
}
body.nsf-account-root .nsf-memory-ai-heading p{
  margin:5px 0 0;color:#746d68;font-size:12px;line-height:1.5;font-weight:500;
}
body.nsf-account-root .nsf-memory-ai-result{
  margin:0!important;padding:20px!important;border:0!important;border-radius:0!important;
  background:#fff!important;
}
body.nsf-account-root .nsf-memory-ai-summary{
  margin:0!important;color:#202735!important;font-size:17px!important;line-height:1.58!important;font-weight:700!important;
}
body.nsf-account-root .nsf-memory-ai-evidence{
  margin:10px 0 0!important;padding-top:11px;border-top:1px solid #f0ebe8;
  color:#716a66!important;font-size:12px!important;line-height:1.6!important;
}
body.nsf-account-root .nsf-memory-ai-interests{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px!important;
  margin:0!important;padding:0 20px 18px!important;
}
body.nsf-account-root .nsf-memory-ai-interests span{
  min-height:72px;box-sizing:border-box;display:flex!important;flex-direction:column!important;justify-content:center!important;
  gap:5px!important;padding:12px 13px!important;border:1px solid #eee5e1!important;border-radius:12px!important;
  background:#fcfaf9!important;
}
body.nsf-account-root .nsf-memory-ai-interests b{color:#d3202a!important;font-size:13px!important;line-height:1.25}
body.nsf-account-root .nsf-memory-ai-interests small{color:#6f6965!important;font-size:11px!important;line-height:1.45}
body.nsf-account-root .nsf-memory-ai-placeholder{
  margin:0!important;padding:20px;color:#6f6965;font-size:13px;line-height:1.6;
}
body.nsf-account-root .nsf-memory-ai-button{
  margin:0 20px 18px!important;
  min-height:42px!important;border-radius:10px!important;
  padding:10px 16px!important;
  background:#d3202a!important;
  border:1px solid #d3202a!important;
  color:#fff!important;
  box-shadow:none!important;
  font-weight:700!important;
  cursor:pointer!important;
}
body.nsf-account-root .nsf-memory-ai-button:hover,
body.nsf-account-root .nsf-memory-ai-button:focus,
body.nsf-account-root .nsf-memory-ai-button:active{
  background:#b91c24!important;
  border-color:#b91c24!important;
  color:#fff!important;
}

body.nsf-account-root .nsf-memory-ai-status{
  margin:0!important;padding:0 20px 14px;color:#8a827c;font-size:11px;min-height:16px;
}
@media(max-width:700px){
  body.nsf-account-root .nsf-memory-ai-heading{padding:16px 15px 14px}
  body.nsf-account-root .nsf-memory-ai-heading strong{font-size:18px}
  body.nsf-account-root .nsf-memory-ai-result{padding:16px!important}
  body.nsf-account-root .nsf-memory-ai-summary{font-size:15px!important}
  body.nsf-account-root .nsf-memory-ai-interests{grid-template-columns:1fr!important;padding:0 15px 15px!important}
  body.nsf-account-root .nsf-memory-ai-button{width:calc(100% - 30px);margin-left:15px!important;margin-right:15px!important}
  body.nsf-account-root .nsf-memory-ai-status{padding-left:15px;padding-right:15px}
}

/* 1.1.65 — evolución del perfil NSF */
body.nsf-account-root .nsf-memory-evolution{margin-top:16px;padding:15px 16px;border:1px solid #eee5e1;border-radius:14px;background:#fff}
body.nsf-account-root .nsf-memory-evolution-heading{display:flex;align-items:flex-start;gap:10px}
body.nsf-account-root .nsf-memory-evolution-heading>span{width:32px;height:32px;flex:0 0 32px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#fbefef;color:#d3202a;font-weight:800}
body.nsf-account-root .nsf-memory-evolution-heading strong{display:block;color:#202735;font-size:13px}
body.nsf-account-root .nsf-memory-evolution-heading p{margin:3px 0 0;color:#77716d;font-size:11px;line-height:1.45}
body.nsf-account-root .nsf-memory-evolution-empty{margin-top:12px;padding:12px;border-radius:10px;background:#fcfaf9}
body.nsf-account-root .nsf-memory-evolution-empty strong{color:#202735;font-size:12px}
body.nsf-account-root .nsf-memory-evolution-empty p{margin:4px 0 0;color:#77716d;font-size:11px;line-height:1.45}
body.nsf-account-root .nsf-memory-evolution-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}
body.nsf-account-root .nsf-memory-evolution-item{display:flex;align-items:flex-start;gap:9px;padding:11px;border:1px solid #eee5e1;border-radius:10px;background:#fcfaf9}
body.nsf-account-root .nsf-memory-evolution-item>span{font-weight:900;color:#d3202a;font-size:16px;line-height:1}
body.nsf-account-root .nsf-memory-evolution-item.is-faded>span{color:#8a827c}
body.nsf-account-root .nsf-memory-evolution-item strong{display:block;color:#202735;font-size:11px}
body.nsf-account-root .nsf-memory-evolution-item p{margin:3px 0 0;color:#77716d;font-size:10px;line-height:1.4}
@media(max-width:700px){body.nsf-account-root .nsf-memory-evolution-grid{grid-template-columns:1fr}}


/* 1.1.66 — Memoria a largo plazo */
body.nsf-account-root .nsf-memory-long-term{margin-top:24px!important}
body.nsf-account-root .nsf-memory-long-term-badge{display:inline-flex;align-items:center;padding:6px 9px;border-radius:999px;background:#fbefef;color:#d3202a;font-size:10px;font-weight:800;letter-spacing:.05em;white-space:nowrap}
body.nsf-account-root .nsf-memory-long-term-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:16px}
body.nsf-account-root .nsf-memory-long-term-item{display:flex;align-items:flex-start;gap:11px;padding:13px;border:1px solid #eee5e1;border-radius:12px;background:#fcfaf9}
body.nsf-account-root .nsf-memory-long-term-icon{width:34px;height:34px;flex:0 0 34px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#fbeded;color:#d3202a;font-size:18px;font-weight:700}
body.nsf-account-root .nsf-memory-long-term-content{min-width:0;flex:1}
body.nsf-account-root .nsf-memory-long-term-content strong{display:block;color:#202735;font-size:13px;line-height:1.3}
body.nsf-account-root .nsf-memory-long-term-content small{display:block;margin-top:4px;color:#77716d;font-size:10px;line-height:1.4}
body.nsf-account-root .nsf-memory-long-term-meter{display:block;height:5px;margin-top:9px;border-radius:999px;background:#eee7e3;overflow:hidden}
body.nsf-account-root .nsf-memory-long-term-meter i{display:block;height:100%;border-radius:999px;background:#d3202a}
body.nsf-account-root .nsf-memory-long-term-empty{display:flex;align-items:flex-start;gap:12px;margin-top:15px;padding:14px;border-radius:11px;background:#fcfaf9}
body.nsf-account-root .nsf-memory-long-term-empty>span{color:#d3202a;font-size:22px;line-height:1}
body.nsf-account-root .nsf-memory-long-term-empty strong{display:block;color:#202735;font-size:12px}
body.nsf-account-root .nsf-memory-long-term-empty p{margin:4px 0 0;color:#77716d;font-size:11px;line-height:1.5}
body.nsf-account-root .nsf-memory-long-term-note{margin:12px 0 0;color:#8a827c;font-size:10px;line-height:1.45}
body.nsf-account-root .nsf-memory-long-term-note span{color:#d3202a}
@media(max-width:700px){body.nsf-account-root .nsf-memory-long-term .nsf-card-heading{display:block}body.nsf-account-root .nsf-memory-long-term-badge{margin-top:8px}body.nsf-account-root .nsf-memory-long-term-list{grid-template-columns:1fr;gap:9px}}

/* NSF 1.1.68 — memoria a largo plazo */
.nsf-memory-long-term{margin-top:24px}
.nsf-memory-long-term-badge{font-size:11px;letter-spacing:.08em;font-weight:800;color:#D3202A;background:rgba(211,32,42,.08);padding:7px 10px;border-radius:999px;white-space:nowrap}
.nsf-memory-long-term-list{display:grid;gap:10px}
.nsf-memory-long-term-item{display:flex;align-items:center;gap:12px;padding:14px 16px;border:1px solid rgba(32,39,53,.08);border-radius:12px;background:#fff}
.nsf-memory-long-term-icon{width:34px;height:34px;display:flex;align-items:center;justify-content:center;border-radius:10px;background:rgba(211,32,42,.07);flex:0 0 34px}
.nsf-memory-long-term-content{flex:1;min-width:0;display:grid;gap:4px}
.nsf-memory-long-term-content strong{color:#202735;font-size:15px}
.nsf-memory-long-term-content small{color:#6d7480;font-size:12px}
.nsf-memory-long-term-meter{height:5px;background:#edf0f3;border-radius:999px;overflow:hidden;display:block}
.nsf-memory-long-term-meter i{display:block;height:100%;background:#D3202A;border-radius:999px}
.nsf-memory-long-term-works{font-size:11px;color:#6d7480;white-space:nowrap}
.nsf-memory-long-term-empty{display:flex;gap:12px;align-items:flex-start;padding:18px;border-radius:12px;background:#fafafa}
.nsf-memory-long-term-empty>span{font-size:24px;color:#D3202A}
.nsf-memory-long-term-empty strong{display:block;color:#202735;margin-bottom:4px}
.nsf-memory-long-term-empty p{margin:0;color:#6d7480;font-size:13px;line-height:1.5}
@media(max-width:767px){.nsf-memory-long-term-badge{font-size:9px}.nsf-memory-long-term-item{padding:12px}.nsf-memory-long-term-works{font-size:10px}}

body.nsf-account-root .nsf-memory-recommendation-kind{display:inline-flex;align-items:center;align-self:flex-start;margin-bottom:7px;padding:4px 7px;border:1px solid #f0d4d2;border-radius:999px;color:#d3202a;background:#fff8f7;font-size:9px;font-weight:800;letter-spacing:.07em;line-height:1;text-transform:uppercase}


/* NSF 1.1.72 — actividad temporal de Mi memoria */
body.nsf-account-root .nsf-memory-activity{margin-top:24px}
body.nsf-account-root .nsf-memory-activity-badge{display:inline-flex;align-items:center;padding:6px 9px;border-radius:999px;background:#fbefef;color:#d3202a;font-size:10px;font-weight:800;letter-spacing:.05em;white-space:nowrap}
body.nsf-account-root .nsf-memory-activity-tabs{display:flex;gap:7px;margin-top:16px;padding-bottom:2px;overflow:auto;scrollbar-width:none}
body.nsf-account-root .nsf-memory-activity-tabs::-webkit-scrollbar{display:none}
body.nsf-account-root .nsf-memory-activity-tab{appearance:none;border:1px solid #e8e0dc;border-radius:999px;background:#fff;color:#6f6965;padding:8px 11px;font:inherit;font-size:11px;font-weight:700;line-height:1;cursor:pointer;white-space:nowrap}
body.nsf-account-root .nsf-memory-activity-tab:hover,body.nsf-account-root .nsf-memory-activity-tab.is-active{border-color:#d3202a;background:#d3202a;color:#fff}
body.nsf-account-root .nsf-memory-activity-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:16px}
body.nsf-account-root .nsf-memory-activity-stat{padding:16px;border:1px solid #eee7e3;border-radius:12px;background:#fff;text-align:center}
body.nsf-account-root .nsf-memory-activity-stat>span{display:flex;align-items:center;justify-content:center;width:34px;height:34px;margin:0 auto 8px;border-radius:50%;background:#fbefef;color:#d3202a;font-size:16px}
body.nsf-account-root .nsf-memory-activity-stat strong{display:block;color:#202735;font-size:22px;line-height:1.1}
body.nsf-account-root .nsf-memory-activity-stat small{display:block;margin-top:5px;color:#817a75;font-size:11px;line-height:1.35}
body.nsf-account-root .nsf-memory-activity-note{margin:13px 0 0;color:#817a75;font-size:11px;line-height:1.5}
body.nsf-account-root .nsf-memory-activity-note span{color:#d3202a}
@media(max-width:700px){body.nsf-account-root .nsf-memory-activity .nsf-card-heading{display:block}body.nsf-account-root .nsf-memory-activity-badge{margin-top:8px}body.nsf-account-root .nsf-memory-activity-grid{grid-template-columns:1fr;gap:8px}body.nsf-account-root .nsf-memory-activity-stat{display:grid;grid-template-columns:34px 1fr;grid-template-rows:auto auto;column-gap:10px;align-items:center;text-align:left;padding:12px}body.nsf-account-root .nsf-memory-activity-stat>span{grid-row:1 / span 2;margin:0}body.nsf-account-root .nsf-memory-activity-stat strong{font-size:19px}body.nsf-account-root .nsf-memory-activity-stat small{margin-top:1px}}


/* 1.1.73 — Tu actividad integrada con la evolución del perfil */
body.nsf-account-root .nsf-memory-activity{margin-top:24px}
body.nsf-account-root .nsf-memory-activity-badge{display:inline-flex;align-items:center;padding:6px 9px;border-radius:999px;background:#fbefef;color:#d3202a;font-size:10px;font-weight:800;letter-spacing:.05em;white-space:nowrap}
body.nsf-account-root .nsf-memory-activity-tabs{display:flex;gap:7px;margin-top:16px;overflow:auto;scrollbar-width:none}
body.nsf-account-root .nsf-memory-activity-tabs::-webkit-scrollbar{display:none}
body.nsf-account-root .nsf-memory-activity-tab{appearance:none;border:1px solid #e8e0dc;border-radius:999px;background:#fff;color:#6f6965;padding:8px 11px;font:inherit;font-size:11px;font-weight:700;line-height:1;cursor:pointer;white-space:nowrap}
body.nsf-account-root .nsf-memory-activity-tab:hover,body.nsf-account-root .nsf-memory-activity-tab.is-active{border-color:#d3202a;background:#d3202a;color:#fff}
body.nsf-account-root .nsf-memory-activity-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:16px}
body.nsf-account-root .nsf-memory-activity-stat{padding:16px;border:1px solid #eee7e3;border-radius:12px;background:#fff;text-align:center}
body.nsf-account-root .nsf-memory-activity-stat>span{display:flex;align-items:center;justify-content:center;width:34px;height:34px;margin:0 auto 8px;border-radius:50%;background:#fbefef;color:#d3202a;font-size:16px}
body.nsf-account-root .nsf-memory-activity-stat strong{display:block;color:#202735;font-size:22px;line-height:1.1}
body.nsf-account-root .nsf-memory-activity-stat small{display:block;margin-top:5px;color:#817a75;font-size:11px;line-height:1.35}
body.nsf-account-root .nsf-memory-activity-note{margin:13px 0 0;color:#817a75;font-size:11px;line-height:1.5}
body.nsf-account-root .nsf-memory-activity-note span{color:#d3202a}
@media(max-width:700px){body.nsf-account-root .nsf-memory-activity .nsf-card-heading{display:block}body.nsf-account-root .nsf-memory-activity-badge{margin-top:8px}body.nsf-account-root .nsf-memory-activity-grid{grid-template-columns:1fr;gap:8px}body.nsf-account-root .nsf-memory-activity-stat{display:grid;grid-template-columns:34px 1fr;grid-template-rows:auto auto;column-gap:10px;align-items:center;text-align:left;padding:12px}body.nsf-account-root .nsf-memory-activity-stat>span{grid-row:1 / span 2;margin:0}body.nsf-account-root .nsf-memory-activity-stat strong{font-size:19px}body.nsf-account-root .nsf-memory-activity-stat small{margin-top:1px}}

body.nsf-account-root .nsf-lite-card{border:1px solid #d3202a;background:#fffafa}
body.nsf-account-root .nsf-lite-card .nsf-card-heading{align-items:flex-start}
body.nsf-account-root .nsf-lite-card .nsf-memory-control-button:not(.is-secondary){background:#d3202a;color:#fff;border-color:#d3202a}

/* 1.1.80 · controles de personalización de fichas y NSF Lite */
.nsf-memory-controls .nsf-lite-row{margin-top:8px;border-top:1px solid rgba(32,39,53,.08);padding-top:18px}
.nsf-memory-controls .nsf-memory-control-button{white-space:nowrap}
@media(max-width:760px){.nsf-memory-controls .nsf-memory-control-row{gap:14px}.nsf-memory-controls .nsf-memory-control-button{width:100%;text-align:center}}

/* 1.1.92 — Zona de eliminación de cuenta */
body.nsf-account-root .nsf-account-delete-zone{margin-top:24px;border:1px solid #ead2d2;background:#fffafa}
body.nsf-account-root .nsf-account-delete-zone .nsf-card-heading>span{display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:#fbeaea;color:#b4232d;font-size:16px;flex:0 0 34px}
body.nsf-account-root .nsf-account-delete-inner{padding-top:14px}
body.nsf-account-root .nsf-account-delete-inner>label{display:block;color:#202735;font-size:13px;margin-bottom:8px}
body.nsf-account-root .nsf-account-delete-inner>label strong{color:#b4232d;letter-spacing:.04em}
body.nsf-account-root .nsf-account-delete-form{display:flex;gap:10px;align-items:center}
body.nsf-account-root .nsf-account-delete-form input{min-width:220px;flex:1;border:1px solid #d9d0cc;border-radius:10px;padding:11px 12px;background:#fff;color:#202735;font-size:13px}
body.nsf-account-root .nsf-account-delete-form input:focus{outline:2px solid rgba(211,32,42,.16);border-color:#d3202a}
body.nsf-account-root .nsf-account-delete-note{margin:10px 0 0;color:#77706c;font-size:12px;line-height:1.5}
body.nsf-account-root .nsf-account-delete-status{margin-top:10px;color:#b4232d;font-size:12px;font-weight:700}
@media(max-width:700px){body.nsf-account-root .nsf-account-delete-form{flex-direction:column;align-items:stretch}body.nsf-account-root .nsf-account-delete-form input{min-width:0;width:100%}}

/* 1.2.3 — Preferencias de newsletter */
body.nsf-account-root .nsf-newsletter-preferences{margin-top:24px}
body.nsf-account-root .nsf-newsletter-status{font-size:10px;letter-spacing:.06em;font-weight:800;padding:7px 10px;border-radius:999px;white-space:nowrap}
body.nsf-account-root .nsf-newsletter-status.is-on{background:#eef8f1;color:#26723f}
body.nsf-account-root .nsf-newsletter-status.is-off{background:#f8eeee;color:#a22b34}
body.nsf-account-root .nsf-newsletter-master{display:flex;gap:12px;align-items:flex-start;margin-top:18px;padding:14px 16px;border:1px solid #eee7e3;border-radius:12px;background:#fff}
body.nsf-account-root .nsf-newsletter-master input,body.nsf-account-root .nsf-newsletter-check input,body.nsf-account-root .nsf-newsletter-frequency input,body.nsf-account-root .nsf-newsletter-personalization input{accent-color:#d3202a}
body.nsf-account-root .nsf-newsletter-master span,body.nsf-account-root .nsf-newsletter-personalization span{display:grid;gap:3px}
body.nsf-account-root .nsf-newsletter-master small,body.nsf-account-root .nsf-newsletter-personalization small{color:#77706c;font-size:11px;line-height:1.45}
body.nsf-account-root .nsf-newsletter-options{margin-top:14px;transition:opacity .15s ease}
body.nsf-account-root .nsf-newsletter-check{display:flex;gap:10px;align-items:center;padding:10px 0;border-bottom:1px solid #f0ebe8;font-size:13px;color:#202735}
body.nsf-account-root .nsf-newsletter-frequency{display:grid;gap:9px;margin-top:18px;padding:14px 16px;border-radius:12px;background:#faf8f7;color:#55504c;font-size:12px}
body.nsf-account-root .nsf-newsletter-frequency strong{color:#202735;font-size:13px}
body.nsf-account-root .nsf-newsletter-personalization{display:flex;gap:10px;align-items:flex-start;margin-top:16px;padding:14px 16px;border:1px solid #eee7e3;border-radius:12px;background:#fff}
body.nsf-account-root .nsf-newsletter-save-status{display:inline-block;margin-left:10px;color:#26723f;font-size:12px;font-weight:700}
@media(max-width:700px){body.nsf-account-root .nsf-newsletter-preferences .nsf-card-heading{display:block}body.nsf-account-root .nsf-newsletter-status{display:inline-block;margin-top:8px}.nsf-newsletter-save-status{display:block;margin:10px 0 0}}

/* NSF 1.3.37 — Inicio de Mi cuenta */
.nsf-account-dashboard .nsf-account-heading{
  margin-bottom:24px;
}
.nsf-account-dashboard .nsf-account-heading h1{
  margin:0 0 7px !important;
  font-size:34px !important;
  line-height:1.1 !important;
  letter-spacing:-.02em !important;
}
.nsf-account-dashboard .nsf-account-heading p{
  margin:0 !important;
  max-width:680px !important;
  color:#686868 !important;
  font-size:15px !important;
  line-height:1.5 !important;
}

/* Resumen: menos aspecto de cuatro bloques idénticos y más jerarquía */
.nsf-account-dashboard .nsf-account-stat-grid{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:12px !important;
  margin-bottom:18px !important;
}
.nsf-account-dashboard .nsf-account-stat{
  min-height:126px !important;
  padding:18px !important;
  border:1px solid #e7e7e7 !important;
  border-radius:12px !important;
  background:#fff !important;
  transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease !important;
}
.nsf-account-dashboard .nsf-account-stat:hover{
  transform:translateY(-2px) !important;
  border-color:#d8d8d8 !important;
  box-shadow:0 7px 18px rgba(0,0,0,.06) !important;
}
.nsf-account-dashboard .nsf-account-stat .nsf-stat-icon{
  width:32px !important;
  height:32px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  margin-bottom:12px !important;
  border-radius:50% !important;
  background:#f7f7f7 !important;
}
.nsf-account-dashboard .nsf-account-stat > strong{
  display:block !important;
  margin-bottom:2px !important;
  font-size:24px !important;
  line-height:1.1 !important;
}
.nsf-account-dashboard .nsf-account-stat > span:not(.nsf-stat-icon){
  color:#555 !important;
  font-size:13px !important;
}
.nsf-account-dashboard .nsf-account-stat small{
  display:block !important;
  margin-top:9px !important;
  color:#df1720 !important;
  font-size:12px !important;
}

/* Tarjetas principales */
.nsf-account-dashboard .nsf-account-card{
  border:1px solid #e7e7e7 !important;
  border-radius:12px !important;
  background:#fff !important;
}
.nsf-account-dashboard .nsf-card-heading{
  padding-bottom:14px !important;
  border-bottom:1px solid #ededed !important;
}
.nsf-account-dashboard .nsf-card-heading h2{
  font-size:19px !important;
}

/* Pedidos más limpios */
.nsf-account-dashboard .nsf-order-row{
  min-height:68px !important;
  padding:11px 0 !important;
}
.nsf-account-dashboard .nsf-order-thumb{
  width:48px !important;
  height:58px !important;
  border-radius:7px !important;
}

/* Mobile */
@media(max-width:900px){
  .nsf-account-dashboard .nsf-account-stat-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}
@media(max-width:600px){
  .nsf-account-dashboard .nsf-account-heading h1{
    font-size:29px !important;
  }
  .nsf-account-dashboard .nsf-account-heading{
    margin-bottom:18px !important;
  }
  .nsf-account-dashboard .nsf-account-stat-grid{
    gap:9px !important;
    margin-bottom:13px !important;
  }
  .nsf-account-dashboard .nsf-account-stat{
    min-height:112px !important;
    padding:14px !important;
    border-radius:10px !important;
  }
  .nsf-account-dashboard .nsf-account-stat .nsf-stat-icon{
    margin-bottom:8px !important;
  }
  .nsf-account-dashboard .nsf-account-stat > strong{
    font-size:21px !important;
  }
  .nsf-account-dashboard .nsf-account-columns{
    gap:13px !important;
  }
}

/* NSF 1.3.38 — Cabecera, perfil y navegación de Mi cuenta */
.nsf-account-dashboard .nsf-account-sidebar{
  position:sticky !important;
  top:24px !important;
  align-self:start !important;
  padding:18px !important;
  border:1px solid #e6e6e6 !important;
  border-radius:14px !important;
  background:#fff !important;
}
.nsf-account-dashboard .nsf-account-profile{
  position:relative !important;
  display:grid !important;
  grid-template-columns:46px minmax(0,1fr) !important;
  column-gap:12px !important;
  align-items:center !important;
  padding:8px 4px 17px !important;
  margin-bottom:13px !important;
  border-bottom:1px solid #ededed !important;
}
.nsf-account-dashboard .nsf-account-profile-label{
  grid-column:1 / -1 !important;
  margin:0 0 8px !important;
  color:#777 !important;
  font-size:11px !important;
  font-weight:700 !important;
  letter-spacing:.08em !important;
  text-transform:uppercase !important;
}
.nsf-account-dashboard .nsf-account-avatar{
  width:46px !important;
  height:46px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  border-radius:50% !important;
  background:#f5f5f5 !important;
  color:#222 !important;
  font-size:18px !important;
  font-weight:700 !important;
}
.nsf-account-dashboard .nsf-account-profile strong{
  display:block !important;
  margin-bottom:4px !important;
  font-size:15px !important;
  line-height:1.25 !important;
}
.nsf-account-dashboard .nsf-account-profile a{
  color:#df1720 !important;
  font-size:12px !important;
  text-decoration:none !important;
}
.nsf-account-dashboard .nsf-account-nav{
  display:flex !important;
  flex-direction:column !important;
  gap:3px !important;
}
.nsf-account-dashboard .nsf-account-nav a{
  display:flex !important;
  align-items:center !important;
  gap:11px !important;
  min-height:43px !important;
  padding:9px 11px !important;
  border-radius:8px !important;
  color:#444 !important;
  font-size:14px !important;
  font-weight:600 !important;
  text-decoration:none !important;
  transition:background-color .15s ease,color .15s ease,transform .15s ease !important;
}
.nsf-account-dashboard .nsf-account-nav a > span{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:24px !important;
  flex:0 0 24px !important;
  color:#777 !important;
  font-size:17px !important;
  line-height:1 !important;
}
.nsf-account-dashboard .nsf-account-nav a:hover{
  background:#f7f7f7 !important;
  color:#171717 !important;
}
.nsf-account-dashboard .nsf-account-nav a.is-active{
  background:#fdf0f1 !important;
  color:#df1720 !important;
  font-weight:700 !important;
}
.nsf-account-dashboard .nsf-account-nav a.is-active > span{
  color:#df1720 !important;
}
.nsf-account-dashboard .nsf-account-nav .nsf-account-logout{
  margin-top:8px !important;
  padding-top:13px !important;
  border-top:1px solid #ededed !important;
  color:#777 !important;
  font-weight:500 !important;
}
.nsf-account-dashboard .nsf-account-nav .nsf-account-logout:hover{
  background:#fafafa !important;
  color:#df1720 !important;
}

@media(max-width:900px){
  .nsf-account-dashboard .nsf-account-sidebar{
    position:relative !important;
    top:auto !important;
  }
}
@media(max-width:600px){
  .nsf-account-dashboard .nsf-account-sidebar{
    padding:14px !important;
    border-radius:11px !important;
  }
  .nsf-account-dashboard .nsf-account-profile{
    padding-bottom:13px !important;
    margin-bottom:10px !important;
  }
  .nsf-account-dashboard .nsf-account-nav{
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:4px !important;
  }
  .nsf-account-dashboard .nsf-account-nav a{
    min-height:41px !important;
    padding:8px 9px !important;
    font-size:12px !important;
  }
  .nsf-account-dashboard .nsf-account-nav a > span{
    width:20px !important;
    flex-basis:20px !important;
    font-size:15px !important;
  }
  .nsf-account-dashboard .nsf-account-nav .nsf-account-logout{
    grid-column:1 / -1 !important;
  }
}

/* NSF 1.3.39 — tarjetas de resumen de Mi cuenta */
.nsf-account-dashboard .nsf-account-stat-grid{
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:14px !important;
  margin-bottom:22px !important;
}
.nsf-account-dashboard .nsf-account-stat{
  position:relative !important;
  min-height:154px !important;
  padding:20px 18px !important;
  align-items:flex-start !important;
  text-align:left !important;
  border:1px solid #e5e5e5 !important;
  border-radius:13px !important;
  background:#fff !important;
  box-shadow:none !important;
  transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease !important;
}
.nsf-account-dashboard .nsf-account-stat:hover{
  transform:translateY(-2px) !important;
  border-color:#d9d9d9 !important;
  box-shadow:0 8px 22px rgba(0,0,0,.055) !important;
}
.nsf-account-dashboard .nsf-account-stat .nsf-stat-icon{
  width:36px !important;
  height:36px !important;
  margin:0 0 16px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  border-radius:50% !important;
  background:#f7f7f7 !important;
  color:#df1720 !important;
  font-size:18px !important;
}
.nsf-account-dashboard .nsf-account-stat > strong{
  margin:0 0 4px !important;
  font-size:25px !important;
  line-height:1.05 !important;
  font-weight:800 !important;
}
.nsf-account-dashboard .nsf-account-stat > span:not(.nsf-stat-icon){
  color:#555 !important;
  font-size:13px !important;
  line-height:1.3 !important;
}
.nsf-account-dashboard .nsf-account-stat small{
  margin-top:auto !important;
  padding-top:13px !important;
  color:#df1720 !important;
  font-size:12px !important;
  font-weight:700 !important;
}
.nsf-account-dashboard .nsf-account-stat small b{
  margin-left:3px !important;
  font-size:15px !important;
}

/* Mantener la jerarquía en pantallas pequeñas */
@media(max-width:900px){
  .nsf-account-dashboard .nsf-account-stat-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}
@media(max-width:600px){
  .nsf-account-dashboard .nsf-account-stat-grid{
    gap:9px !important;
    margin-bottom:15px !important;
  }
  .nsf-account-dashboard .nsf-account-stat{
    min-height:128px !important;
    padding:15px !important;
    border-radius:10px !important;
  }
  .nsf-account-dashboard .nsf-account-stat .nsf-stat-icon{
    width:31px !important;
    height:31px !important;
    margin-bottom:11px !important;
    font-size:16px !important;
  }
  .nsf-account-dashboard .nsf-account-stat > strong{
    font-size:21px !important;
  }
  .nsf-account-dashboard .nsf-account-stat > span:not(.nsf-stat-icon){
    font-size:12px !important;
  }
  .nsf-account-dashboard .nsf-account-stat small{
    padding-top:9px !important;
    font-size:11px !important;
  }
}

/* NSF 1.3.40 — Últimos pedidos de Mi cuenta */
.nsf-account-dashboard .nsf-orders-card{
  overflow:hidden !important;
}
.nsf-account-dashboard .nsf-orders-list{
  display:flex !important;
  flex-direction:column !important;
}
.nsf-account-dashboard .nsf-order-row{
  display:grid !important;
  grid-template-columns:54px minmax(0,1fr) auto !important;
  gap:13px !important;
  align-items:center !important;
  min-height:78px !important;
  padding:13px 0 !important;
  border-bottom:1px solid #ededed !important;
}
.nsf-account-dashboard .nsf-order-row:last-child{
  border-bottom:0 !important;
}
.nsf-account-dashboard .nsf-order-thumb{
  width:54px !important;
  height:66px !important;
  overflow:hidden !important;
  border-radius:8px !important;
  background:#f5f5f5 !important;
}
.nsf-account-dashboard .nsf-order-thumb img{
  display:block !important;
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
}
.nsf-account-dashboard .nsf-order-info{
  min-width:0 !important;
}
.nsf-account-dashboard .nsf-order-info strong{
  display:block !important;
  overflow:hidden !important;
  color:#202020 !important;
  font-size:14px !important;
  font-weight:750 !important;
  line-height:1.35 !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
}
.nsf-account-dashboard .nsf-order-meta{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:5px 10px !important;
  margin-top:4px !important;
  color:#777 !important;
  font-size:12px !important;
  line-height:1.3 !important;
}
.nsf-account-dashboard .nsf-order-status{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:26px !important;
  padding:4px 9px !important;
  border-radius:999px !important;
  background:#f4f4f4 !important;
  color:#555 !important;
  font-size:11px !important;
  font-weight:700 !important;
  white-space:nowrap !important;
}
.nsf-account-dashboard .nsf-order-action{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:36px !important;
  padding:0 13px !important;
  border:1px solid #df1720 !important;
  border-radius:8px !important;
  background:#fff !important;
  color:#df1720 !important;
  font-size:12px !important;
  font-weight:750 !important;
  text-decoration:none !important;
  transition:background-color .16s ease,color .16s ease,box-shadow .16s ease !important;
}
.nsf-account-dashboard .nsf-order-action:hover{
  background:#df1720 !important;
  color:#fff !important;
  box-shadow:0 5px 14px rgba(223,23,32,.15) !important;
}
.nsf-account-dashboard .nsf-orders-empty{
  padding:24px 0 !important;
  color:#666 !important;
}

@media(max-width:600px){
  .nsf-account-dashboard .nsf-order-row{
    grid-template-columns:45px minmax(0,1fr) !important;
    gap:10px !important;
    padding:11px 0 !important;
  }
  .nsf-account-dashboard .nsf-order-thumb{
    width:45px !important;
    height:55px !important;
  }
  .nsf-account-dashboard .nsf-order-action{
    grid-column:2 !important;
    justify-self:start !important;
    min-height:33px !important;
    padding:0 11px !important;
    font-size:11px !important;
  }
  .nsf-account-dashboard .nsf-order-info strong{
    font-size:13px !important;
  }
}

/* NSF 1.3.41 — separar los botones reales de acciones de pedidos WooCommerce */
.nsf-account-dashboard .woocommerce-orders-table .woocommerce-orders-table__cell-order-actions{
  white-space:normal !important;
}
.nsf-account-dashboard .woocommerce-orders-table .woocommerce-orders-table__cell-order-actions .woocommerce-button{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  margin:0 6px 6px 0 !important;
}
.nsf-account-dashboard .woocommerce-orders-table .woocommerce-orders-table__cell-order-actions .woocommerce-button:last-child{
  margin-right:0 !important;
}
@media(max-width:767px){
  .nsf-account-dashboard .woocommerce-orders-table .woocommerce-orders-table__cell-order-actions .woocommerce-button{
    margin-right:6px !important;
    margin-bottom:6px !important;
  }
}

/* NSF 1.3.42 — acciones reales de la tabla nativa de pedidos */
body.nsf-account-root .nsf-account-endpoint-card .woocommerce-orders-table
.woocommerce-orders-table__cell-order-actions{
  white-space:normal !important;
}
body.nsf-account-root .nsf-account-endpoint-card .woocommerce-orders-table
.woocommerce-orders-table__cell-order-actions .woocommerce-button{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  float:none !important;
  margin-top:0 !important;
  margin-bottom:6px !important;
}
body.nsf-account-root .nsf-account-endpoint-card .woocommerce-orders-table
.woocommerce-orders-table__cell-order-actions .woocommerce-button + .woocommerce-button{
  margin-left:8px !important;
}
@media(max-width:767px){
  body.nsf-account-root .nsf-account-endpoint-card .woocommerce-orders-table
  .woocommerce-orders-table__cell-order-actions .woocommerce-button + .woocommerce-button{
    margin-left:7px !important;
  }
}

/* NSF 1.3.43 — acabado de las secciones de Mi cuenta */
body.nsf-account-root .nsf-account-endpoint-card{
  border:1px solid #e6e6e6 !important;
  border-radius:13px !important;
  background:#fff !important;
  padding:24px !important;
  box-shadow:none !important;
}
body.nsf-account-root .nsf-account-endpoint-card > h2,
body.nsf-account-root .nsf-account-endpoint-card > h3{
  margin:0 0 18px !important;
  font-size:20px !important;
  line-height:1.2 !important;
}
body.nsf-account-root .nsf-account-endpoint-card form .form-row{
  margin-bottom:14px !important;
}
body.nsf-account-root .nsf-account-endpoint-card input.input-text,
body.nsf-account-root .nsf-account-endpoint-card input[type="text"],
body.nsf-account-root .nsf-account-endpoint-card input[type="email"],
body.nsf-account-root .nsf-account-endpoint-card input[type="tel"],
body.nsf-account-root .nsf-account-endpoint-card input[type="password"],
body.nsf-account-root .nsf-account-endpoint-card select{
  min-height:46px !important;
  padding:10px 13px !important;
  border:1px solid #dcdcdc !important;
  border-radius:9px !important;
  background:#fff !important;
  box-sizing:border-box !important;
}
body.nsf-account-root .nsf-account-endpoint-card input:focus,
body.nsf-account-root .nsf-account-endpoint-card select:focus{
  border-color:#df1720 !important;
  outline:none !important;
  box-shadow:0 0 0 2px rgba(223,23,32,.08) !important;
}
body.nsf-account-root .nsf-account-endpoint-card label{
  display:block !important;
  margin-bottom:6px !important;
  color:#333 !important;
  font-size:13px !important;
  font-weight:650 !important;
}
body.nsf-account-root .nsf-account-endpoint-card .button,
body.nsf-account-root .nsf-account-endpoint-card button{
  border-radius:8px !important;
  transition:background-color .15s ease,color .15s ease,border-color .15s ease !important;
}
body.nsf-account-root .nsf-account-endpoint-card .woocommerce-message,
body.nsf-account-root .nsf-account-endpoint-card .woocommerce-info,
body.nsf-account-root .nsf-account-endpoint-card .woocommerce-error{
  border-radius:9px !important;
  margin:0 0 18px !important;
}
@media(max-width:600px){
  body.nsf-account-root .nsf-account-endpoint-card{
    padding:17px !important;
    border-radius:10px !important;
  }
  body.nsf-account-root .nsf-account-endpoint-card > h2,
  body.nsf-account-root .nsf-account-endpoint-card > h3{
    font-size:18px !important;
    margin-bottom:15px !important;
  }
  body.nsf-account-root .nsf-account-endpoint-card input.input-text,
  body.nsf-account-root .nsf-account-endpoint-card input[type="text"],
  body.nsf-account-root .nsf-account-endpoint-card input[type="email"],
  body.nsf-account-root .nsf-account-endpoint-card input[type="tel"],
  body.nsf-account-root .nsf-account-endpoint-card input[type="password"],
  body.nsf-account-root .nsf-account-endpoint-card select{
    min-height:44px !important;
  }
}

/* NSF 1.3.44 — Direcciones: modificar claramente */
body.nsf-account-root .nsf-account-endpoint-card .woocommerce-Addresses{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:14px !important;
}
body.nsf-account-root .nsf-account-endpoint-card .woocommerce-Address{
  position:relative !important;
  margin:0 !important;
  padding:19px !important;
  border:1px solid #e6e6e6 !important;
  border-radius:12px !important;
  background:#fff !important;
}
body.nsf-account-root .nsf-account-endpoint-card .woocommerce-Address-title{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:12px !important;
  margin-bottom:14px !important;
}
body.nsf-account-root .nsf-account-endpoint-card .woocommerce-Address-title h3{
  margin:0 !important;
  font-size:16px !important;
}
body.nsf-account-root .nsf-account-endpoint-card .woocommerce-Address-title .edit{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:34px !important;
  padding:0 11px !important;
  border:1px solid #df1720 !important;
  border-radius:7px !important;
  background:#fff !important;
  color:#df1720 !important;
  font-size:12px !important;
  font-weight:700 !important;
  text-decoration:none !important;
  transition:background-color .15s ease,color .15s ease !important;
}
body.nsf-account-root .nsf-account-endpoint-card .woocommerce-Address-title .edit:hover{
  background:#df1720 !important;
  color:#fff !important;
}
body.nsf-account-root .nsf-account-endpoint-card .woocommerce-Address address{
  margin:0 !important;
  color:#555 !important;
  font-size:13px !important;
  line-height:1.65 !important;
  font-style:normal !important;
}
body.nsf-account-root .nsf-account-endpoint-card .woocommerce-Address address .woocommerce-customer-details--phone,
body.nsf-account-root .nsf-account-endpoint-card .woocommerce-Address address .woocommerce-customer-details--email{
  display:block !important;
}
@media(max-width:700px){
  body.nsf-account-root .nsf-account-endpoint-card .woocommerce-Addresses{
    grid-template-columns:1fr !important;
  }
  body.nsf-account-root .nsf-account-endpoint-card .woocommerce-Address{
    padding:16px !important;
  }
}

/* NSF 1.3.45 — Ver pedido: primera capa visual */
body.nsf-account-root .woocommerce-view-order{
  color:#222 !important;
}
body.nsf-account-root .woocommerce-view-order > p{
  margin:0 0 18px !important;
  color:#666 !important;
  font-size:14px !important;
  line-height:1.55 !important;
}
body.nsf-account-root .woocommerce-view-order .woocommerce-order-overview{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:10px !important;
  margin:0 0 20px !important;
  padding:0 !important;
  list-style:none !important;
}
body.nsf-account-root .woocommerce-view-order .woocommerce-order-overview li{
  margin:0 !important;
  padding:14px 15px !important;
  border:1px solid #e6e6e6 !important;
  border-radius:10px !important;
  background:#fff !important;
  color:#666 !important;
  font-size:11px !important;
  text-transform:none !important;
}
body.nsf-account-root .woocommerce-view-order .woocommerce-order-overview li strong{
  display:block !important;
  margin-top:5px !important;
  color:#222 !important;
  font-size:14px !important;
}
body.nsf-account-root .woocommerce-view-order h2,
body.nsf-account-root .woocommerce-view-order h3{
  margin:24px 0 12px !important;
  color:#222 !important;
  font-size:19px !important;
  line-height:1.25 !important;
}
body.nsf-account-root .woocommerce-view-order .woocommerce-order-details,
body.nsf-account-root .woocommerce-view-order .woocommerce-customer-details{
  margin:0 0 18px !important;
  padding:19px !important;
  border:1px solid #e6e6e6 !important;
  border-radius:12px !important;
  background:#fff !important;
}
body.nsf-account-root .woocommerce-view-order .woocommerce-order-details table{
  margin:0 !important;
  border:0 !important;
}
body.nsf-account-root .woocommerce-view-order .woocommerce-order-details th,
body.nsf-account-root .woocommerce-view-order .woocommerce-order-details td{
  padding:12px 4px !important;
  border:0 !important;
  border-bottom:1px solid #ededed !important;
  vertical-align:middle !important;
}
body.nsf-account-root .woocommerce-view-order .woocommerce-order-details tr:last-child th,
body.nsf-account-root .woocommerce-view-order .woocommerce-order-details tr:last-child td{
  border-bottom:0 !important;
}
body.nsf-account-root .woocommerce-view-order .woocommerce-order-details .product-name a{
  color:#222 !important;
  font-weight:700 !important;
  text-decoration:none !important;
}
body.nsf-account-root .woocommerce-view-order .woocommerce-order-details .product-name .product-quantity{
  color:#777 !important;
}
body.nsf-account-root .woocommerce-view-order .woocommerce-order-details .product-total{
  color:#222 !important;
  font-weight:700 !important;
  text-align:right !important;
}
body.nsf-account-root .woocommerce-view-order .woocommerce-order-details tfoot th{
  color:#666 !important;
  font-weight:600 !important;
}
body.nsf-account-root .woocommerce-view-order .woocommerce-order-details tfoot td{
  color:#222 !important;
  font-weight:700 !important;
  text-align:right !important;
}
body.nsf-account-root .woocommerce-view-order .woocommerce-customer-details .woocommerce-column__title{
  margin:0 0 10px !important;
  font-size:16px !important;
}
body.nsf-account-root .woocommerce-view-order .woocommerce-customer-details address{
  margin:0 !important;
  color:#555 !important;
  font-size:13px !important;
  line-height:1.65 !important;
  font-style:normal !important;
}
body.nsf-account-root .woocommerce-view-order .woocommerce-order-details .wc-item-meta{
  margin-top:5px !important;
  color:#777 !important;
  font-size:12px !important;
}
body.nsf-account-root .woocommerce-view-order .woocommerce-order-details .woocommerce-table__product-name{
  min-width:0 !important;
}
@media(max-width:700px){
  body.nsf-account-root .woocommerce-view-order .woocommerce-order-overview{
    grid-template-columns:1fr !important;
  }
  body.nsf-account-root .woocommerce-view-order .woocommerce-order-details,
  body.nsf-account-root .woocommerce-view-order .woocommerce-customer-details{
    padding:15px !important;
    border-radius:10px !important;
  }
  body.nsf-account-root .woocommerce-view-order .woocommerce-order-details th,
  body.nsf-account-root .woocommerce-view-order .woocommerce-order-details td{
    padding:10px 2px !important;
  }
}

/* NSF 1.3.46 — Ver pedido a ancho completo: sin menú lateral */
body.nsf-account-root .nsf-account-dashboard:has(.woocommerce-view-order) .nsf-account-sidebar{
  display:none !important;
}
body.nsf-account-root .nsf-account-dashboard:has(.woocommerce-view-order) .nsf-account-main{
  width:100% !important;
  max-width:none !important;
  flex:1 1 100% !important;
}
body.nsf-account-root .nsf-account-dashboard:has(.woocommerce-view-order){
  grid-template-columns:1fr !important;
}

/* NSF 1.3.47 — diseño definitivo de Ver pedido */
body.nsf-order-view-page .woocommerce-MyAccount-navigation{
  display:none !important;
}
body.nsf-order-view-page .woocommerce-MyAccount-content{
  width:100% !important;
  max-width:none !important;
  float:none !important;
  margin:0 !important;
}
body.nsf-order-view-page .woocommerce{
  width:100% !important;
}
.nsf-order-view{
  max-width:1180px !important;
  margin:0 auto !important;
  padding:34px 24px 56px !important;
  color:#202020 !important;
}
.nsf-order-back{
  display:inline-flex !important;
  align-items:center !important;
  gap:7px !important;
  margin:0 0 22px !important;
  color:#df1720 !important;
  font-size:14px !important;
  font-weight:600 !important;
  text-decoration:none !important;
}
.nsf-order-back:hover{text-decoration:underline !important}
.nsf-order-view-head{
  display:flex !important;
  align-items:flex-start !important;
  justify-content:space-between !important;
  gap:28px !important;
  margin-bottom:27px !important;
}
.nsf-order-view-title h1{
  margin:0 0 12px !important;
  color:#171717 !important;
  font-size:39px !important;
  line-height:1.05 !important;
  letter-spacing:-.025em !important;
  font-weight:800 !important;
}
.nsf-order-view-meta{
  display:flex !important;
  align-items:center !important;
  flex-wrap:wrap !important;
  gap:9px 16px !important;
  color:#555 !important;
  font-size:14px !important;
}
.nsf-order-status-pill{
  display:inline-flex !important;
  align-items:center !important;
  min-height:29px !important;
  padding:4px 11px !important;
  border-radius:999px !important;
  background:#fff0cf !important;
  color:#9b5b00 !important;
  font-size:12px !important;
  font-weight:750 !important;
}
.nsf-order-payment-notice{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:20px !important;
  width:min(520px,100%) !important;
  padding:16px 17px !important;
  border:1px solid #f0bfc2 !important;
  border-radius:10px !important;
  background:#fff8f8 !important;
  box-sizing:border-box !important;
}
.nsf-order-payment-copy{
  display:flex !important;
  align-items:flex-start !important;
  gap:10px !important;
  color:#c51e25 !important;
  font-size:13px !important;
  line-height:1.45 !important;
}
.nsf-order-notice-icon{
  flex:0 0 20px !important;
  width:20px !important;
  height:20px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  border:1.5px solid #df1720 !important;
  border-radius:50% !important;
  font-size:12px !important;
  font-weight:800 !important;
}
.nsf-order-primary-button,
.nsf-order-action-primary{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:44px !important;
  padding:0 19px !important;
  border:1px solid #df1720 !important;
  border-radius:7px !important;
  background:#df1720 !important;
  color:#fff !important;
  font-size:13px !important;
  font-weight:750 !important;
  text-decoration:none !important;
  white-space:nowrap !important;
  transition:transform .15s ease,box-shadow .15s ease,background-color .15s ease !important;
}
.nsf-order-primary-button:hover,
.nsf-order-action-primary:hover{
  color:#fff !important;
  transform:translateY(-1px) !important;
  box-shadow:0 6px 16px rgba(223,23,32,.18) !important;
}
.nsf-order-view-grid{
  display:grid !important;
  grid-template-columns:minmax(0,1.65fr) minmax(330px,.9fr) !important;
  gap:20px !important;
  align-items:start !important;
}
.nsf-order-products-card,
.nsf-order-summary-card,
.nsf-order-info-card{
  border:1px solid #e5e5e5 !important;
  border-radius:11px !important;
  background:#fff !important;
  box-sizing:border-box !important;
}
.nsf-order-products-card{padding:23px !important}
.nsf-order-summary-card{padding:23px !important}
.nsf-order-card-heading{
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  margin-bottom:17px !important;
}
.nsf-order-card-heading h2{
  margin:0 !important;
  color:#202020 !important;
  font-size:19px !important;
  line-height:1.2 !important;
  font-weight:750 !important;
}
.nsf-order-heading-icon{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:29px !important;
  height:29px !important;
  border-radius:50% !important;
  background:#fff3f3 !important;
  color:#df1720 !important;
  font-size:16px !important;
}
.nsf-order-products-head,
.nsf-order-product-row{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) 92px 75px 92px !important;
  gap:12px !important;
  align-items:center !important;
}
.nsf-order-products-head{
  padding:8px 0 11px !important;
  border-bottom:1px solid #e8e8e8 !important;
  color:#555 !important;
  font-size:12px !important;
  font-weight:700 !important;
}
.nsf-order-products-head span:nth-child(n+2){text-align:right !important}
.nsf-order-products{
  margin:0 !important;
}
.nsf-order-product-row{
  padding:14px 0 !important;
  border-bottom:1px solid #ededed !important;
}
.nsf-order-product-row:last-child{border-bottom:0 !important}
.nsf-order-product-main{
  min-width:0 !important;
  display:flex !important;
  align-items:center !important;
  gap:13px !important;
}
.nsf-order-product-thumb{
  flex:0 0 55px !important;
  width:55px !important;
  height:70px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  overflow:hidden !important;
  border-radius:7px !important;
  background:#f5f5f5 !important;
  color:#aaa !important;
  font-size:10px !important;
  font-weight:800 !important;
}
.nsf-order-product-thumb img{
  display:block !important;
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
}
.nsf-order-product-name{min-width:0 !important}
.nsf-order-product-name > a,
.nsf-order-product-name > span{
  display:block !important;
  overflow:hidden !important;
  color:#df1720 !important;
  font-size:14px !important;
  line-height:1.35 !important;
  font-weight:650 !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
  text-decoration:none !important;
}
.nsf-order-product-name .wc-item-meta,
.nsf-order-product-name .wc-item-meta p{
  margin:4px 0 0 !important;
  color:#777 !important;
  font-size:11px !important;
}
.nsf-order-product-price,
.nsf-order-product-qty,
.nsf-order-product-total{
  color:#333 !important;
  font-size:13px !important;
  text-align:right !important;
}
.nsf-order-product-total{font-weight:700 !important}
.nsf-order-totals{
  display:flex !important;
  flex-direction:column !important;
  gap:0 !important;
}
.nsf-total-row{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:16px !important;
  padding:10px 0 !important;
  color:#444 !important;
  font-size:13px !important;
  border-bottom:1px solid #ededed !important;
}
.nsf-total-row strong{color:#222 !important}
.nsf-pack-discount-row{
  color:#0b9a48 !important;
}
.nsf-pack-discount-row strong{
  color:#0b9a48 !important;
}
.nsf-total-order_total{
  padding-top:16px !important;
  margin-top:4px !important;
  border-bottom:0 !important;
  color:#222 !important;
  font-weight:750 !important;
}
.nsf-total-order_total strong{
  color:#df1720 !important;
  font-size:25px !important;
}
.nsf-order-actions{
  margin-top:10px !important;
  padding-top:16px !important;
  border-top:1px solid #ededed !important;
}
.nsf-order-actions-label{
  display:block !important;
  margin-bottom:10px !important;
  color:#333 !important;
  font-size:13px !important;
  font-weight:700 !important;
}
.nsf-order-action-buttons{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:9px !important;
}
.nsf-order-action-buttons a{
  flex:1 1 130px !important;
  min-height:42px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  box-sizing:border-box !important;
  padding:0 13px !important;
  border-radius:7px !important;
  font-size:12px !important;
  font-weight:750 !important;
  text-decoration:none !important;
}
.nsf-order-action-secondary{
  border:1px solid #e0bfc1 !important;
  background:#fff !important;
  color:#df1720 !important;
}
.nsf-order-action-secondary:hover{
  background:#fff7f7 !important;
  color:#df1720 !important;
}
.nsf-order-details-grid{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:20px !important;
  margin-top:20px !important;
}
.nsf-order-info-card{
  min-height:190px !important;
  padding:20px !important;
}
.nsf-order-info-card address{
  margin:0 !important;
  color:#444 !important;
  font-size:13px !important;
  line-height:1.7 !important;
  font-style:normal !important;
}
.nsf-order-info-card address a{
  display:block !important;
  margin-top:6px !important;
  color:#df1720 !important;
  text-decoration:none !important;
}
.nsf-payment-method-name{
  display:block !important;
  margin:6px 0 8px !important;
  font-size:15px !important;
}
.nsf-payment-card p{
  margin:0 !important;
  color:#666 !important;
  font-size:13px !important;
}
.nsf-order-help{
  display:flex !important;
  align-items:center !important;
  flex-wrap:wrap !important;
  gap:8px 17px !important;
  margin-top:20px !important;
  padding:17px 20px !important;
  border:1px solid #f0d0d2 !important;
  border-radius:9px !important;
  background:#fff8f8 !important;
  font-size:13px !important;
}
.nsf-order-help strong{font-size:13px !important}
.nsf-order-help span{color:#555 !important}
.nsf-order-help a{
  color:#df1720 !important;
  font-weight:650 !important;
}

@media(max-width:900px){
  .nsf-order-view-head{flex-direction:column !important}
  .nsf-order-payment-notice{width:100% !important}
  .nsf-order-view-grid{grid-template-columns:1fr !important}
  .nsf-order-details-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important}
  .nsf-order-details-grid .nsf-payment-card{grid-column:1 / -1 !important}
}
@media(max-width:600px){
  .nsf-order-view{
    padding:24px 14px 40px !important;
  }
  .nsf-order-view-title h1{
    font-size:30px !important;
  }
  .nsf-order-payment-notice{
    align-items:stretch !important;
    flex-direction:column !important;
  }
  .nsf-order-payment-notice .nsf-order-primary-button{
    width:100% !important;
  }
  .nsf-order-products-card,
  .nsf-order-summary-card{
    padding:16px !important;
  }
  .nsf-order-products-head{
    display:none !important;
  }
  .nsf-order-product-row{
    grid-template-columns:minmax(0,1fr) auto !important;
    gap:8px 12px !important;
  }
  .nsf-order-product-main{
    grid-column:1 / -1 !important;
  }
  .nsf-order-product-price{
    grid-column:1 !important;
    text-align:left !important;
  }
  .nsf-order-product-qty{
    grid-column:2 !important;
    text-align:right !important;
  }
  .nsf-order-product-total{
    grid-column:2 !important;
    grid-row:2 !important;
  }
  .nsf-order-details-grid{
    grid-template-columns:1fr !important;
    gap:12px !important;
  }
  .nsf-order-details-grid .nsf-payment-card{
    grid-column:auto !important;
  }
  .nsf-order-info-card{
    min-height:0 !important;
    padding:16px !important;
  }
  .nsf-order-action-buttons{
    flex-direction:column !important;
  }
  .nsf-order-action-buttons a{
    width:100% !important;
    flex-basis:auto !important;
  }
}

/* NSF 1.3.48 — refuerzo visual de Ver pedido */
body.nsf-order-view-page .woocommerce-order-details > h2,
body.nsf-order-view-page .woocommerce-customer-details > h2{
  font-family:inherit !important;
  color:#202020 !important;
}
body.nsf-order-view-page .woocommerce-order-details table{
  width:100% !important;
  border-collapse:separate !important;
  border-spacing:0 !important;
  overflow:hidden !important;
  border:0 !important;
}
body.nsf-order-view-page .woocommerce-order-details table th,
body.nsf-order-view-page .woocommerce-order-details table td{
  background:#fff !important;
}
body.nsf-order-view-page .woocommerce-order-details .woocommerce-table__line-item td{
  border-bottom:1px solid #ededed !important;
}
body.nsf-order-view-page .woocommerce-order-details .woocommerce-table__product-name{
  color:#222 !important;
}
body.nsf-order-view-page .woocommerce-order-details .woocommerce-table__product-name a{
  color:#df1720 !important;
  font-weight:650 !important;
}

/* NSF 1.3.49 — indicador del modo simulación sin Elementor */
.nsf-no-elementor-simulation{
  position:fixed !important;
  z-index:2147483647 !important;
  left:16px !important;
  right:16px !important;
  bottom:16px !important;
  display:flex !important;
  align-items:center !important;
  gap:12px !important;
  flex-wrap:wrap !important;
  padding:12px 15px !important;
  border:1px solid #e2c200 !important;
  border-radius:9px !important;
  background:#fffbea !important;
  color:#333 !important;
  box-shadow:0 8px 28px rgba(0,0,0,.12) !important;
  font:13px/1.35 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif !important;
}
.nsf-no-elementor-simulation strong{
  font-size:12px !important;
  letter-spacing:.03em !important;
}
.nsf-no-elementor-simulation span{color:#666 !important}
.nsf-no-elementor-simulation a{
  margin-left:auto !important;
  color:#df1720 !important;
  font-weight:700 !important;
  text-decoration:none !important;
}
@media(max-width:600px){
  .nsf-no-elementor-simulation{
    left:9px !important;right:9px !important;bottom:9px !important;
    gap:7px !important;padding:10px 12px !important;
  }
  .nsf-no-elementor-simulation a{margin-left:0 !important;width:100% !important}
}

/* NSF 1.3.50 — indicador de simulación */
.nsf-no-elementor-simulation{
  position:fixed !important;
  z-index:2147483647 !important;
  left:16px !important;
  right:16px !important;
  bottom:16px !important;
  display:flex !important;
  align-items:center !important;
  gap:12px !important;
  flex-wrap:wrap !important;
  padding:12px 15px !important;
  border:1px solid #e2c200 !important;
  border-radius:9px !important;
  background:#fffbea !important;
  color:#333 !important;
  box-shadow:0 8px 28px rgba(0,0,0,.12) !important;
  font:13px/1.35 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif !important;
}
.nsf-no-elementor-simulation strong{font-size:12px !important;letter-spacing:.03em !important}
.nsf-no-elementor-simulation span{color:#666 !important}
.nsf-no-elementor-simulation a{margin-left:auto !important;color:#df1720 !important;font-weight:700 !important;text-decoration:none !important}
@media(max-width:600px){
 .nsf-no-elementor-simulation{left:9px !important;right:9px !important;bottom:9px !important;gap:7px !important;padding:10px 12px !important}
 .nsf-no-elementor-simulation a{margin-left:0 !important;width:100% !important}
}


/* NSF 1.3.40 — Rediseño final de Inicio de Mi cuenta
 * Más editorial, menos dashboard: más aire, menos cajas y jerarquía NSF.
 */
body.nsf-account-root .nsf-account-dashboard{
  max-width:1180px!important;
  padding:42px 28px 76px!important;
  grid-template-columns:220px minmax(0,1fr)!important;
  gap:42px!important;
}
body.nsf-account-root .nsf-account-sidebar{
  position:relative!important;
  top:auto!important;
  padding:0 20px 0 0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.nsf-account-root .nsf-account-sidebar:after{
  right:-21px!important;
  top:0!important;
  bottom:0!important;
  background:#e7e1dd!important;
}
body.nsf-account-root .nsf-account-profile{
  padding:0 0 18px!important;
  margin:0 0 12px!important;
  border-bottom:1px dotted #d9d2ce!important;
}
body.nsf-account-root .nsf-account-profile-label{
  color:#d3202a!important;
  font-family:Georgia,serif!important;
  font-size:15px!important;
  font-weight:400!important;
  letter-spacing:0!important;
  text-transform:uppercase!important;
  margin-bottom:13px!important;
}
body.nsf-account-root .nsf-account-avatar{
  width:44px!important;height:44px!important;
  border:1px solid #d3202a!important;
  background:#fff!important;
  color:#d3202a!important;
  font-size:17px!important;
}
body.nsf-account-root .nsf-account-profile strong{font-size:14px!important;color:#202735!important}
body.nsf-account-root .nsf-account-profile a{font-size:12px!important;color:#d3202a!important}
body.nsf-account-root .nsf-account-nav{gap:1px!important}
body.nsf-account-root .nsf-account-nav a{
  min-height:40px!important;
  padding:8px 8px!important;
  border-radius:0!important;
  border-left:2px solid transparent!important;
  color:#34302d!important;
  font-size:13px!important;
  font-weight:500!important;
}
body.nsf-account-root .nsf-account-nav a>span{width:21px!important;flex-basis:21px!important;color:#77706b!important;font-size:16px!important}
body.nsf-account-root .nsf-account-nav a:hover{
  background:#fff8f7!important;
  color:#d3202a!important;
  transform:none!important;
  outline:none!important;
}
body.nsf-account-root .nsf-account-nav a:hover>span{color:#d3202a!important}
body.nsf-account-root .nsf-account-nav a.is-active{
  background:#fff!important;
  color:#d3202a!important;
  border-left-color:#d3202a!important;
}
body.nsf-account-root .nsf-account-nav a.is-active>span{color:#d3202a!important}
body.nsf-account-root .nsf-account-nav .nsf-account-logout{
  margin-top:12px!important;
  padding-top:13px!important;
  border-top:1px dotted #d9d2ce!important;
  border-left:0!important;
}
body.nsf-account-root .nsf-account-main{min-width:0!important}
body.nsf-account-root .nsf-account-heading{
  margin:0 0 30px!important;
  padding:0 0 22px!important;
  border:0!important;
  border-bottom:1px dotted #d9d2ce!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.nsf-account-root .nsf-account-heading h1{
  position:relative!important;
  display:inline-block!important;
  margin:0 0 14px!important;
  padding-bottom:12px!important;
  font-family:Georgia,serif!important;
  font-size:38px!important;
  font-weight:400!important;
  line-height:1.05!important;
  letter-spacing:0!important;
  color:#d3202a!important;
}
body.nsf-account-root .nsf-account-heading h1:after{
  content:"";position:absolute;left:0;bottom:0;width:72px;height:3px;background:#d3202a;
}
body.nsf-account-root .nsf-account-heading p{margin:0!important;max-width:650px!important;color:#625d59!important;font-size:15px!important;line-height:1.6!important}
body.nsf-account-root .nsf-account-stat-grid{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:0!important;
  margin:0 0 34px!important;
  border-top:1px solid #e6e0dc!important;
  border-bottom:1px solid #e6e0dc!important;
}
body.nsf-account-root .nsf-account-stat{
  min-width:0!important;
  min-height:142px!important;
  padding:20px 18px 18px!important;
  border:0!important;
  border-right:1px dotted #d9d2ce!important;
  border-radius:0!important;
  background:#fff!important;
  box-shadow:none!important;
  transform:none!important;
}
body.nsf-account-root .nsf-account-stat:last-child{border-right:0!important}
body.nsf-account-root .nsf-account-stat:hover{
  background:#fff8f7!important;
  border-color:#d9d2ce!important;
  box-shadow:none!important;
  transform:none!important;
}
body.nsf-account-root .nsf-account-stat .nsf-stat-icon{
  width:34px!important;height:34px!important;margin:0 0 15px!important;
  background:#faf5f3!important;color:#d3202a!important;font-size:17px!important;
}
body.nsf-account-root .nsf-account-stat>strong{font-size:25px!important;font-weight:700!important;color:#202735!important}
body.nsf-account-root .nsf-account-stat>span:not(.nsf-stat-icon){font-size:12px!important;font-weight:600!important;color:#6b6561!important}
body.nsf-account-root .nsf-account-stat small{margin-top:auto!important;color:#d3202a!important;font-size:11px!important}
body.nsf-account-root .nsf-account-columns{
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  gap:28px!important;
  margin:0!important;
}
body.nsf-account-root .nsf-account-card{
  min-width:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:#fff!important;
  box-shadow:none!important;
}
body.nsf-account-root .nsf-card-heading{
  margin:0 0 4px!important;
  padding:0 0 12px!important;
  border-bottom:1px dotted #d9d2ce!important;
}
body.nsf-account-root .nsf-card-heading h2{
  font-family:Georgia,serif!important;
  font-size:22px!important;
  font-weight:400!important;
  color:#d3202a!important;
}
body.nsf-account-root .nsf-card-heading a{font-size:11px!important;color:#d3202a!important;text-transform:uppercase!important;letter-spacing:.02em!important}
body.nsf-account-root .nsf-order-row{
  grid-template-columns:48px minmax(0,1fr) auto 18px!important;
  min-width:0!important;
  min-height:66px!important;
  padding:13px 0!important;
  border-bottom:1px dotted #e1dbd7!important;
}
body.nsf-account-root .nsf-order-thumb{width:48px!important;height:54px!important;border-radius:0!important;background:#f5f2f0!important}
body.nsf-account-root .nsf-order-info strong{font-size:13px!important;color:#202735!important}
body.nsf-account-root .nsf-order-info small{font-size:11px!important;color:#817a75!important}
body.nsf-account-root .nsf-order-status{font-size:11px!important;color:#817a75!important}
body.nsf-account-root .nsf-order-total{font-size:13px!important;color:#d3202a!important;font-weight:700!important}
body.nsf-account-root .nsf-order-arrow{color:#d3202a!important}

@media(max-width:1000px){
  body.nsf-account-root .nsf-account-dashboard{grid-template-columns:200px minmax(0,1fr)!important;gap:30px!important}
  body.nsf-account-root .nsf-account-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.nsf-account-root .nsf-account-stat:nth-child(2){border-right:0!important}
  body.nsf-account-root .nsf-account-stat:nth-child(-n+2){border-bottom:1px dotted #d9d2ce!important}
  body.nsf-account-root .nsf-account-stat:nth-child(4){border-right:0!important}
}
@media(max-width:760px){
  body.nsf-account-root .nsf-account-dashboard{display:block!important;max-width:none!important;padding:28px 16px 50px!important}
  body.nsf-account-root .nsf-account-sidebar{padding:0!important;margin-bottom:28px!important}
  body.nsf-account-root .nsf-account-sidebar:after{display:none!important}
  body.nsf-account-root .nsf-account-profile{padding-bottom:15px!important}
  body.nsf-account-root .nsf-account-nav{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:2px 5px!important}
  body.nsf-account-root .nsf-account-nav a{min-height:38px!important;font-size:12px!important}
  body.nsf-account-root .nsf-account-nav .nsf-account-logout{grid-column:1/-1!important}
  body.nsf-account-root .nsf-account-heading{margin-bottom:24px!important}
  body.nsf-account-root .nsf-account-heading h1{font-size:31px!important}
  body.nsf-account-root .nsf-account-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;margin-bottom:28px!important}
  body.nsf-account-root .nsf-account-stat{min-height:128px!important;padding:16px 13px!important}
  body.nsf-account-columns{display:block!important}
  body.nsf-account-root .nsf-account-card{margin-bottom:30px!important}
}


/* Mi cuenta NSF — ajuste de anchura y eliminación del título genérico del tema. */
body.nsf-account-root .nsf-site-main > .nsf-native-heading,
body.nsf-account-root .nsf-site-main article > .nsf-native-heading,
body.nsf-account-root .nsf-native-single > .nsf-native-heading{
  display:none!important;
}
body.nsf-account-root .nsf-site-main{
  width:min(100%,1280px)!important;
  max-width:1280px!important;
  padding:28px 36px 90px!important;
}
body.nsf-account-root .nsf-native-single{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
}
body.nsf-account-root .nsf-native-entry-content{
  width:100%!important;
  max-width:none!important;
}
body.nsf-account-root .nsf-account-dashboard{
  width:100%;
  max-width:1200px;
  margin:0 auto;
  padding:18px 0 70px;
  grid-template-columns:285px minmax(0,1fr);
  gap:42px;
}
body.nsf-account-root .nsf-account-sidebar{
  padding-right:28px;
}
body.nsf-account-root .nsf-account-main{
  min-width:0;
}
@media(max-width:1100px){
  body.nsf-account-root .nsf-site-main{padding-left:24px!important;padding-right:24px!important}
  body.nsf-account-root .nsf-account-dashboard{grid-template-columns:250px minmax(0,1fr);gap:30px}
}
@media(max-width:767px){
  body.nsf-account-root .nsf-site-main{padding:18px 16px 60px!important}
  body.nsf-account-root .nsf-account-dashboard{display:block;padding:8px 0 42px}
}

/* NSF 1.5.20 — Mis pedidos: sustitución visual de la tabla nativa */
body.nsf-account-root .nsf-account-endpoint-view:has(.nsf-orders-view){
  min-width:0!important;
}
body.nsf-account-root .nsf-account-endpoint-view:has(.nsf-orders-view) .nsf-account-heading{
  margin-bottom:32px!important;
  padding-bottom:22px!important;
  border-bottom:1px dotted #d9d2ce!important;
}
body.nsf-account-root .nsf-account-endpoint-view:has(.nsf-orders-view) .nsf-account-heading h1{
  margin:0!important;
  font-family:Georgia,serif!important;
  font-size:44px!important;
  line-height:1.05!important;
  font-weight:400!important;
  color:#d3202a!important;
}
body.nsf-account-root .nsf-account-endpoint-view:has(.nsf-orders-view) .nsf-account-heading h1:after{
  content:"";
  display:block;
  width:58px;
  height:3px;
  margin-top:18px;
  background:#d3202a;
}
body.nsf-account-root .nsf-account-endpoint-view:has(.nsf-orders-view) .nsf-account-heading p{
  margin:14px 0 0!important;
  color:#555!important;
  font-size:16px!important;
}

/* Aviso real de WooCommerce: conservar el hook, pero llevarlo a NSF. */
body.nsf-account-root .nsf-account-endpoint-view:has(.nsf-orders-view) .woocommerce-info,
body.nsf-account-root .nsf-account-endpoint-view:has(.nsf-orders-view) .woocommerce-message{
  display:flex!important;
  align-items:center!important;
  gap:20px!important;
  margin:0 0 28px!important;
  padding:18px 20px!important;
  border:1px solid #eadbd9!important;
  border-top:3px solid #d3202a!important;
  border-radius:10px!important;
  background:#fff8f7!important;
  color:#202735!important;
  box-shadow:none!important;
}
body.nsf-account-root .nsf-account-endpoint-view:has(.nsf-orders-view) .woocommerce-info:before,
body.nsf-account-root .nsf-account-endpoint-view:has(.nsf-orders-view) .woocommerce-message:before{
  flex:0 0 auto!important;
  width:42px!important;
  height:42px!important;
  margin:0!important;
  border:1px solid #d3202a!important;
  border-radius:50%!important;
  display:grid!important;
  place-items:center!important;
  color:#d3202a!important;
  font-size:18px!important;
}
body.nsf-account-root .nsf-account-endpoint-view:has(.nsf-orders-view) .woocommerce-info a,
body.nsf-account-root .nsf-account-endpoint-view:has(.nsf-orders-view) .woocommerce-message a{
  margin-left:auto!important;
  flex:0 0 auto!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:46px!important;
  padding:0 20px!important;
  border:1px solid #d3202a!important;
  border-radius:9px!important;
  background:#d3202a!important;
  color:#fff!important;
  font-weight:700!important;
  text-decoration:none!important;
}
body.nsf-account-root .nsf-account-endpoint-view:has(.nsf-orders-view) .woocommerce-info a:hover,
body.nsf-account-root .nsf-account-endpoint-view:has(.nsf-orders-view) .woocommerce-info a:focus-visible,
body.nsf-account-root .nsf-account-endpoint-view:has(.nsf-orders-view) .woocommerce-message a:hover,
body.nsf-account-root .nsf-account-endpoint-view:has(.nsf-orders-view) .woocommerce-message a:focus-visible{
  background:#fff!important;
  color:#d3202a!important;
  outline:3px solid rgba(211,32,42,.22)!important;
  outline-offset:2px!important;
}

body.nsf-account-root .nsf-orders-list{
  display:grid!important;
  gap:18px!important;
}
body.nsf-account-root .nsf-order-card{
  display:grid!important;
  grid-template-columns:72px minmax(150px,1.1fr) 145px 105px 110px 145px!important;
  align-items:center!important;
  gap:22px!important;
  min-height:126px!important;
  padding:20px 22px!important;
  border:1px solid #e4dfdc!important;
  border-radius:12px!important;
  background:#fff!important;
  box-shadow:none!important;
  transition:border-color .18s ease,background-color .18s ease,transform .18s ease!important;
}
body.nsf-account-root .nsf-order-card:hover{
  border-color:#d3202a!important;
  background:#fffafa!important;
  transform:translateY(-1px)!important;
}
body.nsf-account-root .nsf-order-brand{
  display:grid!important;
  place-items:center!important;
  width:72px!important;
  height:72px!important;
  border-radius:6px!important;
  background:#fff1f0!important;
  color:#d3202a!important;
  font-size:18px!important;
  font-weight:800!important;
}
body.nsf-account-root .nsf-order-main{
  display:flex!important;
  flex-direction:column!important;
  gap:5px!important;
  min-width:0!important;
}
body.nsf-account-root .nsf-order-number{
  color:#d3202a!important;
  font-size:20px!important;
  line-height:1.1!important;
  font-weight:800!important;
  text-decoration:none!important;
}
body.nsf-account-root .nsf-order-number:hover,
body.nsf-account-root .nsf-order-number:focus-visible{
  text-decoration:underline!important;
}
body.nsf-account-root .nsf-order-date{
  color:#77716d!important;
  font-size:14px!important;
}
body.nsf-account-root .nsf-order-status,
body.nsf-account-root .nsf-order-items{
  justify-self:start!important;
  font-size:14px!important;
  color:#202735!important;
}
body.nsf-account-root .nsf-order-status{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:34px!important;
  padding:0 13px!important;
  border-radius:999px!important;
  background:#f2f2f2!important;
  font-weight:700!important;
}
body.nsf-account-root .nsf-order-status.is-cancelled,
body.nsf-account-root .nsf-order-status.is-failed{
  background:#fff0f0!important;
  color:#d3202a!important;
}
body.nsf-account-root .nsf-order-status.is-completed{
  background:#eef8ec!important;
  color:#39752e!important;
}
body.nsf-account-root .nsf-order-total{
  justify-self:end!important;
  color:#202735!important;
  font-size:20px!important;
  font-weight:800!important;
  white-space:nowrap!important;
}
body.nsf-account-root .nsf-order-view-button{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:12px!important;
  min-height:48px!important;
  padding:0 18px!important;
  border:1px solid #d3202a!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#d3202a!important;
  font-size:14px!important;
  font-weight:800!important;
  text-decoration:none!important;
  transition:background-color .18s ease,color .18s ease,outline-color .18s ease!important;
}
body.nsf-account-root .nsf-order-view-button:hover,
body.nsf-account-root .nsf-order-view-button:focus-visible{
  background:#d3202a!important;
  color:#fff!important;
  outline:3px solid rgba(211,32,42,.22)!important;
  outline-offset:2px!important;
}
body.nsf-account-root .nsf-orders-count{
  margin:18px 0 0!important;
  text-align:center!important;
  color:#77716d!important;
  font-size:14px!important;
}
body.nsf-account-root .nsf-orders-empty{
  padding:60px 30px!important;
  text-align:center!important;
  border-top:1px dotted #d9d2ce!important;
  border-bottom:1px dotted #d9d2ce!important;
}
body.nsf-account-root .nsf-orders-empty-icon{
  display:block!important;
  margin-bottom:16px!important;
  color:#d3202a!important;
  font-size:32px!important;
}
body.nsf-account-root .nsf-orders-empty h2{
  margin:0 0 8px!important;
  font-family:Georgia,serif!important;
  color:#d3202a!important;
  font-size:26px!important;
  font-weight:400!important;
}
body.nsf-account-root .nsf-orders-empty p{margin:0 0 18px!important;color:#666!important}
body.nsf-account-root .nsf-orders-empty-link{color:#d3202a!important;font-weight:700!important}

@media(max-width:1050px){
  body.nsf-account-root .nsf-order-card{
    grid-template-columns:64px minmax(120px,1fr) 125px 90px 90px 125px!important;
    gap:15px!important;
    padding:16px!important;
  }
  body.nsf-account-root .nsf-order-brand{width:64px!important;height:64px!important}
}
@media(max-width:760px){
  body.nsf-account-root .nsf-account-endpoint-view:has(.nsf-orders-view) .nsf-account-heading h1{font-size:34px!important}
  body.nsf-account-root .nsf-account-endpoint-view:has(.nsf-orders-view) .woocommerce-info,
  body.nsf-account-root .nsf-account-endpoint-view:has(.nsf-orders-view) .woocommerce-message{
    align-items:flex-start!important;
    flex-wrap:wrap!important;
  }
  body.nsf-account-root .nsf-account-endpoint-view:has(.nsf-orders-view) .woocommerce-info a,
  body.nsf-account-root .nsf-account-endpoint-view:has(.nsf-orders-view) .woocommerce-message a{
    width:100%!important;
    margin-left:62px!important;
  }
  body.nsf-account-root .nsf-order-card{
    grid-template-columns:54px minmax(0,1fr) auto!important;
    gap:10px 14px!important;
    min-height:0!important;
  }
  body.nsf-account-root .nsf-order-brand{width:54px!important;height:54px!important;grid-row:1 / span 3!important}
  body.nsf-account-root .nsf-order-main{grid-column:2!important}
  body.nsf-account-root .nsf-order-status{grid-column:2!important;justify-self:start!important}
  body.nsf-account-root .nsf-order-items{grid-column:2!important}
  body.nsf-account-root .nsf-order-total{grid-column:3!important;grid-row:1!important}
  body.nsf-account-root .nsf-order-view-button{grid-column:2 / -1!important;width:max-content!important;justify-self:start!important}
}

/* El listado de pedidos ocupa el lienzo editorial completo, sin caja contenedora. */
body.nsf-account-root .nsf-account-endpoint-view:has(.nsf-orders-view) .nsf-account-endpoint-card{
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}

/* 1.5.21 — Protección del layout NSF frente a estilos del tema.
   La navegación lateral forma parte del dashboard y nunca debe desaparecer. */
.nsf-account-dashboard{
  display:grid!important;
  grid-template-columns:270px minmax(0,1fr)!important;
  width:100%!important;
  max-width:1120px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
}
.nsf-account-dashboard > .nsf-account-sidebar{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  min-width:0!important;
  grid-column:1!important;
}
.nsf-account-dashboard > .nsf-account-main{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  min-width:0!important;
  grid-column:2!important;
}
@media(max-width:1024px){
  .nsf-account-dashboard{grid-template-columns:220px minmax(0,1fr)!important}
}
@media(max-width:767px){
  .nsf-account-dashboard{display:block!important}
  .nsf-account-dashboard > .nsf-account-sidebar,.nsf-account-dashboard > .nsf-account-main{grid-column:auto!important}
}


/* NSF 1.5.22 — proteger la navegación lateral de Mi cuenta
   El dashboard NSF debe conservar siempre sus dos columnas en escritorio.
   Algunos estilos del tema/contenedor pueden ocultar .nsf-account-sidebar o
   convertir el wrapper en una sola columna; estas reglas son deliberadamente
   específicas para que el plugin mantenga su estructura. */
@media (min-width:768px){
  body.nsf-account-root .nsf-account-dashboard{
    display:grid!important;
    grid-template-columns:minmax(230px,260px) minmax(0,1fr)!important;
    align-items:start!important;
    width:calc(100% - 40px)!important;
    max-width:1360px!important;
    margin-left:auto!important;
    margin-right:auto!important;
    transform:none!important;
    box-sizing:border-box!important;
  }
  body.nsf-account-root .nsf-account-sidebar{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    grid-column:1!important;
    grid-row:1!important;
  }
  body.nsf-account-root .nsf-account-main{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    grid-column:2!important;
    grid-row:1!important;
  }
}
@media (max-width:767px){
  body.nsf-account-root .nsf-account-dashboard{
    display:block!important;
    width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
    transform:none!important;
  }
  body.nsf-account-root .nsf-account-sidebar{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    width:100%!important;
  }
}


/* NSF 1.5.23 — Corrección final del dashboard y últimos pedidos.
   Evita que estado y total se solapen cuando la columna de pedidos es estrecha.
   La navegación lateral se mantiene y el contenido inferior usa dos columnas
   equilibradas en escritorio. */
@media (min-width:768px){
  body.nsf-account-root .nsf-account-dashboard{
    grid-template-columns:minmax(240px,260px) minmax(0,1fr)!important;
    column-gap:38px!important;
  }
  body.nsf-account-root .nsf-account-columns{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    gap:28px!important;
  }
  body.nsf-account-root .nsf-orders-card,
  body.nsf-account-root .nsf-wishlist-preview{
    min-width:0!important;
  }
  body.nsf-account-root .nsf-order-row{
    grid-template-columns:48px minmax(90px,1fr) auto minmax(58px,auto) 18px!important;
    gap:10px!important;
    min-width:0!important;
  }
  body.nsf-account-root .nsf-order-info{min-width:90px!important;}
  body.nsf-account-root .nsf-order-status{
    max-width:105px!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  body.nsf-account-root .nsf-order-total{
    min-width:58px!important;
    text-align:right!important;
  }
}

@media (min-width:768px) and (max-width:1200px){
  body.nsf-account-root .nsf-order-row{
    grid-template-columns:44px minmax(0,1fr) minmax(58px,auto) 18px!important;
    grid-template-rows:auto auto!important;
    align-items:center!important;
    row-gap:5px!important;
    padding:13px 0!important;
  }
  body.nsf-account-root .nsf-order-thumb{
    width:44px!important;
    height:56px!important;
    grid-column:1!important;
    grid-row:1 / span 2!important;
  }
  body.nsf-account-root .nsf-order-info{
    grid-column:2!important;
    grid-row:1!important;
    min-width:0!important;
  }
  body.nsf-account-root .nsf-order-status{
    grid-column:2!important;
    grid-row:2!important;
    justify-self:start!important;
    max-width:none!important;
  }
  body.nsf-account-root .nsf-order-total{
    grid-column:3!important;
    grid-row:1!important;
    justify-self:end!important;
    min-width:58px!important;
  }
  body.nsf-account-root .nsf-order-arrow{
    grid-column:4!important;
    grid-row:1 / span 2!important;
    justify-self:end!important;
  }
}

@media (max-width:767px){
  body.nsf-account-root .nsf-account-columns{gap:16px!important;}
  body.nsf-account-root .nsf-order-row{
    grid-template-columns:44px minmax(0,1fr) 18px!important;
    grid-template-rows:auto auto!important;
    gap:5px 10px!important;
  }
  body.nsf-account-root .nsf-order-thumb{
    width:44px!important;
    height:56px!important;
    grid-column:1!important;
    grid-row:1 / span 2!important;
  }
  body.nsf-account-root .nsf-order-info{grid-column:2!important;grid-row:1!important;}
  body.nsf-account-root .nsf-order-status{
    grid-column:2!important;
    grid-row:2!important;
    justify-self:start!important;
  }
  body.nsf-account-root .nsf-order-total{
    grid-column:2!important;
    grid-row:1!important;
    justify-self:end!important;
    min-width:58px!important;
    text-align:right!important;
  }
  body.nsf-account-root .nsf-order-arrow{
    grid-column:3!important;
    grid-row:1 / span 2!important;
  }
}


/* NSF 1.5.24 — Perfil de Mi cuenta centrado.
   La tarjeta de identidad del usuario debe presentar su contenido centrado,
   manteniendo la navegación lateral independiente. */
@media (min-width:768px){
  body.nsf-account-root .nsf-account-sidebar .nsf-account-profile{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
    gap:10px!important;
    padding:18px 10px 20px!important;
    margin:0 0 12px!important;
    border:1px solid #e7e1dc!important;
    border-radius:18px!important;
    background:#fff!important;
    box-shadow:0 5px 18px rgba(32,39,51,.04)!important;
  }
  body.nsf-account-root .nsf-account-sidebar .nsf-account-profile-label{
    margin:0!important;
    width:100%!important;
    text-align:center!important;
  }
  body.nsf-account-root .nsf-account-sidebar .nsf-account-avatar{
    margin:0 auto!important;
    flex:0 0 44px!important;
  }
  body.nsf-account-root .nsf-account-sidebar .nsf-account-profile > div:last-child{
    width:100%!important;
    text-align:center!important;
  }
  body.nsf-account-root .nsf-account-sidebar .nsf-account-profile strong,
  body.nsf-account-root .nsf-account-sidebar .nsf-account-profile a{
    text-align:center!important;
  }
}
