/* Menu konta w nagłówku 2026 (makieta logowanie-05). Desktop: panel pod przyciskiem; telefon: panel od dołu. */

.amk-acc { position: relative; font-family: Rubik, Arial, Helvetica, sans-serif; --amk-ink: #1a1a1a; --amk-text: #404040; --amk-muted: #6b6b6b; --amk-line: #e6e6e3; --amk-red: #c8102e; }
.amk-acc *, .amk-acc *::before, .amk-acc *::after { box-sizing: border-box; }
.amk-acc .screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.amk-acc__btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 6px 18px 6px 6px; border-radius: 999px; border: 1px solid #e3e3df; background: #fff; color: var(--amk-ink); font: inherit; cursor: pointer; text-align: left; }
.amk-acc__btn:hover, .amk-acc__btn[aria-expanded="true"] { border-color: var(--amk-ink); }
.amk-acc__btn:focus-visible, .amk-acc a:focus-visible, .amk-acc button:focus-visible, .amk-acc summary:focus-visible { outline: 3px solid #1a5fd0; outline-offset: 2px; }
.amk-acc__ic { width: 40px; height: 40px; border-radius: 50%; background: #f1f1ee; display: grid; place-items: center; }
.amk-acc__av { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--amk-ink); color: #fff; display: grid; place-items: center; font-size: 16px; font-weight: 700; }
.amk-acc__av--lg { width: 48px; height: 48px; font-size: 19px; }
.amk-acc__lbl strong { display: block; font-size: 15px; line-height: 18px; font-weight: 700; }
.amk-acc__lbl small { display: block; font-size: 12.5px; line-height: 15px; color: var(--amk-muted); }

.amk-acc__panel { position: absolute; top: calc(100% + 10px); right: 0; z-index: 10050; width: 320px; max-height: calc(100vh - 140px); overflow: auto; padding: 18px; border-radius: 18px; background: #fff; border: 1px solid var(--amk-line); box-shadow: 0 16px 40px rgba(0,0,0,.14); text-align: left; color: var(--amk-text); }
.amk-acc__panel[hidden] { display: none; }
.amk-acc__grip, .amk-acc__bar { display: none; }
.amk-acc__q { margin: 0 0 10px !important; font-size: 16px; font-weight: 700; color: var(--amk-ink); }
.amk-acc__cta { display: flex; align-items: center; justify-content: center; min-height: 48px; margin-bottom: 10px; border-radius: 12px; border: 2px solid transparent; font-size: 16px; font-weight: 700; text-decoration: none !important; }
.amk-acc__cta--red { background: var(--amk-red); color: #fff !important; }
.amk-acc__cta--red:hover { background: #a50b22; }
.amk-acc__cta--line { border-color: var(--amk-ink); color: var(--amk-ink) !important; background: #fff; }
.amk-acc__perk { display: flex; align-items: center; gap: 10px; min-height: 48px; margin: 4px 0 8px; padding: 8px 4px; border-top: 1px solid var(--amk-line); font-size: 15px; font-weight: 600; color: var(--amk-ink) !important; text-decoration: none !important; }
.amk-acc__help { padding: 14px; border-radius: 14px; background: #f5f5f3; }
.amk-acc__helph { display: flex; align-items: center; gap: 8px; margin: 0 0 6px !important; font-size: 15px; font-weight: 700; color: var(--amk-ink); }
.amk-acc__helpt { margin: 0 0 10px !important; font-size: 13.5px; line-height: 19px; }
.amk-acc__tel { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 48px; margin-bottom: 8px; padding: 8px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--amk-line); color: var(--amk-ink) !important; text-decoration: none !important; font-size: 13.5px; }
.amk-acc__tel strong { font-size: 16px; white-space: nowrap; }
.amk-acc__hours { margin: 4px 0 0 !important; font-size: 13px; color: var(--amk-muted); }
.amk-acc__hours a { color: var(--amk-ink) !important; text-decoration: underline !important; }

.amk-acc__who { display: flex; gap: 12px; align-items: center; padding-bottom: 14px; margin-bottom: 6px; border-bottom: 1px solid var(--amk-line); }
.amk-acc__who strong { display: block; font-size: 16px; color: var(--amk-ink); }
.amk-acc__who small { display: block; font-size: 13.5px; font-weight: 600; color: #1b7a3d; }
.amk-acc__list { list-style: none; margin: 0 !important; padding: 0 !important; }
.amk-acc__list li { margin: 0 !important; padding: 0 !important; }
.amk-acc__list li::before { content: none !important; }
.amk-acc__list a, .amk-acc__more summary, .amk-acc__out { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 6px 8px; border-radius: 10px; color: var(--amk-ink) !important; font-size: 15px; font-weight: 500; text-decoration: none !important; cursor: pointer; }
.amk-acc__list a:hover, .amk-acc__more summary:hover, .amk-acc__out:hover { background: #f5f5f3; }
.amk-acc__list span, .amk-acc__more summary span { flex: 1; }
.amk-acc__list em { font-style: normal; padding: 2px 8px; border-radius: 10px; background: #f1f1ee; font-size: 12px; font-weight: 600; color: var(--amk-text); white-space: nowrap; }
.amk-acc__more summary { list-style: none; }
.amk-acc__more summary::-webkit-details-marker { display: none; }
.amk-acc__more .amk-acc__help { margin: 6px 0; }
.amk-acc__more .amk-acc__helph { display: none; }
.amk-acc__out { margin-top: 6px; border-top: 1px solid var(--amk-line); border-radius: 0; padding-top: 12px; }
.amk-acc .amk-ico { flex: none; color: var(--amk-text); }

.amk-acc__scrim { position: fixed; inset: 0; z-index: 10040; background: rgba(0,0,0,.45); }

/* telefon: przycisk bez podpisu, panel wysuwany od dołu */
@media (max-width: 860px) {
  .amk-acc__btn { min-height: 44px; padding: 2px; border: 0; background: none; }
  .amk-acc__lbl { display: none; }
  .amk-acc__panel { position: fixed; top: auto; left: 0; right: 0; bottom: 0; width: auto; max-height: 88vh; padding: 10px 16px calc(18px + env(safe-area-inset-bottom)); border-radius: 22px 22px 0 0; border: 0; box-shadow: 0 -10px 40px rgba(0,0,0,.2); }
  .amk-acc__grip { display: block; width: 44px; height: 5px; margin: 0 auto 10px; border-radius: 3px; background: #d6d6d2; }
  .amk-acc__bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
  .amk-acc__bar strong { font-size: 18px; color: var(--amk-ink); }
  .amk-acc__x { width: 44px; height: 44px; border-radius: 50%; border: 0; background: #f1f1ee; color: var(--amk-ink); display: grid; place-items: center; cursor: pointer; }
  .amk-acc__q { display: none; }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 860px) {
  .amk-acc__panel:not([hidden]) { animation: amk-acc-up .22s ease-out; }
  @keyframes amk-acc-up { from { transform: translateY(24px); opacity: .6; } to { transform: none; opacity: 1; } }
}

/* Kolory pozycji (uwagi Seby): Kokpit niebieski, AmiXcoin zielony, Wyloguj czerwony */
.amk-acc__li--home .amk-ico { color: #1d4fb8; }
.amk-acc__li--coin .amk-ico { color: #1b7a3d; }
.amk-acc__li--coin em { background: #e6f4ea !important; color: #1b7a3d !important; box-shadow: inset 0 0 0 1px #9fd3ae; }
.amk-acc__out, .amk-acc__out .amk-ico { color: #c8102e !important; font-weight: 600; }
.amk-acc__li--home a { color: #163d8f !important; }

/* Nagłówek sklepu ma white-space: nowrap - w panelu tekst ma się zawijać (numery zostają w jednej linii) */
.amk-acc__panel { white-space: normal; }
.amk-acc__tel span { flex: 1 1 auto; min-width: 0; }
.amk-acc__tel strong { flex: none; white-space: nowrap; }
