/* SkyBuds header account icon + panel (skybuds-account.js). New file (not
   part of the vendored theme); matches .skybuds-header__cart in
   sections/skybuds-header.liquid. `.sbac-` = account. */

.skybuds-header__actions { display: flex; align-items: center; gap: 8px; position: relative; flex-shrink: 0; }
.skybuds-header__account {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: none; border-radius: 12px; cursor: pointer;
  background: #f5f5f5; color: var(--skybuds-black, #1a1a1a); transition: all 0.3s ease;
}
.skybuds-header__account:hover { background: #eee; }
.skybuds-header__account.is-signed-in { background: #fdeee6; color: var(--skybuds-red, #FF6B4A); }
.skybuds-header__account-dot {
  position: absolute; top: -3px; right: -3px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--skybuds-green, #7DD87D); border: 2px solid #fff;
}

.sbac-pop {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 1002; width: min(320px, calc(100vw - 32px));
  background: #fff; border-radius: 16px; box-shadow: 0 8px 40px rgba(0, 0, 0, .18); padding: 16px;
  font-family: var(--skybuds-font, 'Sora', sans-serif); color: var(--skybuds-text, #333); text-align: left;
}
.sbac-head { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.sbac-avatar {
  width: 40px; height: 40px; border-radius: 50%; flex: 0 0 auto; display: grid; place-items: center;
  background: #fdeee6; color: var(--skybuds-red, #FF6B4A);
}
.sbac-title { display: block; font-size: 14px; font-weight: 800; color: var(--skybuds-black, #1a1a1a); }
.sbac-phone { font-size: 14px; font-weight: 700; }
.sbac-email { font-size: 12px; color: var(--skybuds-text-light, #666); word-break: break-all; }
.sbac-perk {
  font-size: 13px; font-weight: 600; line-height: 1.45; padding: 10px 12px; border-radius: 12px;
  background: #eaf6ee; color: #1f5c2e; margin-bottom: 12px;
}
.sbac-perk--off { background: #f5f5f5; color: var(--skybuds-text-light, #666); }
.sbac-perk code { font-family: inherit; font-weight: 800; letter-spacing: 1px; }
.sbac-tick { color: var(--skybuds-green, #7DD87D); font-weight: 800; }
.sbac-out {
  width: 100%; border: 2px solid #e6e6e6; background: #fff; border-radius: 12px; cursor: pointer;
  font-family: inherit; font-weight: 700; font-size: 14px; min-height: 42px; color: var(--skybuds-black, #1a1a1a);
}
.sbac-out:hover { border-color: var(--skybuds-red, #FF6B4A); color: var(--skybuds-red, #FF6B4A); }
.sbac-out[disabled] { opacity: .6; cursor: wait; }
