/* ETPR 16.12.36 · Limpieza visual y contraste */
:root{
  --etpr-green-900:#083d35;
  --etpr-green-850:#0b4b42;
  --etpr-green-800:#0e5b4f;
  --etpr-green-100:#eef6f2;
  --etpr-border:#b8d1c4;
  --etpr-text:#133a33;
  --etpr-text-soft:#35594f;
  --etpr-accent:#d8b565;
}

body.pr-public,
body.etpr-office-app{color:var(--etpr-text);}

/* Mejor contraste general en navegación */
.pr-header,
.pr-header .pr-nav,
.pr-header .pr-header-actions{color:#fff;}
.pr-header .pr-nav > a,
.pr-header .pr-nav > details > summary,
.pr-header .pr-header-actions > a,
.pr-header .pr-header-actions > button,
.pr-header .pr-header-actions .etpr-lang-switch a{
  color:#fff !important;
}
.pr-header .pr-nav > a,
.pr-header .pr-nav > details > summary{
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.14);
  border-radius:14px;
  min-height:48px;
  padding:0 16px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-weight:800;
}
.pr-header .pr-nav > details[open] > summary,
.pr-header .pr-nav > a:hover,
.pr-header .pr-nav > details > summary:hover{
  background:rgba(255,255,255,.16);
}
.pr-header .pr-nav > .etpr1635-account > summary{
  background:linear-gradient(180deg,var(--etpr-green-850),var(--etpr-green-900));
  border-color:rgba(216,181,101,.65);
  box-shadow:0 0 0 1px rgba(216,181,101,.16) inset;
}
.pr-header .pr-nav > .etpr1635-account[open] > summary{
  background:linear-gradient(180deg,var(--etpr-green-800),var(--etpr-green-900));
}
.pr-header .pr-nav .etpr156-menu-popup{
  border:1px solid var(--etpr-border);
  border-radius:16px;
  box-shadow:0 18px 40px rgba(8,61,53,.18);
  padding:14px;
}
.pr-header .pr-nav .etpr156-menu-popup,
.pr-header .pr-nav .etpr156-menu-popup *{
  color:var(--etpr-text);
}
.pr-header .pr-nav .etpr156-menu-popup a{
  border-radius:10px;
}
.pr-header .pr-nav .etpr156-menu-popup a:hover{
  background:var(--etpr-green-100);
}
.pr-header .pr-nav .etpr156-menu-popup .etpr1636-subsection{
  margin:12px 6px 4px;
  font-size:11px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--etpr-text-soft);
}

/* Ajuste del landing de acceso */
.e1223-access-landing,
.e1223-access-landing > div:last-child,
.e1223-access-landing .e1223-cards,
.e1223-access-landing .e1223-auth-security{
  color:var(--etpr-text);
}
.e1223-access-landing .e1223-cards .e1223-account-card,
.e1223-access-landing form,
.e1223-access-landing .woocommerce,
.e1223-access-landing .woocommerce form{
  border-color:var(--etpr-border);
}

/* Oficina: ocultar franjas redundantes y limpiar espaciado */
body.etpr-office-app .etpr12-office-hub,
body.etpr-office-app .etpr1636-remove,
body.etpr-office-app .etpr1636-hidden,
body.etpr-office-app .etpr-admin .etpr-admin-top + section.etpr1636-duplicate,
body.etpr-office-app .etpr-admin .etpr-admin-top + nav.etpr1636-duplicate{
  display:none !important;
}

body.etpr-office-app .e1616-hero,
body.etpr-office-app .etpr146-dashboard-hero,
body.etpr-office-app .etpr160-office-hero,
body.etpr-office-app .etpr-admin-top{
  border-radius:18px;
  overflow:hidden;
}

body.etpr-office-app .etpr-admin,
body.etpr-office-app #oficina-contenido{
  color:var(--etpr-text);
}
body.etpr-office-app #oficina-contenido a,
body.etpr-office-app .etpr-admin a{color:#0a5f4b;}
body.etpr-office-app #oficina-contenido button,
body.etpr-office-app #oficina-contenido .button,
body.etpr-office-app #oficina-contenido .e1616-button,
body.etpr-office-app #oficina-contenido .etpr161-stage-trigger{
  font-weight:800;
}

/* Si por caché quedara un segundo Mi Cuenta, ocultarlo por seguridad visual */
.pr-nav > details.etpr1635-account[data-etpr1636-duplicate="1"]{
  display:none !important;
}

/* Account disclosure uses its own layout, not the legacy mega-menu. */
html body #etpr-native-office #etpr-office-primary > #etpr-office-account-single{position:relative!important;overflow:visible!important;z-index:10001!important}
html body #etpr-native-office #etpr-office-primary > #etpr-office-account-single:not([open]) > .etpr38-account-panel{display:none!important}
html body #etpr-native-office #etpr-office-primary > #etpr-office-account-single[open] > .etpr38-account-panel{display:block!important;visibility:visible!important;opacity:1!important;position:absolute!important;right:0!important;left:auto!important;top:100%!important;bottom:auto!important;transform:none!important;translate:none!important;width:min(330px,calc(100vw - 24px))!important;min-width:0!important;max-width:calc(100vw - 24px)!important;padding:12px!important;background:#f7faf8!important;color:#123b31!important;z-index:10002!important;max-height:65vh!important;overflow:auto!important;box-sizing:border-box!important;}
html body #etpr-native-office #etpr-office-primary #etpr-office-account-single[open] .etpr-office-account-links{display:block!important;visibility:visible!important;opacity:1!important;position:static!important;max-height:none!important;overflow:visible!important;}
html body #etpr-native-office #etpr-office-primary #etpr-office-account-single[open] .etpr38-account-panel a[href]{display:flex!important;visibility:visible!important;opacity:1!important;color:#123b31!important;-webkit-text-fill-color:#123b31!important;background:#fff!important;min-height:42px!important;align-items:center!important;gap:8px!important;padding:8px 10px!important;pointer-events:auto!important;}
html body #etpr-native-office #etpr-office-primary #etpr-office-account-single[open] .etpr38-account-panel a[href] span{color:inherit!important;-webkit-text-fill-color:inherit!important;}
html body #etpr-native-office #etpr-office-primary #etpr-office-account-single[open] .etpr38-account-panel a[href]:hover{background:#e3f1e8!important;}
@media(max-width:760px){html body #etpr-native-office #etpr-office-primary > #etpr-office-account-single[open] > .etpr38-account-panel{position:static!important;width:100%!important;max-width:100%!important;}}
