.gr-tools .gr-account-link { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 44px; color: #eee; }
.account-page { color:#17212b; font:400 15px/1.6 "DM Sans",sans-serif; --account-line:#dfe4e8; --account-link:#145b94; caret-color:#145b94; }
.account-page * { box-sizing:border-box; }
.account-page a { color:var(--account-link); text-decoration:none; }
.account-page a:hover { text-decoration:underline; text-underline-offset:3px; }
.account-page h1 { margin:20px 0 8px; font:750 clamp(28px,3vw,36px)/1.18 "DM Sans",sans-serif; color:#111; letter-spacing:-.025em; }
.account-page h2 { margin:0 0 12px; font:700 21px/1.3 "DM Sans",sans-serif; color:#17212b; }
.account-page h3 { margin:12px 0 8px; font:700 20px/1.3 "DM Sans",sans-serif; }
.account-page p { margin:0 0 16px; }
.account-page .account-intro { color:#53616c; font-size:16px; margin:0 0 32px; }
.account-auth { width:min(100% - 32px,480px); margin:44px auto 80px; min-height:540px; }
.account-back { display:inline-block; margin-bottom:8px; min-height:32px; font-size:14px; }
.account-login-form { margin-top:32px; }
.account-login-form>p { color:#53616c; }
.account-page form { margin:0; }
.account-page label { display:block; margin:0 0 8px; font-weight:600; }
.account-page input { display:block; width:100%; height:48px; margin:0 0 16px; padding:10px 12px; border:1px solid #aebac4; border-radius:6px; background:#fff; font:400 16px/1.5 "DM Sans",sans-serif; color:#17212b; }
.account-page input::placeholder { color:#66727c; }
.account-page input[aria-invalid] { border-color:#b12a2a; }
.account-page .account-primary { display:flex; align-items:center; justify-content:space-between; gap:16px; width:100%; min-height:48px; padding:12px 20px; background:#15803d; color:#fff; border:0; border-radius:6px; font:700 15px/1.4 "DM Sans",sans-serif; text-decoration:none; cursor:pointer; }
.account-page .account-primary:hover { background:#116b33; text-decoration:none; }
.account-page .account-fineprint { margin:16px 0 0; color:#53616c; font-size:13px; line-height:1.6; }
.account-auth-help { margin-top:32px; padding-top:24px; border-top:1px solid var(--account-line); }
.account-auth-help p { margin:8px 0; color:#53616c; font-size:14px; }
.account-error { color:#a51e28; font-size:14px; margin:8px 0 16px; }
.account-code-notice { background:#f1f5f8; padding:16px; margin:24px 0; border-radius:6px; font-size:14px; }
.account-code-form #account-code { height:60px; font-size:28px; letter-spacing:12px; font-variant-numeric:tabular-nums; }
.account-code-form .account-fineprint { margin:0 0 20px; }
.account-resend { display:flex; flex-wrap:wrap; align-items:center; gap:4px 8px; padding:20px 0; font-size:14px; }
.account-resend button { border:0; background:none; color:var(--account-link); padding:8px 0; cursor:pointer; font:600 14px/1.4 "DM Sans",sans-serif; text-decoration:underline; text-underline-offset:3px; }
.account-dashboard { max-width:1240px; width:calc(100% - 48px); margin:24px auto 80px; min-height:550px; }
.account-breadcrumb { display:flex; gap:12px; font-size:13px; color:#53616c; margin-bottom:36px; }
.account-layout { display:grid; grid-template-columns:224px minmax(0,1fr); gap:48px; }
.account-sidebar { padding-top:8px; }
.account-sidebar .account-sidebar__title { font-weight:700; margin:0 0 16px; font-size:18px; }
.account-sidebar nav { display:grid; gap:4px; }
.account-sidebar nav a { display:block; padding:12px; color:#37434d; font-size:14px; border-radius:6px; }
.account-sidebar nav a[aria-current] { background:#f1f5f8; color:#145b94; font-weight:700; }
.account-sidebar form { border-top:1px solid var(--account-line); margin-top:20px; padding-top:12px; }
.account-sidebar button { border:0; background:none; color:#53616c; min-height:44px; padding:8px 12px; font:500 14px/1.5 "DM Sans",sans-serif; cursor:pointer; }
.account-main { min-width:0; }
.account-main h1 { margin-top:0; }
.account-shortcuts { display:flex; flex-wrap:wrap; gap:12px 24px; margin:0 0 36px; }
.account-shortcuts a { display:flex; gap:24px; align-items:center; font-weight:600; min-height:44px; }
.account-orders { margin-top:28px; }
.account-order { padding:20px 0; border-top:1px solid var(--account-line); }
.account-order__header { display:flex; flex-wrap:wrap; justify-content:space-between; gap:12px; margin-bottom:16px; }
.account-order__header>div { display:flex; flex-wrap:wrap; gap:16px; }
.account-order__header span { color:#53616c; font-size:14px; }
.account-order ul { margin:0; padding:0; list-style:none; float:none; }
.account-order li { display:flex; justify-content:space-between; gap:24px; margin:0 0 8px; font-size:14px; }
.account-order li strong { white-space:nowrap; }
.account-order__footer { display:flex; flex-wrap:wrap; justify-content:space-between; gap:12px; margin-top:16px; font-size:13px; color:#53616c; }
.account-empty { padding:40px 0; border-top:1px solid var(--account-line); }
.account-empty>svg { color:#53616c; }
.account-empty p { max-width:60ch; color:#53616c; }
.account-empty .account-primary { max-width:240px; }
.account-details { margin:24px 0; }
.account-details dl { margin:24px 0; }
.account-details dl>div { display:grid; grid-template-columns:180px minmax(0,1fr); gap:20px; padding:16px 0; border-bottom:1px solid var(--account-line); }
.account-details dt { font-weight:500; color:#53616c; }
.account-details dd { margin:0; overflow-wrap:anywhere; }
.account-help { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:20px; background:#f1f5f8; padding:24px; border-radius:8px; margin-top:36px; }
.account-help h2 { font-size:18px; margin-bottom:6px; }
.account-help p { margin:0; max-width:55ch; font-size:14px; color:#53616c; }
.account-secondary { display:inline-flex; align-items:center; justify-content:center; gap:16px; min-height:44px; padding:10px 16px; border:1px solid #bdcbd6; border-radius:6px; font-weight:600; }
.account-page :focus-visible,.gr-account-link:focus-visible { outline:2px solid #145b94; outline-offset:3px; }
.account-page ::selection { background:#cce4f5; color:#17212b; }
@media(max-width:760px) {
 .account-dashboard { width:calc(100% - 32px); margin-top:20px; }
 .account-layout { display:block; }
 .account-breadcrumb { margin-bottom:24px; }
 .account-sidebar { margin-bottom:28px; }
 .account-sidebar nav { display:flex; gap:6px; overflow-x:auto; padding-bottom:8px; }
 .account-sidebar nav a { white-space:nowrap; border:1px solid var(--account-line); }
 .account-sidebar .account-sidebar__title { display:none; }
 .account-sidebar form { margin-top:4px; padding:0; border:0; }
 .account-sidebar button { padding-left:0; }
 .account-auth { margin-top:28px; min-height:480px; }
 .account-help { padding:20px; }
 .account-details dl>div { grid-template-columns:1fr; gap:4px; }
 .account-order__header>div { gap:8px; }
 .gr-tools .gr-account-link { width:28px; }
}

.gr-customer-menu { position:relative; }
.gr-customer-menu summary { list-style:none; cursor:pointer; }
.gr-customer-menu summary::-webkit-details-marker { display:none; }
.gr-customer-menu__panel { position:absolute; z-index:110; top:calc(100% + 12px); right:0; width:260px; padding:20px; background:#fff; border:1px solid #dfe4e8; border-radius:8px; box-shadow:0 12px 32px -16px rgba(0,0,0,.3); color:#17212b; font:400 14px/1.5 "DM Sans",sans-serif; }
.gr-customer-menu__panel strong { font-size:20px; display:block; margin-bottom:12px; }
.gr-customer-menu__panel p { margin:0 0 12px; color:#53616c; }
.gr-customer-menu__panel a,.gr-customer-menu__panel button { display:block; width:100%; padding:10px 0; min-height:40px; color:#145b94; text-align:left; background:none; border:0; font:500 14px/1.5 "DM Sans",sans-serif; cursor:pointer; text-decoration:none; }
.gr-customer-menu__panel a:hover,.gr-customer-menu__panel button:hover { text-decoration:underline; }
.gr-customer-menu__panel form { margin:0; }
@media (max-width:480px) {
 .header .gr-logo img { width:160px; max-width:100%; }
 .header .gr-compare-link,.header .gr-cart { width:36px; }
}

.account-order__item{min-width:0;display:flex;flex-direction:column;gap:4px}.account-order__item>a{display:inline-flex;align-items:center;align-self:flex-start;min-height:44px;color:var(--account-link);text-decoration:underline;text-underline-offset:4px;font-size:13px}

/* Shared account navigation: separate account tools from general help. */
.account-nav-icon { flex:0 0 18px; width:18px; height:18px; }
.account-sidebar__group { display:grid; gap:4px; }
.account-sidebar__group--help { margin-top:12px; padding-top:12px; border-top:1px solid var(--account-line); }
.account-sidebar nav a, .account-sidebar button { display:flex; align-items:center; gap:12px; min-height:44px; }
.account-sidebar nav a:hover { background:#f6f8fa; text-decoration:none; }
.account-sidebar nav a[aria-current] { background:#f1f5f8; }
.gr-customer-menu__panel a, .gr-customer-menu__panel button { display:flex; align-items:center; gap:12px; min-height:44px; }
.gr-customer-menu__panel a:hover, .gr-customer-menu__panel button:hover { color:#0e4b7c; }
.gr-customer-menu__panel :focus-visible { outline:2px solid #145b94; outline-offset:2px; }
.gr-customer-menu__help, .gr-customer-menu__panel form { border-top:1px solid #dfe4e8; margin-top:8px; padding-top:8px; }
@media (max-width:760px) {
 .account-sidebar nav { display:grid; overflow:visible; padding-bottom:0; }
 .account-sidebar__group { display:flex; overflow-x:auto; padding-bottom:8px; }
 .account-sidebar__group--help { margin-top:4px; padding-top:12px; }
 .account-sidebar nav a { flex:0 0 auto; }
}
.header .gr-customer-menu__panel form { position:static; width:100%; height:auto; }
.header .gr-customer-menu__panel form button { position:static; display:flex; width:100%; height:auto; overflow:visible; }
.header .gr-customer-menu__panel form { max-width:none; }
.header .gr-customer-menu__panel form button { background-image:none; text-indent:0; }
