/* Roxi R3.4: only the account action in the unchanged main header.
   All sizing, typography and colors inherit from the current live Roxi theme. */
header:not(.customer-header) .navbar-action-area .rxh-account { position: relative; display: flex; align-items: center; justify-content: flex-end; min-width: 88px; z-index: 145; font-family: var(--font, Gilroy, sans-serif); }
header:not(.customer-header) .navbar-action-area .rxh-account [hidden] { display: none !important; }
header:not(.customer-header) .navbar-action-area .rxh-member { position: relative; min-width: 0; }
header:not(.customer-header) .navbar-action-area .rxh-member-trigger { width: 168px; max-width: 100%; height: 46px; padding: 4px 11px 4px 5px; display: flex; align-items: center; gap: 8px; border: 0; border-radius: 25px; background: var(--bg,#f2f3f8); color: var(--dark-text,#303550); font: inherit; cursor: pointer; text-align: left; transition: background .2s, box-shadow .2s; }
header:not(.customer-header) .navbar-action-area .rxh-member-trigger:focus-visible { outline: 2px solid var(--main-color,#ff573d); outline-offset: 3px; }
header:not(.customer-header) .navbar-action-area .rxh-avatar { width: 38px; height: 38px; min-width: 38px; display: flex; justify-content: center; align-items: center; border-radius: 50%; overflow: hidden; background: color-mix(in srgb,var(--main-color,#ff573d) 16%,white); color: var(--main-color,#ff573d); font-size: 13px; font-weight: 700; }
header:not(.customer-header) .navbar-action-area .rxh-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 50%; }
header:not(.customer-header) .navbar-action-area .rxh-member-details { min-width: 0; flex: 1; display: flex; flex-direction: column; justify-content: center; line-height: 1.12; }
header:not(.customer-header) .navbar-action-area .rxh-member-details strong { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; max-width: 86px; color: var(--dark-text,#28324b); font-size: 13px; font-weight: 700; }
header:not(.customer-header) .navbar-action-area .rxh-member-details small { display: block; margin-top: 3px; color: var(--soft-text,#8089a1); font-size: 11px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
header:not(.customer-header) .navbar-action-area .rxh-ellipsis { color: var(--soft-text,#8b91a3); font-size: 16px; flex: 0 0 auto; }
header:not(.customer-header) .navbar-action-area .rxh-dropdown { position: absolute; right: 0; top: calc(100% + 10px); width: 212px; max-width: calc(100vw - 24px); padding: 6px 0; border: 1px solid var(--rxp-border,#e7e9f2); background: var(--white,#fff); border-radius: 15px; box-shadow: 0 16px 38px rgba(25,29,52,.16); z-index: 200; }
header:not(.customer-header) .navbar-action-area .rxh-dropdown::before { content: ''; position: absolute; height: 10px; width: 100%; top: -10px; left: 0; }
header:not(.customer-header) .navbar-action-area .rxh-links { display: block; width: 100%; margin: 0; padding: 0; }
header:not(.customer-header) .navbar-action-area .rxh-links a,header:not(.customer-header) .navbar-action-area .rxh-logout button { display: flex; align-items: center; width: 100%; min-height: 40px; padding: 9px 15px; gap: 12px; background: transparent; border: 0; border-bottom: 1px solid #f0f1f6; color: var(--main-text,#505a73); font-family: inherit; font-size: 13px; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer; text-align: left; }
header:not(.customer-header) .navbar-action-area .rxh-links a:hover,header:not(.customer-header) .navbar-action-area .rxh-links a:focus-visible,header:not(.customer-header) .navbar-action-area .rxh-logout button:not(:disabled):hover { color: var(--main-color,#ff573d); background: color-mix(in srgb,var(--main-color,#ff573d) 6%,white); }
header:not(.customer-header) .navbar-action-area .rxh-links a i,header:not(.customer-header) .navbar-action-area .rxh-logout button i { width: 17px; font-size: 17px; flex: 0 0 17px; color: var(--main-color,#ff573d); }
header:not(.customer-header) .navbar-action-area .rxh-logout { margin: 0; }
header:not(.customer-header) .navbar-action-area .rxh-logout button { border-bottom: 0; }
header:not(.customer-header) .navbar-action-area .rxh-logout button:disabled { opacity: .46; cursor: not-allowed; }
header:not(.customer-header) .navbar-action-area .rxh-menu-error { margin: 4px 10px 8px; padding: 7px 9px; font-size: 12px; color: #a42240; background: #fff1f3; border-radius: 8px; }
/* Only the account pill changes at breakpoints, never the existing header size. */
@media (max-width: 1024px) {
 header:not(.customer-header) .navbar-action-area .rxh-account { min-width: 0; }
 header:not(.customer-header) .navbar-action-area .rxh-member-trigger { width: 130px; height: 40px; padding: 3px 8px 3px 3px; }
 header:not(.customer-header) .navbar-action-area .rxh-avatar { width: 34px; height: 34px; min-width: 34px; }
 header:not(.customer-header) .navbar-action-area .rxh-member-details strong { max-width: 62px; }
}
@media (max-width: 760px) {
 header:not(.customer-header) .navbar-action-area .rxh-member-trigger { width: 42px; height: 42px; padding: 3px; justify-content: center; }
 header:not(.customer-header) .navbar-action-area .rxh-member-details,header:not(.customer-header) .navbar-action-area .rxh-ellipsis { display: none; }
 header:not(.customer-header) .navbar-action-area .rxh-avatar { width: 36px; height: 36px; min-width: 36px; }
 header:not(.customer-header) .navbar-action-area .rxh-dropdown { right: -50px; }
}
@media (max-width: 420px) {
 header:not(.customer-header) .navbar-action-area .rxh-member-trigger { width: 36px; height: 36px; padding: 2px; }
 header:not(.customer-header) .navbar-action-area .rxh-avatar { width: 32px; height: 32px; min-width: 32px; }
 header:not(.customer-header) .navbar-action-area .rxh-dropdown { right: -46px; }
}
@media (prefers-reduced-motion: reduce) { header:not(.customer-header) .navbar-action-area .rxh-member-trigger { transition: none; } }
