/* ========== ACCOUNT PAGE ========== */

/* Prevent Ecwid layout feedback loop: keep the storefront width stable
   (shrink-to-fit made the widget oscillate around the 768px breakpoint). */
.account-body .section-inner,
.account-body .checkout-main,
.account-body #account-widget-container {
  width: 100%;
  min-width: 0;
}

.account-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
  padding: 14px 20px;
  background: var(--color-bg-alt, #f9f9f9);
  border: 1px solid var(--color-border, #eee);
  border-bottom: 0;
  font-size: 14px;
}

.account-status-hello {
  font-family: var(--font-heading);
  font-size: 15px;
  color: var(--color-text);
}

.account-status-hello strong { font-weight: 600; }

.account-status-email {
  color: var(--color-text-light);
  font-size: 13px;
}

.account-logout {
  margin-left: auto;
  border: 0;
  background: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--color-text-light);
  text-decoration: underline;
  transition: color 0.2s;
}

.account-logout:hover { color: var(--color-accent); }

/* Hide "Preferiti" and "Carrello" entries inside the Ecwid account widget
   sidebar. Scoped to #account-widget-container only: the global cart and
   every other Ecwid widget on the site are NOT affected. Everything else
   in the widget (account info, Ordini section, orders list, Esci) stays
   fully native and functional. */
#account-widget-container .ec-cart-step--favorites,
#account-widget-container .ec-cart-step--bag {
  display: none !important;
}
