/* V18 — menú de cuenta GERTY para usuarios logueados y visitantes */
.gerty-account-menu-host-v18 { position: relative !important; }
.gerty-account-trigger-v18 { position: relative !important; z-index: 100002 !important; cursor: pointer !important; }
.gerty-account-menu-shade-v18 {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(7, 30, 46, .18);
    z-index: 100000;
}
.gerty-account-menu-shade-v18.is-open { display: block; }
.gerty-account-menu-v18 {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    right: -8px;
    width: 230px;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #e7eef5;
    border-radius: 12px;
    padding: 9px;
    box-shadow: 0 12px 30px rgba(0,55,90,.18);
    z-index: 100003;
}
.gerty-account-menu-v18::before {
    content: '';
    position: absolute;
    top: -7px;
    right: 24px;
    width: 13px;
    height: 13px;
    background: #fff;
    border-left: 1px solid #e7eef5;
    border-top: 1px solid #e7eef5;
    transform: rotate(45deg);
}
.gerty-account-menu-v18.is-open { display: block; animation: gertyMenuInV18 .14s ease-out; }
@keyframes gertyMenuInV18 { from {opacity:0; transform:translateY(-5px)} to {opacity:1; transform:translateY(0)} }

/* Logged-in menu */
.gerty-account-menu-item-v18 {
    display:flex !important; align-items:center !important; gap:11px !important;
    width:100% !important; min-height:45px !important; box-sizing:border-box !important;
    padding:9px 12px !important; border-radius:9px !important;
    color:#16324a !important; background:#fff !important; text-decoration:none !important;
    font-size:14px !important; font-weight:600 !important; line-height:1.2 !important;
    transition:background .15s ease,color .15s ease !important;
}
.gerty-account-menu-item-v18:hover,.gerty-account-menu-item-v18:focus { background:#eef8ff !important; color:#009CFB !important; text-decoration:none !important; outline:none !important; }
.gerty-menu-icon-v18 { width:27px !important; height:27px !important; flex:0 0 27px !important; display:inline-flex !important; align-items:center !important; justify-content:center !important; border-radius:50% !important; background:#eaf7ff !important; color:#009CFB !important; }
.gerty-menu-icon-v18 svg { width:16px !important; height:16px !important; fill:currentColor !important; }
.gerty-account-menu-logout-v18 { margin-top:4px !important; border-top:1px solid #edf2f6 !important; border-radius:0 0 9px 9px !important; padding-top:12px !important; color:#009CFB !important; }
.gerty-account-menu-logout-v18 .gerty-menu-icon-v18 { background:#009CFB !important; color:#fff !important; }

/* Logged-out menu — GERTY blue, not Ripley's pink */
.gerty-account-login-button-v18 {
    display:flex !important; align-items:center !important; justify-content:center !important;
    width:100% !important; min-height:44px !important; box-sizing:border-box !important;
    border-radius:8px !important; background:#009CFB !important; color:#fff !important;
    text-decoration:none !important; font-size:14px !important; font-weight:700 !important;
    text-transform:uppercase !important; letter-spacing:.1px !important;
    transition:filter .15s ease !important;
}
.gerty-account-login-button-v18:hover,.gerty-account-login-button-v18:focus { color:#fff !important; background:#008fe7 !important; text-decoration:none !important; outline:none !important; }
.gerty-account-new-v18 { padding:14px 8px 6px !important; text-align:center !important; color:#5e7180 !important; font-size:12px !important; line-height:1.3 !important; }
.gerty-account-register-v18 { display:block !important; text-align:center !important; padding:5px 8px 9px !important; color:#009CFB !important; background:transparent !important; text-decoration:none !important; font-size:13px !important; font-weight:700 !important; }
.gerty-account-register-v18:hover,.gerty-account-register-v18:focus { color:#007fcf !important; text-decoration:underline !important; outline:none !important; }

@media (min-width:851px) {
    /* The menu is controlled by JS so it stays open after the pointer leaves the trigger. */
    .gerty-account-menu-host-v18:hover > .gerty-account-trigger-v18 { cursor:pointer !important; }
}
@media (max-width:850px) {
    .gerty-account-menu-v18 { right:-4px; width:215px; }
}
@media (max-width:600px) {
    .gerty-account-menu-v18 { position:fixed; top:62px; right:12px; width:min(230px,calc(100vw - 24px)); }
    .gerty-account-menu-v18::before { right:24px; }
}
