/* Shared empty-state structure. Theme remains explicit: customer dark, Crew white. */
.empty-state-card {
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
  min-height: 250px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 56px 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top-color: rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(20, 20, 25, 0.96) 0%, rgba(12, 12, 16, 0.985) 100%);
  color: #f5f5f7;
  text-align: center;
}

.empty-state-card[hidden] { display: none !important; }
.empty-state-card--compact { min-height: 0; padding: 28px 20px; }
.empty-state-card--compact .empty-state-card__icon { margin-bottom: 12px; }
.empty-state-card--compact .empty-state-card__action { margin-top: 14px; }
.empty-state-card.tp-wishlist-empty { width: 100%; max-width: none; }
.empty-state-card.ah-bell-empty { margin: 6px 0; padding: 22px 16px; }
.empty-state-card.tp-drawer-empty { padding: 28px 20px; }
.empty-state-card.site-content-empty-state { margin: 16px 0; }

.empty-state-card__icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.62);
}

.empty-state-card__icon svg { width: 25px; height: 25px; }

.empty-state-card__eyebrow {
  color: rgba(255, 255, 255, 0.62);
  font: 500 11px/1.4 var(--ah-mono, "SFMono-Regular", Consolas, monospace);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.empty-state-card__title {
  max-width: 720px;
  margin: 6px 0 0;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  text-wrap: balance;
}

.empty-state-card__description {
  max-width: 420px;
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.6;
}

.empty-state-card__action {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #f5f5f7;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.empty-state-card__action:hover {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  transform: translateY(-1px);
}

.empty-state-card__action:focus-visible {
  outline: 2px solid #f5f5f7;
  outline-offset: 3px;
}

.empty-state-card--crew {
  border-color: rgba(0, 0, 0, 0.08);
  border-top-color: rgba(0, 0, 0, 0.14);
  background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
  color: #1d1d1f;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.empty-state-card--crew .empty-state-card__icon {
  border-color: rgba(0, 0, 0, 0.08);
  background: #f5f5f7;
  color: #68686e;
}

.empty-state-card--crew .empty-state-card__eyebrow { color: #68686e; }
.empty-state-card--crew .empty-state-card__title { color: #1d1d1f; }
.empty-state-card--crew .empty-state-card__description { color: #55555c; }
.empty-state-card--crew .empty-state-card__action { border-color: rgba(0, 0, 0, 0.14); background: #fff; color: #1d1d1f; }
.empty-state-card--crew .empty-state-card__action:hover { border-color: rgba(0, 0, 0, 0.24); background: #f5f5f7; }
.empty-state-card--crew .empty-state-card__action:focus-visible { outline-color: #1d1d1f; }

@media (max-width: 600px) {
  .empty-state-card { min-height: 220px; padding: 40px 20px; }
  .empty-state-card__title { font-size: 17px; }
  .empty-state-card__description { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .empty-state-card__action { transition: none; }
}
