.account-page { display: grid; min-height: min(66vh, 720px); place-items: center; padding-block: 60px; }
.account-dialog { position: fixed; inset: 0; width: min(500px, calc(100vw - 28px)); max-width: none; max-height: min(92vh, 720px); margin: auto; padding: 0; overflow: visible; border: 0; background: transparent; color: inherit; }
.account-dialog[open] { animation: account-dialog-in .2s ease-out both; }
.account-dialog::backdrop { background: rgba(3, 8, 17, .64); backdrop-filter: blur(2px); }
.account-dialog .account-card { width: 100%; padding: clamp(26px, 5vw, 38px); box-shadow: 0 24px 80px rgba(0, 0, 0, .38); }
.account-dialog__close { position: absolute; z-index: 2; top: 12px; right: 12px; display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid #344a5d; border-radius: 50%; background: #0d1928; color: #a9bdca; cursor: pointer; }
.account-dialog__close:hover { border-color: #00d9ff; color: #00d9ff; }
.account-dialog .account-back { width: 100%; margin-top: 22px; border: 0; background: transparent; cursor: pointer; font: 400 .8rem 'IBM Plex Sans', sans-serif; }
.account-dialog .account-card__eyebrow { padding-right: 35px; }
.account-dialog .account-card h2 { margin: 0; color: #f3f5f2; font-size: clamp(1.55rem, 4vw, 1.85rem); font-weight: 600; letter-spacing: -.05em; }
@keyframes account-dialog-in { from { opacity: 0; transform: translateY(8px) scale(.99); } to { opacity: 1; transform: translateY(0) scale(1); } }
.account-card { width: min(100%, 460px); padding: clamp(26px, 5vw, 42px); border: 1px solid #2d4053; border-top: 2px solid #00d9ff; background: #111d2c; }
.account-card__eyebrow { margin-bottom: 22px; color: #00d9ff; font: 500 .68rem 'IBM Plex Mono', monospace; letter-spacing: .13em; }
.account-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 26px; color: #f3f5f2; font-size: 1rem; font-weight: 600; }
.account-brand img { width: 42px; height: 42px; object-fit: contain; }
.account-card h1 { margin: 0; color: #f3f5f2; font-size: clamp(1.65rem, 4vw, 2rem); font-weight: 600; letter-spacing: -.05em; }
.account-card__copy { margin: 10px 0 24px; color: #9db0c0; font-size: .92rem; line-height: 1.65; }
.account-google-button { display: flex; width: 100%; min-height: 50px; align-items: center; justify-content: center; gap: 12px; padding: 10px 16px; border: 1px solid #465b6e; border-radius: 3px; background: #f7f8fa; color: #202934; font: 600 .9rem 'IBM Plex Sans', sans-serif; cursor: pointer; transition: background .18s ease, border-color .18s ease, transform .18s ease; }
.account-google-button:hover { border-color: #fff; background: #fff; transform: translateY(-1px); }
.account-google-button:disabled { cursor: wait; opacity: .7; transform: none; }
.account-google-button:focus-visible { outline: 2px solid #00d9ff; outline-offset: 3px; }
.account-google-button--secondary { border-color: #3e5669; background: transparent; color: #dce6ec; text-decoration: none; }
.account-google-button--secondary:hover { background: #172638; }
.account-card__legal { margin: 15px 0 22px; color: #8195a5; font-size: .72rem; line-height: 1.55; text-align: center; }
.account-back { display: flex; align-items: center; justify-content: center; gap: 8px; padding-top: 18px; border-top: 1px solid #293d50; color: #a9bdca; font-size: .8rem; text-decoration: none; }
.account-back:hover { color: #00d9ff; }
.account-message { margin: 16px 0 0; padding: 11px 12px; border: 1px solid #31556a; background: #0b1725; color: #a9bdca; font-size: .8rem; line-height: 1.5; }
.account-message[data-state="error"] { border-color: #794d54; color: #f0b8bd; }
.account-message[hidden] { display: none; }
.account-profile { display: flex; align-items: center; gap: 14px; }
.account-profile__photo, .account-profile__initial { width: 52px; height: 52px; flex: 0 0 52px; border: 1px solid #3c596b; border-radius: 50%; object-fit: cover; }
.account-profile__initial { display: grid; place-items: center; background: #173448; color: #00d9ff; font-size: 1.2rem; font-weight: 600; }
.account-profile h1 { font-size: 1.45rem; }
.account-profile p { margin-top: 4px; color: #91a7b6; font-size: .78rem; overflow-wrap: anywhere; }
.navbar__cart { position: relative; display: grid; width: 40px; height: 40px; flex: none; place-items: center; border: 1px solid #3b566a; border-radius: 3px; background: #122438; color: #d7e8ef; text-decoration: none; }
.navbar__cart:hover { border-color: #00d9ff; color: #00d9ff; }
.navbar__cart-count { position: absolute; top: -7px; right: -7px; display: grid; min-width: 18px; height: 18px; padding-inline: 3px; place-items: center; border-radius: 9px; background: #00d9ff; color: #08111c; font: 700 .58rem 'IBM Plex Sans', sans-serif; }
.product-detail__cart-form { width: 100%; margin-bottom: 0; }
.product-detail__cart-form .btn { width: 100%; cursor: pointer; }
.navbar__account { position: relative; flex: none; }
.navbar__account .navbar__admin-btn { cursor: pointer; font: inherit; }
.navbar__account-chevron { margin-left: 2px; font-size: .62rem !important; transition: transform .18s ease; }
.navbar__admin-btn[aria-expanded="true"] .navbar__account-chevron { transform: rotate(180deg); }
.navbar__account-menu { position: absolute; z-index: 80; top: calc(100% + 10px); right: 0; width: 238px; padding: 7px; border: 1px solid #30465a; background: #101c2b; box-shadow: 0 16px 42px rgba(0, 0, 0, .42); }
.navbar__account-menu[hidden], .navbar__mobile-account-menu[hidden] { display: none !important; }
.navbar__account-menu-user { display: grid; gap: 4px; padding: 11px 10px 12px; border-bottom: 1px solid #293d50; }
.navbar__account-menu-user strong { overflow: hidden; color: #eef4f6; font-size: .8rem; text-overflow: ellipsis; white-space: nowrap; }
.navbar__account-menu-user span { overflow: hidden; color: #8da3b2; font-size: .69rem; text-overflow: ellipsis; white-space: nowrap; }
.navbar__account-menu > a, .navbar__account-menu > button { display: flex; width: 100%; align-items: center; gap: 10px; padding: 11px 10px; border: 0; background: transparent; color: #d6e1e7; font: 500 .8rem 'IBM Plex Sans', sans-serif; text-align: left; text-decoration: none; cursor: pointer; }
.navbar__account-menu > a:hover, .navbar__account-menu > button:hover { background: #192b3c; color: #00d9ff; }
.navbar__account-menu > a i, .navbar__account-menu > button i { width: 16px; color: #52cde1; text-align: center; }
.navbar__mobile-account-toggle { border: 0; background: transparent; font: inherit; cursor: pointer; }
.navbar__mobile-account-menu { display: grid; gap: 2px; padding: 2px 12px 8px; }
.navbar__mobile-account-menu .navbar__mobile-link { font-size: 1rem; }
.navbar__mobile-account-menu button.navbar__mobile-link { border: 0; background: transparent; font: inherit; cursor: pointer; }
.account-orders { min-height: 62vh; padding-block: clamp(44px, 8vh, 90px); }
.account-orders__eyebrow { color: #00d9ff; font: 500 .68rem 'IBM Plex Mono', monospace; letter-spacing: .12em; }
.account-orders__eyebrow span { padding-inline: 5px; color: #607b8e; }
.account-orders__header { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 14px 0 34px; padding-bottom: 25px; border-bottom: 1px solid #293d50; }
.account-orders__header h1 { color: #f3f5f2; font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 600; letter-spacing: -.05em; }
.account-orders__header p { margin-top: 7px; color: #9db0c0; font-size: .9rem; }
.account-orders__back { display: inline-flex; align-items: center; gap: 8px; color: #b1c5d0; font-size: .8rem; text-decoration: none; }
.account-orders__back:hover { color: #00d9ff; }
.account-orders__empty { display: grid; justify-items: center; padding: clamp(36px, 7vw, 72px) 20px; border: 1px solid #293d50; background: #101c2b; text-align: center; }
.account-orders__icon { display: grid; width: 54px; height: 54px; place-items: center; border: 1px solid #31596b; background: #153041; color: #00d9ff; font-size: 1.15rem; }
.account-orders__empty h2 { margin-top: 18px; color: #edf3f5; font-size: 1.25rem; font-weight: 600; letter-spacing: -.025em; }
.account-orders__empty p { max-width: 480px; margin-top: 8px; color: #91a7b6; font-size: .84rem; line-height: 1.6; }
.account-orders__catalog { display: inline-flex; align-items: center; gap: 10px; margin-top: 23px; padding: 11px 15px; border: 1px solid #00d9ff; background: #00d9ff; color: #08111c; font-size: .8rem; font-weight: 600; text-decoration: none; }
.account-orders__catalog:hover { background: #70eaff; }
@media (max-width: 640px) { .account-orders__header { align-items: flex-start; flex-direction: column; gap: 18px; } }
@media (max-width: 480px) { .navbar__cart { width: 36px; height: 38px; } }
@media (max-width: 640px) { .account-page { min-height: 62vh; padding-block: 36px; } .account-dialog { max-height: 94vh; } .account-dialog .account-card { padding: 28px 23px; } }
@media (prefers-reduced-motion: reduce) { .account-google-button, .account-dialog[open] { transition: none; animation: none; } }
