/* Header avatar beside «Mi cuenta» (owner 0103). Rendered by
   customer-portal-auth.js only for an authenticated session; the link keeps
   its accessible label, so the avatar itself is decorative. */
.catalog-shell-account-avatar {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 28px;
  height: 28px;
  overflow: hidden;
  border-radius: 50%;
  background: #e1e6ea;
  color: #344054;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}

.catalog-shell-account-avatar[hidden],
.catalog-shell-account svg[hidden] {
  display: none;
}

.catalog-shell-account-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}

.catalog-shell-account-avatar.customer-account-avatar-has-image img {
  opacity: 1;
}

@media (max-width: 760px) {
  .catalog-shell-account-avatar {
    width: 26px;
    height: 26px;
    font-size: 10px;
  }
}

/* Visible add-to-cart confirmation shared by the storefront pages. */
.storefront-cart-feedback {
  position: fixed;
  left: 50%;
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 60;
  width: max-content;
  max-width: min(420px, calc(100vw - 32px));
  margin: 0;
  padding: 10px 14px;
  transform: translateX(-50%);
  border-radius: 10px;
  border-left: 4px solid #1f7a4d;
  background: #ffffff;
  color: #1d2939;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.18);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.storefront-cart-feedback[data-tone="error"] {
  border-left-color: #b42318;
}

.storefront-cart-feedback[hidden] {
  display: none;
}
