/* =========================================================
   TecnOS WOO — Mi Cuenta
   Restyling visual aislado de la lógica de WooCommerce.
   ========================================================= */

.tw-is-account-page{
  --tw-account-navy:#002c52;
  --tw-account-navy-2:#064c69;
  --tw-account-cyan:#00a7d6;
  --tw-account-cyan-soft:#eaf9fd;
  --tw-account-ink:#142536;
  --tw-account-muted:#617789;
  --tw-account-line:#d8e8ef;
  --tw-account-soft:#f3f9fc;
  --tw-account-white:#fff;
  --tw-account-orange:#d98522;
  --tw-account-danger:#b52828;
  --tw-account-shadow:0 18px 48px rgba(13,49,75,.10);
  background:
    radial-gradient(circle at 8% 8%, rgba(0,167,214,.08), transparent 28rem),
    linear-gradient(180deg,#eef7fa 0,#f7fbfd 34rem,#f7fbfd 100%);
}

.tw-is-account-page .tw-main{
  color:var(--tw-account-ink);
}

.tw-is-account-page .tw-content-wrap{
  width:min(100% - 28px, 1320px);
  padding:28px 0 58px;
}

.tw-is-account-page .tw-account-page-card{
  padding:24px;
  overflow:hidden;
  border:1px solid rgba(172,205,220,.78);
  border-radius:24px;
  background:rgba(255,255,255,.96);
  box-shadow:var(--tw-account-shadow);
}

.tw-is-account-page .tw-account-page-card .tw-page-content{
  color:var(--tw-account-ink);
}

/* Cabecera principal */
.tw-account-hero{
  position:relative;
  isolation:isolate;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(280px,390px);
  align-items:center;
  gap:28px;
  min-height:210px;
  margin:0 0 22px;
  padding:30px 32px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.20);
  border-radius:22px;
  background:
    linear-gradient(120deg,#002c52 0%,#064b67 59%,#00a1cf 100%);
  color:#fff;
  box-shadow:0 18px 42px rgba(0,44,82,.20);
}

.tw-account-hero::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-2;
  opacity:.25;
  background-image:
    linear-gradient(rgba(255,255,255,.11) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.11) 1px,transparent 1px);
  background-size:34px 34px;
  mask-image:linear-gradient(90deg,transparent,black 68%);
}

.tw-account-hero__glow{
  position:absolute;
  z-index:-1;
  display:block;
  border-radius:999px;
  pointer-events:none;
}

.tw-account-hero__glow--one{
  right:-92px;
  top:-130px;
  width:330px;
  height:330px;
  background:rgba(255,255,255,.12);
}

.tw-account-hero__glow--two{
  right:26%;
  bottom:-190px;
  width:300px;
  height:300px;
  border:54px solid rgba(0,202,238,.13);
}

.tw-account-hero__main,
.tw-account-hero__profile{
  position:relative;
  z-index:1;
}

.tw-account-hero__eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:32px;
  padding:0 12px;
  border:1px solid rgba(255,255,255,.22);
  border-radius:999px;
  background:rgba(255,255,255,.13);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.14);
  color:#fff;
  font-size:.76rem;
  font-weight:900;
  letter-spacing:.075em;
  line-height:1;
  text-transform:uppercase;
}

.tw-account-hero__eyebrow svg{
  width:16px;
  height:16px;
  fill:currentColor;
}

.tw-account-hero h1{
  max-width:700px;
  margin:14px 0 8px;
  color:#fff;
  font-size:clamp(2rem,3.2vw,3rem);
  font-weight:900;
  letter-spacing:-.045em;
  line-height:1.02;
  text-shadow:0 2px 0 rgba(0,0,0,.13);
}

.tw-account-hero__main > p{
  max-width:690px;
  margin:0;
  color:rgba(255,255,255,.88);
  font-size:1.02rem;
  line-height:1.6;
}

.tw-account-hero__profile{
  display:grid;
  grid-template-columns:60px minmax(0,1fr);
  align-items:center;
  gap:8px 14px;
  min-width:0;
  padding:17px;
  border:1px solid rgba(255,255,255,.22);
  border-radius:18px;
  background:rgba(0,31,55,.28);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.09);
  backdrop-filter:blur(10px);
}

.tw-account-hero__avatar{
  grid-row:span 2;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:60px;
  height:60px;
  border:2px solid rgba(255,255,255,.65);
  border-radius:18px;
  background:linear-gradient(145deg,#fff,#cceef8);
  color:var(--tw-account-navy);
  font-size:1.22rem;
  font-weight:950;
  letter-spacing:.02em;
  box-shadow:0 8px 18px rgba(0,31,55,.22);
}

.tw-account-hero__identity{
  min-width:0;
}

.tw-account-hero__identity small,
.tw-account-hero__identity strong,
.tw-account-hero__identity > span{
  display:block;
}

.tw-account-hero__identity small{
  margin-bottom:2px;
  color:rgba(255,255,255,.68);
  font-size:.7rem;
  font-weight:900;
  letter-spacing:.08em;
  line-height:1.2;
  text-transform:uppercase;
}

.tw-account-hero__identity strong{
  overflow:hidden;
  color:#fff;
  font-size:1rem;
  font-weight:900;
  line-height:1.25;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.tw-account-hero__identity > span{
  overflow:hidden;
  margin-top:3px;
  color:rgba(255,255,255,.76);
  font-size:.8rem;
  line-height:1.3;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.tw-account-hero__status{
  grid-column:2;
  display:inline-flex;
  align-items:center;
  justify-self:start;
  gap:7px;
  min-height:26px;
  padding:0 9px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:999px;
  background:rgba(255,255,255,.10);
  color:#e7fbff;
  font-size:.71rem;
  font-weight:850;
}

.tw-account-hero__status i{
  width:7px;
  height:7px;
  border-radius:999px;
  background:#66e3a5;
  box-shadow:0 0 0 4px rgba(102,227,165,.14);
}

/* Layout WooCommerce */
.tw-is-account-page .woocommerce{
  display:grid;
  grid-template-columns:260px minmax(0,1fr);
  align-items:start;
  gap:20px;
}

.tw-is-account-page .woocommerce::before,
.tw-is-account-page .woocommerce::after{
  display:none;
  content:none;
}

.tw-is-account-page .woocommerce-MyAccount-navigation{
  float:none;
  width:auto;
  margin:0;
  padding:15px;
  border:1px solid var(--tw-account-line);
  border-radius:18px;
  background:#fff;
  box-shadow:0 12px 30px rgba(13,49,75,.08);
}

.tw-account-nav-profile{
  display:grid;
  grid-template-columns:48px minmax(0,1fr);
  align-items:center;
  gap:11px;
  min-width:0;
  margin-bottom:14px;
  padding:4px 3px 14px;
  border-bottom:1px solid #e3eef3;
}

.tw-account-nav-profile__avatar{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:48px;
  height:48px;
  border-radius:15px;
  background:linear-gradient(145deg,var(--tw-account-navy),#00769c);
  color:#fff;
  font-size:.98rem;
  font-weight:950;
  letter-spacing:.02em;
  box-shadow:0 8px 18px rgba(0,44,82,.18);
}

.tw-account-nav-profile__copy{
  min-width:0;
}

.tw-account-nav-profile__copy small,
.tw-account-nav-profile__copy strong,
.tw-account-nav-profile__copy > span{
  display:block;
}

.tw-account-nav-profile__copy small{
  color:#688091;
  font-size:.65rem;
  font-weight:900;
  letter-spacing:.08em;
  line-height:1.2;
  text-transform:uppercase;
}

.tw-account-nav-profile__copy strong{
  overflow:hidden;
  margin-top:2px;
  color:var(--tw-account-navy);
  font-size:.9rem;
  font-weight:900;
  line-height:1.25;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.tw-account-nav-profile__copy > span{
  overflow:hidden;
  margin-top:2px;
  color:#738897;
  font-size:.7rem;
  line-height:1.25;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.tw-account-nav-label{
  margin:0 7px 8px;
  color:#748998;
  font-size:.65rem;
  font-weight:950;
  letter-spacing:.09em;
  text-transform:uppercase;
}

.tw-is-account-page .woocommerce-MyAccount-navigation ul{
  display:grid;
  gap:5px;
  margin:0;
  padding:0;
  list-style:none;
}

.tw-is-account-page .woocommerce-MyAccount-navigation li{
  position:relative;
  margin:0;
  padding:0;
  list-style:none;
}

.tw-is-account-page .woocommerce-MyAccount-navigation li::marker{
  content:"";
}

.tw-is-account-page .woocommerce-MyAccount-navigation li a{
  position:relative;
  display:flex;
  align-items:center;
  gap:11px;
  min-height:45px;
  padding:8px 11px;
  overflow:hidden;
  border:1px solid transparent;
  border-radius:12px;
  color:#29475a;
  font-size:.88rem;
  font-weight:790;
  letter-spacing:-.01em;
  line-height:1.2;
  text-decoration:none;
  transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease;
}

.tw-is-account-page .woocommerce-MyAccount-navigation li a::before{
  content:"";
  flex:0 0 32px;
  width:32px;
  height:32px;
  border-radius:10px;
  background-color:#eaf4f8;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23002c52' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4.5 21a7.5 7.5 0 0 1 15 0'/%3E%3C/svg%3E");
  background-position:center;
  background-repeat:no-repeat;
  background-size:17px 17px;
  transition:background-color .18s ease,filter .18s ease;
}

.tw-is-account-page .woocommerce-MyAccount-navigation li a::after{
  content:"";
  width:7px;
  height:7px;
  margin-left:auto;
  border-top:2px solid currentColor;
  border-right:2px solid currentColor;
  opacity:.34;
  transform:rotate(45deg);
}

.tw-is-account-page .woocommerce-MyAccount-navigation li a:hover{
  border-color:#d7e8ef;
  background:#f4fafc;
  color:var(--tw-account-navy);
  transform:translateX(2px);
}

.tw-is-account-page .woocommerce-MyAccount-navigation li.is-active a{
  border-color:#bfe4ef;
  background:linear-gradient(90deg,#e8f8fc,#f6fcfe);
  color:var(--tw-account-navy);
  box-shadow:inset 3px 0 0 var(--tw-account-cyan);
}

.tw-is-account-page .woocommerce-MyAccount-navigation li.is-active a::before{
  background-color:#d8f3fa;
  box-shadow:inset 0 0 0 1px rgba(0,167,214,.18);
}

/* Íconos SVG embebidos: no requieren librerías externas. */
.tw-is-account-page .woocommerce-MyAccount-navigation-link--dashboard a::before{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23002c52' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1.5'/%3E%3C/svg%3E");
}
.tw-is-account-page .woocommerce-MyAccount-navigation-link--mi-tecnos a::before{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23002c52' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4.8 6v5.2c0 4.5 3 7.8 7.2 9 4.2-1.2 7.2-4.5 7.2-9V6L12 3Z'/%3E%3Cpath d='m8.7 11.8 2.1 2.1 4.5-4.5'/%3E%3C/svg%3E");
}
.tw-is-account-page .woocommerce-MyAccount-navigation-link--mis-reparaciones a::before{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23002c52' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a4 4 0 0 0-5.1 5.1L4 17l3 3 5.6-5.6a4 4 0 0 0 5.1-5.1l-2.4 2.4-3-3 2.4-2.4Z'/%3E%3C/svg%3E");
}
.tw-is-account-page .woocommerce-MyAccount-navigation-link--orders a::before{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23002c52' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h12l2 5-8 4-8-4 2-5Z'/%3E%3Cpath d='M4 8v9l8 4 8-4V8M12 12v9'/%3E%3C/svg%3E");
}
.tw-is-account-page .woocommerce-MyAccount-navigation-link--downloads a::before{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23002c52' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12m0 0 4-4m-4 4-4-4'/%3E%3Cpath d='M5 19h14'/%3E%3C/svg%3E");
}
.tw-is-account-page .woocommerce-MyAccount-navigation-link--edit-address a::before{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23002c52' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5-8 11-8 11S4 15 4 10a8 8 0 1 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E");
}
.tw-is-account-page .woocommerce-MyAccount-navigation-link--edit-account a::before{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23002c52' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4.5 21a7.5 7.5 0 0 1 15 0'/%3E%3C/svg%3E");
}
.tw-is-account-page .woocommerce-MyAccount-navigation-link--payment-methods a::before{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23002c52' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 9h18M7 15h3'/%3E%3C/svg%3E");
}
.tw-is-account-page .woocommerce-MyAccount-navigation-link--customer-logout{
  margin-top:9px;
  padding-top:10px;
  border-top:1px solid #e4eef3;
}
.tw-is-account-page .woocommerce-MyAccount-navigation-link--customer-logout a{
  color:var(--tw-account-danger);
}
.tw-is-account-page .woocommerce-MyAccount-navigation-link--customer-logout a::before{
  background-color:#fff0f0;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b52828' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 4H5v16h5M14 8l4 4-4 4M18 12H9'/%3E%3C/svg%3E");
}

/* Contenido principal */
.tw-is-account-page .woocommerce-MyAccount-content{
  float:none;
  width:auto;
  min-width:0;
  margin:0;
  padding:22px;
  border:1px solid var(--tw-account-line);
  border-radius:18px;
  background:#fff;
  box-shadow:0 12px 30px rgba(13,49,75,.07);
  color:var(--tw-account-ink);
}

.tw-is-account-page .woocommerce-MyAccount-content > :first-child{
  margin-top:0;
}

.tw-is-account-page .woocommerce-MyAccount-content > :last-child{
  margin-bottom:0;
}

.tw-is-account-page .woocommerce-MyAccount-content p{
  color:#536c7d;
  line-height:1.65;
}

.tw-is-account-page .woocommerce-MyAccount-content a:not(.button):not(.tw-mt-btn):not(.tw-repair-btn){
  color:#087aa3;
  font-weight:750;
  text-decoration-thickness:1px;
  text-underline-offset:3px;
}

.tw-is-account-page .woocommerce-MyAccount-content h2,
.tw-is-account-page .woocommerce-MyAccount-content h3,
.tw-is-account-page .woocommerce-MyAccount-content h4{
  color:var(--tw-account-navy);
  font-weight:900;
  letter-spacing:-.025em;
}

.tw-is-account-page .woocommerce-MyAccount-content h2{
  margin:0 0 16px;
  font-size:clamp(1.35rem,2vw,1.75rem);
}

.tw-is-account-page .woocommerce-MyAccount-content h3{
  margin:0 0 12px;
  font-size:1.08rem;
}

/* Dashboard */
.tw-account-endpoint-dashboard .woocommerce-MyAccount-content > p:first-child{
  margin:0 0 14px;
  padding:16px 18px;
  border:1px solid #cfe8f1;
  border-radius:14px;
  background:linear-gradient(135deg,#eefaff,#fff);
  color:#29475a;
  font-weight:650;
}

/* Formularios */
.tw-is-account-page .woocommerce form .form-row{
  margin:0 0 15px;
}

.tw-is-account-page .woocommerce form .form-row label{
  display:block;
  margin:0 0 6px;
  color:#29475a;
  font-size:.82rem;
  font-weight:850;
}

.tw-is-account-page .woocommerce form .required{
  color:#c73939;
}

.tw-is-account-page .woocommerce input.input-text,
.tw-is-account-page .woocommerce input[type="text"],
.tw-is-account-page .woocommerce input[type="email"],
.tw-is-account-page .woocommerce input[type="tel"],
.tw-is-account-page .woocommerce input[type="password"],
.tw-is-account-page .woocommerce input[type="number"],
.tw-is-account-page .woocommerce select,
.tw-is-account-page .woocommerce textarea{
  width:100%;
  min-height:46px;
  margin:0;
  padding:10px 13px;
  border:1px solid #cbdfe8;
  border-radius:11px;
  outline:none;
  background:#fbfdfe;
  color:var(--tw-account-ink);
  font:inherit;
  box-shadow:inset 0 1px 2px rgba(0,44,82,.035);
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease;
}

.tw-is-account-page .woocommerce textarea{
  min-height:110px;
  resize:vertical;
}

.tw-is-account-page .woocommerce input:focus,
.tw-is-account-page .woocommerce select:focus,
.tw-is-account-page .woocommerce textarea:focus{
  border-color:var(--tw-account-cyan);
  background:#fff;
  box-shadow:0 0 0 4px rgba(0,167,214,.11);
}

.tw-is-account-page .woocommerce fieldset{
  margin:22px 0 4px;
  padding:18px;
  border:1px solid #d8e8ef;
  border-radius:14px;
  background:#f7fbfd;
}

.tw-is-account-page .woocommerce fieldset legend{
  padding:0 8px;
  color:var(--tw-account-navy);
  font-size:.85rem;
  font-weight:900;
}

.tw-is-account-page .select2-container .select2-selection--single{
  min-height:46px;
  border:1px solid #cbdfe8;
  border-radius:11px;
  background:#fbfdfe;
}

.tw-is-account-page .select2-container--default .select2-selection--single .select2-selection__rendered{
  line-height:44px;
  color:var(--tw-account-ink);
}

.tw-is-account-page .select2-container--default .select2-selection--single .select2-selection__arrow{
  height:44px;
}

/* Botones */
.tw-is-account-page .woocommerce .button,
.tw-is-account-page .woocommerce button.button,
.tw-is-account-page .woocommerce input.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:43px;
  padding:0 16px;
  border:1px solid var(--tw-account-navy);
  border-radius:11px;
  background:var(--tw-account-navy);
  color:#fff;
  font-size:.86rem;
  font-weight:900;
  line-height:1.1;
  text-decoration:none;
  box-shadow:0 8px 16px rgba(0,44,82,.13);
  transition:transform .18s ease,filter .18s ease,box-shadow .18s ease;
}

.tw-is-account-page .woocommerce .button:hover,
.tw-is-account-page .woocommerce button.button:hover,
.tw-is-account-page .woocommerce input.button:hover{
  background:var(--tw-account-navy-2);
  color:#fff;
  filter:none;
  transform:translateY(-1px);
  box-shadow:0 11px 20px rgba(0,44,82,.16);
}

/* Tablas */
.tw-is-account-page .woocommerce table.shop_table,
.tw-is-account-page .woocommerce table.my_account_orders{
  width:100%;
  overflow:hidden;
  border:1px solid var(--tw-account-line);
  border-collapse:separate;
  border-spacing:0;
  border-radius:14px;
  background:#fff;
}

.tw-is-account-page .woocommerce table.shop_table th,
.tw-is-account-page .woocommerce table.my_account_orders th{
  padding:12px 13px;
  border:0;
  border-bottom:1px solid var(--tw-account-line);
  background:#f0f8fb;
  color:var(--tw-account-navy);
  font-size:.72rem;
  font-weight:950;
  letter-spacing:.055em;
  text-align:left;
  text-transform:uppercase;
}

.tw-is-account-page .woocommerce table.shop_table td,
.tw-is-account-page .woocommerce table.my_account_orders td{
  padding:13px;
  border:0;
  border-bottom:1px solid #e7f0f4;
  color:#3e596a;
  vertical-align:middle;
}

.tw-is-account-page .woocommerce table.shop_table tr:last-child td,
.tw-is-account-page .woocommerce table.my_account_orders tr:last-child td{
  border-bottom:0;
}

.tw-is-account-page .woocommerce table.my_account_orders .button{
  min-height:36px;
  padding:0 12px;
  font-size:.76rem;
}

/* Direcciones */
.tw-is-account-page .woocommerce-Addresses{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  margin:18px 0 0;
}

.tw-is-account-page .woocommerce-Address{
  float:none;
  width:auto;
  margin:0;
  padding:17px;
  border:1px solid var(--tw-account-line);
  border-radius:14px;
  background:#f8fcfd;
}

.tw-is-account-page .woocommerce-Address-title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
}

.tw-is-account-page .woocommerce-Address-title h3{
  float:none;
  margin:0;
}

.tw-is-account-page .woocommerce-Address-title .edit{
  float:none;
  padding:5px 9px;
  border-radius:8px;
  background:#e8f7fb;
  font-size:.76rem;
}

.tw-is-account-page address{
  color:#577081;
  font-style:normal;
  line-height:1.7;
}

/* Avisos Woo */
.tw-is-account-page .woocommerce-notices-wrapper:empty{
  display:none;
}

.tw-is-account-page .woocommerce-message,
.tw-is-account-page .woocommerce-info,
.tw-is-account-page .woocommerce-error{
  margin:0 0 16px;
  padding:14px 16px 14px 46px;
  border:1px solid #cfe7f0;
  border-top-width:1px;
  border-radius:13px;
  background:#f3fbfe;
  color:#29475a;
  box-shadow:none;
}

.tw-is-account-page .woocommerce-message::before,
.tw-is-account-page .woocommerce-info::before,
.tw-is-account-page .woocommerce-error::before{
  top:14px;
  left:17px;
  color:#048bb7;
}

.tw-is-account-page .woocommerce-error{
  border-color:#f0cccc;
  background:#fff6f6;
  color:#773434;
}

.tw-is-account-page .woocommerce-error::before{
  color:#c33d3d;
}

/* Login / recuperación cuando no hay sesión */
.tw-account-guest .tw-account-page-card{
  max-width:1040px;
  margin-inline:auto;
}

.tw-account-guest .woocommerce{
  display:block;
}

.tw-account-guest .woocommerce h2{
  color:var(--tw-account-navy);
  font-weight:900;
}

.tw-account-guest .woocommerce form.login,
.tw-account-guest .woocommerce form.register,
.tw-account-guest .woocommerce form.lost_reset_password{
  max-width:560px;
  margin:0 auto;
  padding:22px;
  border:1px solid var(--tw-account-line);
  border-radius:17px;
  background:#fff;
  box-shadow:0 12px 30px rgba(13,49,75,.07);
}

/* Mantener el bloque Mi TecnOS limpio dentro de la nueva estructura. */
.tw-account-endpoint-mi-tecnos .woocommerce-MyAccount-content{
  padding:0;
  border:0;
  background:transparent;
  box-shadow:none;
}

.tw-account-endpoint-mi-tecnos .tw-mi-tecnos{
  color:var(--tw-account-ink);
}

/* Tablet */
@media (max-width:1020px){
  .tw-account-hero{
    grid-template-columns:minmax(0,1fr) 320px;
    padding:26px;
  }

  .tw-is-account-page .woocommerce{
    grid-template-columns:230px minmax(0,1fr);
  }

  .tw-is-account-page .woocommerce-MyAccount-navigation li a{
    gap:9px;
    padding-inline:9px;
    font-size:.82rem;
  }
}

@media (max-width:860px){
  .tw-is-account-page .tw-account-page-card{
    padding:18px;
  }

  .tw-account-hero{
    grid-template-columns:1fr;
    min-height:0;
    gap:20px;
  }

  .tw-account-hero__profile{
    max-width:460px;
  }

  .tw-is-account-page .woocommerce{
    grid-template-columns:1fr;
  }

  .tw-is-account-page .woocommerce-MyAccount-navigation{
    overflow:hidden;
  }

  .tw-account-nav-profile{
    margin-bottom:10px;
  }

  .tw-account-nav-label{
    display:none;
  }

  .tw-is-account-page .woocommerce-MyAccount-navigation ul{
    display:flex;
    gap:8px;
    padding:2px 1px 5px;
    overflow-x:auto;
    overscroll-behavior-inline:contain;
    scrollbar-width:thin;
    scroll-snap-type:x proximity;
  }

  .tw-is-account-page .woocommerce-MyAccount-navigation li{
    flex:0 0 auto;
    scroll-snap-align:start;
  }

  .tw-is-account-page .woocommerce-MyAccount-navigation li a{
    min-width:156px;
    transform:none;
  }

  .tw-is-account-page .woocommerce-MyAccount-navigation-link--customer-logout{
    margin-top:0;
    padding-top:0;
    padding-left:8px;
    border-top:0;
    border-left:1px solid #e4eef3;
  }
}

/* Móvil */
@media (max-width:620px){
  .tw-is-account-page .tw-content-wrap{
    width:min(100% - 16px,1320px);
    padding:14px 0 34px;
  }

  .tw-is-account-page .tw-account-page-card{
    padding:10px;
    border-radius:18px;
  }

  .tw-account-hero{
    margin-bottom:12px;
    padding:21px 18px;
    border-radius:17px;
  }

  .tw-account-hero h1{
    margin-top:12px;
    font-size:1.82rem;
  }

  .tw-account-hero__main > p{
    font-size:.9rem;
    line-height:1.5;
  }

  .tw-account-hero__profile{
    grid-template-columns:48px minmax(0,1fr);
    padding:13px;
    border-radius:14px;
  }

  .tw-account-hero__avatar{
    width:48px;
    height:48px;
    border-radius:14px;
    font-size:1rem;
  }

  .tw-account-hero__status{
    display:none;
  }

  .tw-is-account-page .woocommerce{
    gap:12px;
  }

  .tw-is-account-page .woocommerce-MyAccount-navigation,
  .tw-is-account-page .woocommerce-MyAccount-content{
    border-radius:15px;
  }

  .tw-is-account-page .woocommerce-MyAccount-navigation{
    padding:11px;
  }

  .tw-account-nav-profile{
    grid-template-columns:40px minmax(0,1fr);
    padding:1px 1px 10px;
  }

  .tw-account-nav-profile__avatar{
    width:40px;
    height:40px;
    border-radius:12px;
    font-size:.82rem;
  }

  .tw-account-nav-profile__copy > span{
    display:none;
  }

  .tw-is-account-page .woocommerce-MyAccount-navigation li a{
    min-width:145px;
    min-height:42px;
    padding:6px 9px;
    border-radius:10px;
    font-size:.79rem;
  }

  .tw-is-account-page .woocommerce-MyAccount-navigation li a::before{
    flex-basis:29px;
    width:29px;
    height:29px;
    border-radius:9px;
    background-size:15px 15px;
  }

  .tw-is-account-page .woocommerce-MyAccount-navigation li a::after{
    display:none;
  }

  .tw-is-account-page .woocommerce-MyAccount-content{
    padding:16px;
  }

  .tw-account-endpoint-mi-tecnos .woocommerce-MyAccount-content{
    padding:0;
  }

  .tw-is-account-page .woocommerce-Addresses{
    grid-template-columns:1fr;
  }

  .tw-is-account-page .woocommerce table.shop_table,
  .tw-is-account-page .woocommerce table.my_account_orders{
    font-size:.84rem;
  }
}
