/* Team Edition Mods 3.4 — Menú Mi cuenta, sin alterar el login original. */
#header .shop-nav > li.tem-account-menu-item,
#header .shop-nav > li.tem-account-menu-item:hover { position: relative; overflow: visible; }
#header .tem-account-dropdown { position: relative; color: inherit; }
#header .tem-account-dropdown > summary.tem-account-trigger {
  list-style: none; display: inline-flex; gap: 8px; align-items: center;
  border: 1px solid rgba(255,255,255,.65); border-radius: 5px;
  padding: 9px 13px; color: #fff; background: rgba(5,71,63,.28);
  font: 600 12px/1.25 system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  text-transform: none; cursor: pointer; white-space: nowrap; transition: background .15s ease;
}
#header .tem-account-dropdown > summary::-webkit-details-marker { display:none; }
#header .tem-account-dropdown > summary::marker { content:''; }
#header .tem-account-dropdown > summary.tem-account-trigger:hover,
#header .tem-account-dropdown[open] > summary.tem-account-trigger { color: #fff; background: #0a9c88; border-color: #21c8ae; }
#header .tem-account-trigger-icon { font-size: 8px; color: #ffd21e; }
#header .tem-account-trigger-chevron { font-size: 18px; line-height: .7; }
#header .tem-account-dropdown > summary:focus-visible,
#header .tem-account-panel a:focus-visible { outline: 3px solid #ffd21e; outline-offset:3px; }
#header .tem-account-dropdown .tem-account-panel {
  position:absolute; top:calc(100% + 10px); right:0; width: min(260px, calc(100vw - 28px));
  padding: 9px; background: #fff; color: #1e292c; text-align:left; border: 1px solid #d6e5e2;
  border-radius: 13px; box-shadow: 0 14px 36px rgba(0,0,0,.24);
  z-index: 100020; text-transform:none; line-height:1.4;
}
#header .tem-account-dropdown .tem-account-panel:before { content:''; position:absolute; bottom:100%; left:0; width:100%; height:12px; }
#header .tem-account-panel .tem-account-user {
  display:flex; gap:10px; align-items:center; padding:9px 9px 12px; margin-bottom:4px;
  border-bottom:1px solid #e5eceb; color: #173b37;
}
#header .tem-account-panel .tem-account-avatar { display:block; flex:0 0 36px; width:36px; height:36px; border-radius:50%; }
#header .tem-account-panel .tem-account-user-name { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font: 700 13px/1.35 system-ui,-apple-system,"Segoe UI",Arial,sans-serif; }
#header .shop-nav li .tem-account-panel a,
#header .shop-nav li:hover .tem-account-panel a {
  display:block; position:relative; width:100%; padding:10px 12px; border:0; border-radius:8px;
  color:#203331 !important; font:600 13px/1.3 system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  text-decoration:none; text-transform:none; background:transparent; transition:background .13s ease;
}
#header .shop-nav li .tem-account-panel a:hover,
#header .shop-nav li:hover .tem-account-panel a:hover { color:#006b5c !important; background:#e9f9f5; }
#header .shop-nav li .tem-account-panel a.tem-account-signout { border-top:1px solid #e5eceb; border-radius:0 0 8px 8px; margin-top:4px; color:#a13d45 !important; }
#header .shop-nav li .tem-account-panel a:before,
#header .shop-nav li .tem-account-panel a:after,
#header .shop-nav > li.tem-account-menu-item:after { content:none !important; display:none !important; }
body.olam-dark-mode #header .tem-account-dropdown .tem-account-panel { background:#1b2426; color:#fff; border-color:#324344; }
body.olam-dark-mode #header .tem-account-panel .tem-account-user { border-color:#344446; color:#e6fff7; }
body.olam-dark-mode #header .shop-nav li .tem-account-panel a { color:#e9f5f3 !important; }
body.olam-dark-mode #header .shop-nav li .tem-account-panel a:hover { color:#43e1c6 !important; background:#243e39; }
body.olam-dark-mode #header .shop-nav li .tem-account-panel a.tem-account-signout { color:#ffaaaa !important; border-color:#344446; }
@media (max-width: 1100px) {
  #header .tem-account-dropdown .tem-account-panel { position:fixed; top:74px; right:12px; max-width:calc(100vw - 24px); }
}
@media (max-width: 600px) {
  #header .tem-account-dropdown > summary.tem-account-trigger { padding:8px 10px; font-size:12px; }
  #header .tem-account-dropdown .tem-account-panel { top:64px; }
}
